{$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}
{if isset($U_PREFETCH) }{/if}
{if not empty($page_refresh) }{/if}
{if not empty($head_elements)}
{foreach from=$head_elements item=elt}{$elt}{/foreach}
{/if}
{if not empty($header_msgs)}
{foreach from=$header_msgs item=elt}
{$elt}
{/foreach}
{/if}
{if not empty($PAGE_BANNER) or isset($pwgmenu) or not empty($header_notes)}