diff options
author | patdenice <patdenice@piwigo.org> | 2010-04-29 12:45:27 +0000 |
---|---|---|
committer | patdenice <patdenice@piwigo.org> | 2010-04-29 12:45:27 +0000 |
commit | a2ccb9a5c9394d83876fb76a97e2dc0b8557737b (patch) | |
tree | d62ddeb776512ebaa059a5d7f9d46320ad1c54e5 /themes | |
parent | e7487082c32de87efd756bf05ae8539d38cda373 (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 'themes')
-rw-r--r-- | themes/default/template/header.tpl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/themes/default/template/header.tpl b/themes/default/template/header.tpl index 604c228e9..434895819 100644 --- a/themes/default/template/header.tpl +++ b/themes/default/template/header.tpl @@ -31,7 +31,9 @@ {if isset($U_UP) }<link rel="up" title="{'Thumbnails'|@translate}" href="{$U_UP}" >{/if} {foreach from=$themes item=theme} +{if $theme.load_css} <link rel="stylesheet" type="text/css" href="{$ROOT_URL}themes/{$theme.id}/theme.css"> +{/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 *} |