From 6e932e8752faae824cdcb1073014771163a600a7 Mon Sep 17 00:00:00 2001 From: rvelices Date: Sun, 2 Mar 2008 00:29:27 +0000 Subject: header.tpl goes smart git-svn-id: http://piwigo.org/svn/trunk@2240 68402e56-0260-453c-a942-63ccdbb3a9ee --- template/yoga/header.tpl | 130 +++++++++++++++++++++-------------------------- 1 file changed, 58 insertions(+), 72 deletions(-) (limited to 'template/yoga') diff --git a/template/yoga/header.tpl b/template/yoga/header.tpl index 19e9e755d..190ab1670 100644 --- a/template/yoga/header.tpl +++ b/template/yoga/header.tpl @@ -1,91 +1,77 @@ - +{* $Id$ *} - + - + - - - - - -{GALLERY_TITLE} :: {PAGE_TITLE} - - - - - - - - - - - - - - - - - - - - - +{$GALLERY_TITLE} :: {$PAGE_TITLE} + + + + +{if isset($first.U_IMG) }{/if} +{if isset($previous.U_IMG)}{/if} +{if isset($next.U_IMG) }{/if} +{if isset($last.U_IMG) }{/if} +{if isset($U_UP) }{/if} + + +{* the next css is used to fix khtml (Konqueror/Safari) issue the "text/nonsense" prevents gecko based browsers to load it *} + - + - - - - - - -{themeconf:local_head} - - - - - - - + + + +{$themeconf.local_head} +{if isset($U_PREFETCH) }{/if} + +{if not empty($page_refresh) }{/if} + + - -{head_element.CONTENT} - + +{if not empty($head_elements)} + {foreach from=$head_elements item=elt}{$elt}{/foreach} +{/if} + - +
- + +{if not empty($header_msgs)}
- -

{header_msgs.header_msg.HEADER_MSG}

- + {foreach from=$header_msgs item=elt} +

{$elt}

+ {/foreach}
- -
{PAGE_BANNER}
- +{/if} + +
{$PAGE_BANNER}
+ +{if not empty($header_notes)}
- -

{header_notes.header_note.HEADER_NOTE}

- + {foreach from=$header_notes item=elt} +

{$elt}

+ {/foreach}
- +{/if} -- cgit v1.2.3