{* $Id: header.tpl $ *} {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} {* 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}
{php} if (is_admin() and !(pwg_get_session_var('flopure_array_version')) and !(pwg_get_session_var('flopure_checked_version')) ) { global $template, $page; $header_msgs = array(); $name_is_nutd = array(); include_once(PHPWG_ROOT_PATH.'template/floPure/tools/version.conf.php'); include_once(PHPWG_ROOT_PATH.'template/floPure/tools/floPure.class.php'); load_language('template.lang', PHPWG_ROOT_PATH.'template/floPure/tools/'); $floPure = new floPure(); if( $floPure->is_not_up_to_date($floPure_conf['version'], '135') ) { $template->append('header_msgs', l10n('floPure_update_needed')); $name_is_nutd['floPure']=$floPure_conf['version']; } $floPure->theme_version_search(PHPWG_ROOT_PATH.'template/floPure/theme'); $name_is_nutd= $name_is_nutd + $floPure->is_nutd; pwg_set_session_var('flopure_array_version',$name_is_nutd); pwg_set_session_var('flopure_checked_version', true); } else if (is_admin() and pwg_get_session_var('flopure_array_version') ) { global $template; $header_msgs = array(); include_once(PHPWG_ROOT_PATH.'template/floPure/tools/floPure.class.php'); load_language('template.lang', PHPWG_ROOT_PATH.'template/floPure/tools/'); $floPure = new floPure(); $floPure->display(pwg_get_session_var('flopure_array_version')); } //pwg_unset_session_var('flopure_checked_version'); {/php} {$erreur} {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}