hasRole(AdminModel::ADMIN_TYPE_NORMALADMIN)){ GUIHandler::redirect("admin/index.php"); } MenuGenerator::generateMenu(); HTMLHelper::generateAdminHead(); $saved = false; $action = PostHandler::get("action"); if (!is_null($action) && strcmp("", $action)!=0){ if (strcmp("save", $action)==0){ if (PostHandler::get(SimpleConfig::VARIE_LABEL)) { GlobalVariables::get("cfg")->setValue(SimpleConfig::VARIE_LABEL, PostHandler::get(SimpleConfig::VARIE_LABEL)); } $saved = true; } } ?>