{if isset($meta_ref)} {if isset($INFO_AUTHOR)} {/if} {if isset($related_tags)} {/if} {if isset($COMMENT_IMG)} {else} {/if} {/if} {if $PAGE_TITLE!=l10n('Home') && $PAGE_TITLE!=$GALLERY_TITLE}{$PAGE_TITLE} | {/if}{$GALLERY_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} {if isset($U_PREFETCH) }{/if} {if isset($U_CANONICAL) }{/if} {if not empty($page_refresh)}{/if} {strip} {foreach from=$themes item=theme} {if $theme.load_css} {combine_css path="themes/`$theme.id`/theme.css" order=-10} {/if} {if !empty($theme.local_head)} {include file=$theme.local_head load_css=$theme.load_css} {/if} {/foreach} {combine_script id="jquery" load="footer"} {/strip} {get_combined_css} {get_combined_scripts load='header'} {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}
{$PAGE_BANNER}
{if not empty($header_notes)}
{foreach from=$header_notes item=elt}

{$elt}

{/foreach}
{/if}