aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default/template
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2010-04-29 12:45:27 +0000
committerpatdenice <patdenice@piwigo.org>2010-04-29 12:45:27 +0000
commita2ccb9a5c9394d83876fb76a97e2dc0b8557737b (patch)
treed62ddeb776512ebaa059a5d7f9d46320ad1c54e5 /admin/themes/default/template
parente7487082c32de87efd756bf05ae8539d38cda373 (diff)
feature 1502: Add $themeconf['load_parent_css'] parameter
git-svn-id: http://piwigo.org/svn/trunk@5991 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/themes/default/template')
-rw-r--r--admin/themes/default/template/header.tpl4
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*}