summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2013-02-04 01:04:40 +0100
committerFlorian Pritz <bluewind@xinu.at>2013-02-04 01:05:20 +0100
commit3a875bcaaa4986e113438bd34117b3901572b09e (patch)
tree1711a1f2d505e5608749eab5e2ee6f34db6a9fc0 /application
parent4539bd82545c2a521cfc3943beea98b90810f7f4 (diff)
Add files to add localized html header and css
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application')
-rw-r--r--application/views/header.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/application/views/header.php b/application/views/header.php
index c969f06e1..2d4e021c5 100644
--- a/application/views/header.php
+++ b/application/views/header.php
@@ -16,9 +16,18 @@ if (is_cli_client() && !isset($force_full_html)) {
<link href="<?php echo link_with_mtime("/data/css/bootstrap-2.1.1.min.css"); ?>" rel="stylesheet">
<link href="<?php echo link_with_mtime("/data/css/bootstrap-responsive-2.1.1.min.css"); ?>" rel="stylesheet">
<link href="<?php echo link_with_mtime("/data/css/style.css"); ?>" rel="stylesheet">
+ <?php
+ if (file_exists(FCPATH."data/local/style.css")) {
+ echo '<link href="'.link_with_mtime("/data/local/style.css").'" rel="stylesheet">';
+ }
+?>
+
</head>
<body>
+<?php if (file_exists(FCPATH."data/local/header.inc.php")) {
+ include FCPATH."data/local/header.inc.php";
+}?>
<div class="navbar navbar-fixed-top navbar-inverse">
<div class="navbar-inner">
<div class="container">