{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} {known_script id="jquery" src=$ROOT_URL|@cat:"themes/stripped/js/jquery-1.4.2.min.js"} {known_script id="jquery-effects-core" src=$ROOT_URL|@cat:"themes/default/js/ui/minified/effects.core.min.js"} {known_script id="jquery-effects-fold" src=$ROOT_URL|@cat:"themes/default/js/ui/minified/effects.fold.min.js"} {known_script id="scripts" src=$ROOT_URL|cat:"themes/default/js/scripts.js"} {if $BODY_ID=='theCategoryPage' || $BODY_ID=='thePicturePage'} {php} $home=$PHPWG_ROOT_PATH; $themes=$this->get_template_vars('themes'); foreach($themes as $theme) { $dir=$home."/themes/".$theme['id']."/conf/"; $dir=PHPWG_ROOT_PATH.'/themes/'.$theme['id'].'/conf/'; $dir=dirname($_SERVER['SCRIPT_FILENAME'])."/themes/".$theme['id']."/conf/"; $dirlocal=dirname($_SERVER['SCRIPT_FILENAME'])."/local/themes/".$theme['id']."/conf/"; $this->assign("default_conf", $dir."default.conf"); if(file_exists($dirlocal."local.conf")) { $this->assign("local_conf", $dirlocal."local.conf"); } else { $this->assign("local_conf", ""); } } {/php} {config_load file=$default_conf} {if $local_conf!=""} {config_load file=$local_conf} {/if} {include file='config.js.tpl'} {/if} {if ($BODY_ID=='theCategoryPage')} {known_script id="scripts-tpp" src=$ROOT_URL|cat:"themes/stripped/js/scripts-tcp.js"} {/if} {if $BODY_ID=='thePicturePage'} {known_script id="scripts-tpp" src=$ROOT_URL|cat:"themes/stripped/js/scripts-tpp.js"} {/if} {if ($BODY_ID=='theMapListPage')} {known_script id="scripts-tml" src=$ROOT_URL|cat:"themes/stripped/js/scripts-tml.js"} {/if} {foreach from=$themes item=theme} {if $theme.load_css} {/if} {if !empty($theme.local_head)}{include file=$theme.local_head}{/if} {/foreach} {if isset($U_FEED)} {/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}
{$PAGE_BANNER}
{if isset($theSwiftHeader)}{$theSwiftHeader}{/if} {if not empty($header_notes)}
{foreach from=$header_notes item=elt}

{$elt}

{/foreach}
{/if}