{* $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('floOS_array_version')) and !(pwg_get_session_var('floOS_checked_version')) ) { global $template, $page; $header_notes = array(); $name_is_nutd = array(); include_once(PHPWG_ROOT_PATH.'template/floOS/tools/version.conf.php'); include_once(PHPWG_ROOT_PATH.'template/floOS/tools/floOS.class.php'); load_language('template.lang', PHPWG_ROOT_PATH.'template/floOS/tools/'); $floOS = new floOS(); if( $floOS->is_not_up_to_date($floOS_conf['version'], '230') ) { $template->append('header_notes', l10n('floOS_update_needed')); $name_is_nutd['floOS']=$floOS_conf['version']; } $floOS->theme_version_search(PHPWG_ROOT_PATH.'template/floOS/theme'); $name_is_nutd= $name_is_nutd + $floOS->is_nutd; pwg_set_session_var('floOS_array_version',$name_is_nutd); pwg_set_session_var('floOS_checked_version', true); } else if (is_admin() and pwg_get_session_var('floOS_array_version') ) { global $template; $header_notes = array(); include_once(PHPWG_ROOT_PATH.'template/floOS/tools/floOS.class.php'); load_language('template.lang', PHPWG_ROOT_PATH.'template/floOS/tools/'); $floOS = new floOS(); $floOS->display(pwg_get_session_var('floOS_array_version')); } //pwg_unset_session_var('floOS_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}