case "pictures": $s_action = $ufUf->s_get_var_from_allowed("action", array("select", "browse"), "browse"); # # top menu # $o_FileBrowser = new FileBrowser($s_action); $html_main_admin_content .= $o_FileBrowser->html_make_browser(); if ($s_action === "select") { echo $admin_ui->html_admin_headers_base(); echo $admin_ui->html_admin_headers_pictures(); echo $html_main_admin_content; exit; } break; case "settings": $html_main_admin_content = $admin_ui->html_make_settings_form($flot->datastore->settings); break; case "oncologies": $s_action = $ufUf->s_get_var_from_allowed("action", array("edit", "list", "new", "delete"), "list"); switch ($s_action) { case 'edit': $s_oncology_id = $ufUf->s_get_var('id', false); # menu items; purge from cache, preview, regenerate, delete if ($s_oncology_id) { # get the oncology data $json_oncology = $flot->datastore->get_oncology_data($s_oncology_id); # render a form $Oncology = new oncology($json_oncology); $html_main_admin_content .= $Oncology->html_edit_form(); // make left menu smaller, to give more focus to editing $s_body_class = "smaller_left";