aboutsummaryrefslogtreecommitdiffstats
path: root/themes
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--themes/default/local_head.tpl12
-rw-r--r--themes/default/template/header.tpl14
-rw-r--r--themes/default/themeconf.inc.php1
3 files changed, 14 insertions, 13 deletions
diff --git a/themes/default/local_head.tpl b/themes/default/local_head.tpl
new file mode 100644
index 000000000..80241b851
--- /dev/null
+++ b/themes/default/local_head.tpl
@@ -0,0 +1,12 @@
+{* the next css is used to fix khtml (Konqueror/Safari) issue the "text/nonsense" prevents gecko based browsers to load it *}
+<link rel="stylesheet" type="text/nonsense" href="{$ROOT_URL}themes/default/fix-khtml.css">
+<!--[if lt IE 7]>
+ <link rel="stylesheet" type="text/css" href="{$ROOT_URL}themes/default/fix-ie5-ie6.css">
+<![endif]-->
+<!--[if IE 7]>
+ <link rel="stylesheet" type="text/css" href="{$ROOT_URL}themes/default/fix-ie7.css">
+<![endif]-->
+<!--[if !IE]> <-->
+ <link rel="stylesheet" href="{$ROOT_URL}themes/default/not-ie.css" type="text/css">
+<!--> <![endif]-->
+<link rel="stylesheet" type="text/css" media="print" href="{$ROOT_URL}themes/default/print.css">
diff --git a/themes/default/template/header.tpl b/themes/default/template/header.tpl
index 434895819..807196312 100644
--- a/themes/default/template/header.tpl
+++ b/themes/default/template/header.tpl
@@ -36,18 +36,6 @@
{/if}
{if isset($theme.local_head)}{include file=$theme.local_head}{/if}
{/foreach}
-{* the next css is used to fix khtml (Konqueror/Safari) issue the "text/nonsense" prevents gecko based browsers to load it *}
-<link rel="stylesheet" type="text/nonsense" href="{$ROOT_URL}themes/default/fix-khtml.css">
-<!--[if lt IE 7]>
- <link rel="stylesheet" type="text/css" href="{$ROOT_URL}themes/default/fix-ie5-ie6.css">
-<![endif]-->
-<!--[if IE 7]>
- <link rel="stylesheet" type="text/css" href="{$ROOT_URL}themes/default/fix-ie7.css">
-<![endif]-->
-<!--[if !IE]> <-->
- <link rel="stylesheet" href="{$ROOT_URL}themes/default/not-ie.css" type="text/css">
-<!--> <![endif]-->
-<link rel="stylesheet" type="text/css" media="print" href="{$ROOT_URL}themes/default/print.css">
{if isset($U_PREFETCH) }<link rel="prefetch" href="{$U_PREFETCH}">{/if}
@@ -82,6 +70,6 @@
<div class="header_notes">
{foreach from=$header_notes item=elt}
<p>{$elt}</p>
- {/foreach}
+ {/foreach}
</div>
{/if}
diff --git a/themes/default/themeconf.inc.php b/themes/default/themeconf.inc.php
index f5ac7fa32..50ab59819 100644
--- a/themes/default/themeconf.inc.php
+++ b/themes/default/themeconf.inc.php
@@ -3,5 +3,6 @@ $themeconf = array(
'name' => 'default',
'icon_dir' => 'themes/default/icon',
'mime_icon_dir' => 'themes/default/icon/mimetypes/',
+ 'local_head' => 'local_head.tpl',
);
?>