From 335cbc9540bbc44d8184662d8bd63f933f876139 Mon Sep 17 00:00:00 2001 From: rvelices Date: Mon, 19 Apr 2010 20:53:02 +0000 Subject: - fix display of thumbnail in IE8 (replaced conditional css includes as it was in version 2.0) - remove local_head.tpl for default theme (avoid loading another file on every page hit - put the content of local_head.tpl in header.tpl) git-svn-id: http://piwigo.org/svn/trunk@5923 68402e56-0260-453c-a942-63ccdbb3a9ee --- themes/default/local_head.tpl | 12 ------------ themes/default/template/header.tpl | 14 +++++++++++++- themes/default/themeconf.inc.php | 1 - 3 files changed, 13 insertions(+), 14 deletions(-) delete mode 100644 themes/default/local_head.tpl (limited to 'themes/default') 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 *} - - - - - - - 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 @@ {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 *} + + + + + + + {if isset($U_PREFETCH) }{/if} @@ -68,6 +80,6 @@
{foreach from=$header_notes item=elt}

{$elt}

- {/foreach} + {/foreach}
{/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', ); ?> -- cgit v1.2.3