" . (strlen($title) ? "$title
" : "") . "$msg
"; } public static function header($title = NULL) { //charset need to use utf-8 for international chars support. replaced iso-8859-1 $tk = CLIENT::singleton()->getToken(); return " {$title} - LiteSpeed WebAdmin Console
"; } 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 = '
'; return $buf; } }