";
}
public static function gen_top_menu($dropdown_ul, $ver_link='') {
global $_SESSION;
$product = PRODUCT::GetInstance();
$state = DUtil::getGoodVal(DUtil::grab_input("get","state"));
if($state == 'restarted') {
$product->refreshVersion();
}
$buf = '
'
. $product->product . ' ' . ucwords(strtolower($product->edition)) . ' ';
if ($ver_link != '')
$buf .= "{$product->version}";
else
$buf .= $product->version;
$buf .= ' Log Off ';
$buf .= '
';
if(CLIENT::singleton()->hasChanged()) {
$buf .= GUIBase::message("",'Configuration has been modified. To apply changes, please perform a
Graceful Restart.');
}
return $buf;
}
public static function gen_footer($year, $extra) {
$buf = '
'
. "\n"
. '';
return $buf;
}
public static function gen_left_menu($tabs)
{
$disp = ConfCenter::singleton()->GetDispInfo();
$area = $disp->_type;
$buf = '
';
foreach ( $tabs as $tabName => $tabKey ) {
$on = '';
if ( strpos($tabKey, $area) !== false) {
$on = 'class="on"';
}
$buf .= "- {$tabName}
\n";
}
$buf .= '
';
return $buf;
}
}