toDB($_POST['maintainance_text']); if ($pref['maintainance_text'] != $temp) { $pref['maintainance_text'] = $temp; $changed = TRUE; } if ($changed) { $admin_log->log_event(($pref['maintainance_flag'] == 0) ? 'MAINT_02' : 'MAINT_01',$pref['maintainance_text'],E_LOG_INFORMATIVE,''); save_prefs(); } header("location:".e_SELF."?u"); exit; } require_once("auth.php"); if (e_QUERY == "u") { $ns->tablerender("", "
".UGFLAN_1.".
"); } $maintainance_flag = $pref['maintainance_flag']; $text = "
".UGFLAN_2.": "; if ($maintainance_flag == 1) { $text .= ""; } else { $text .= ""; } $text .= "
".UGFLAN_5."
".UGFLAN_6."

".display_help("","maintenance")."
"; $ns->tablerender(UGFLAN_4, $text); require_once("footer.php"); ?>