aboutsummaryrefslogtreecommitdiffstats
path: root/themes
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 /themes
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 'themes')
-rw-r--r--themes/default/template/header.tpl2
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 *}