diff options
Diffstat (limited to 'admin/themes/default/template')
-rw-r--r-- | admin/themes/default/template/header.tpl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/admin/themes/default/template/header.tpl b/admin/themes/default/template/header.tpl index 61eb3602b..7bef274d9 100644 --- a/admin/themes/default/template/header.tpl +++ b/admin/themes/default/template/header.tpl @@ -14,8 +14,10 @@ <link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}{$themeconf.icon_dir}/favicon.ico"> {foreach from=$themes item=theme} -{if isset($theme.local_head)}{include file=$theme.local_head}{/if} +{if $theme.load_css} <link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/themes/{$theme.id}/theme.css"> +{/if} +{if isset($theme.local_head)}{include file=$theme.local_head}{/if} {/foreach} {known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js" now=1} {*jQuery is always available by default*} |