diff options
Diffstat (limited to 'themes')
-rw-r--r-- | themes/default/local_head.tpl | 12 | ||||
-rw-r--r-- | themes/default/template/header.tpl | 14 | ||||
-rw-r--r-- | themes/default/themeconf.inc.php | 1 |
3 files changed, 13 insertions, 14 deletions
diff --git a/themes/default/local_head.tpl b/themes/default/local_head.tpl deleted file mode 100644 index 908a880ae..000000000 --- a/themes/default/local_head.tpl +++ /dev/null @@ -1,12 +0,0 @@ -{* 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 gt IE 6]> - <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 c0dbf9272..604c228e9 100644 --- a/themes/default/template/header.tpl +++ b/themes/default/template/header.tpl @@ -34,6 +34,18 @@ <link rel="stylesheet" type="text/css" href="{$ROOT_URL}themes/{$theme.id}/theme.css"> {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} @@ -68,6 +80,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 50ab59819..f5ac7fa32 100644 --- a/themes/default/themeconf.inc.php +++ b/themes/default/themeconf.inc.php @@ -3,6 +3,5 @@ $themeconf = array( 'name' => 'default', 'icon_dir' => 'themes/default/icon', 'mime_icon_dir' => 'themes/default/icon/mimetypes/', - 'local_head' => 'local_head.tpl', ); ?> |