{combine_script id="jquery" path="themes/default/js/jquery.js" load='header'} {combine_script id="jquery.ui" path="themes/default/js/ui/jquery.ui.core.js" require='jquery' load='header'} {combine_script id="jquery.ui.widget" path="themes/default/js/ui/jquery.ui.widget.js" require='jquery.ui' load='header'} {combine_script id="jquery.ui.mouse" path="themes/default/js/ui/jquery.ui.mouse.js" require='jquery.ui.widget' load='header'} {combine_script id="jquery.ui.position" path="themes/default/js/ui/jquery.ui.position.js" require='jquery.ui.widget' load='header'} {combine_script id="jquery.ui.tabs" path="themes/default/js/ui/jquery.ui.tabs.js" require='jquery.ui' load='header'} {combine_script id="jquery.ui.dialog" path="themes/default/js/ui/jquery.ui.dialog.js" require='jquery.ui' load='header'} {if isset($meta_ref) } {if isset($INFO_AUTHOR)} {/if} {if isset($related_tags)} {/if} {if isset($COMMENT_IMG)} {else} {/if} {/if} {if (isset($REVERSE) and $REVERSE and $PAGE_TITLE == l10n('Home'))} {$GALLERY_TITLE} | {$PAGE_TITLE} {else} {$PAGE_TITLE} | {$GALLERY_TITLE} {/if} {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 not empty($page_refresh)}{/if} {include file='config.js.tpl'} {if #manageTips#=='yes'} {combine_script id="gpc.simpleTip" path="themes/gally-default/js/simpleTip.js" require="jquery"} {combine_script id="gallyjs-ttm" path="themes/gally-default/js/gallyjs-ttm.js" require="jquery"} {/if} {if $BODY_ID=='theCategoryPage' or isset($MENUBAR)} {combine_script id="gallyjs-tcp" path="themes/gally-default/js/gallyjs-tcp.js" require="jquery"} {/if} {if $BODY_ID=='thePicturePage'} {combine_script id="gallyjs-tpp" path="themes/gally-default/js/gallyjs-tpp.js" require="jquery"} {/if} {if $BODY_ID=='theProfilePage' or $BODY_ID=='theRegisterPage' or $BODY_ID=='theIdentificationPage' or $BODY_ID=='thePasswordPage' or $BODY_ID=='theTagsPage' or $BODY_ID=='theSearchPage' or $BODY_ID=='theCommentsPage' or $BODY_ID=='theAboutPage' or $BODY_ID=='theNotificationPage' or $BODY_ID=='thePopuphelpPage' or $BODY_ID=='theUploadPage'} {/if} {get_combined_css} {foreach from=$themes item=theme} {if $theme.load_css} {combine_css path="themes/`$theme.id`/css/theme.css" order=-10} {/if} {if !empty($theme.local_head)}{include file=$theme.local_head load_css=$theme.load_css}{/if} {/foreach} {if isset($U_PREFETCH)}{/if} {if isset($U_CANONICAL)}{/if} {if not empty($page_refresh) }{/if} {if not empty($head_elements)} {foreach from=$head_elements item=elt}{$elt} {/foreach} {/if} {get_combined_scripts load='header'}
{if not empty($header_msgs)}
{foreach from=$header_msgs item=elt}

{$elt}

{/foreach}
{/if} {if ($BODY_ID=='thePicturePage' and #displayBanner# == "yes") or $BODY_ID!='thePicturePage'}
{$PAGE_BANNER}
{elseif $BODY_ID=='thePicturePage' and #displayBanner# == "alternate"}
{$gally->getAlternateBannerContent()}
{else} {/if} {if isset($theSwiftHeader)}{$theSwiftHeader}{/if} {if not empty($header_notes)}
{foreach from=$header_notes item=elt}

{$elt}

{/foreach}
{/if}