Exemple #1
0
            $cgiConfig->setLockAuthorNames($_POST['cgi_config']['lock_author_names']);
        }
        if (isset($_POST['cgi_config']['escape_html_tags'])) {
            $cgiConfig->setEscapeHtmlTags($_POST['cgi_config']['escape_html_tags']);
        }
        if (isset($_POST['cgi_config']['notes_url_target'])) {
            $cgiConfig->setNotesUrlTarget($_POST['cgi_config']['notes_url_target']);
        }
        if (isset($_POST['cgi_config']['action_url_target'])) {
            $cgiConfig->setActionUrlTarget($_POST['cgi_config']['action_url_target']);
        }
        if (isset($_POST['cgi_config']['enable_splunk_integration'])) {
            $cgiConfig->setEnableSplunkIntegration($_POST['cgi_config']['enable_splunk_integration']);
        }
        if (isset($_POST['cgi_config']['splunk_url'])) {
            $cgiConfig->setSplunkUrl($_POST['cgi_config']['splunk_url']);
        }
        $cgiConfig->save();
        $success = "Updated CGI Configuration.";
    }
}
// Let's make the status map layout select list
$statusmap_layout_list[] = array("values" => "0", "text" => "User-Defined Coordinates");
$statusmap_layout_list[] = array("values" => "1", "text" => "Depth Layers");
$statusmap_layout_list[] = array("values" => "2", "text" => "Collapsed Tree");
$statusmap_layout_list[] = array("values" => "3", "text" => "Balanced Tree");
$statusmap_layout_list[] = array("values" => "4", "text" => "Circular");
$statusmap_layout_list[] = array("values" => "5", "text" => "Circular (Marked Up)");
$statusmap_layout_list[] = array("values" => "6", "text" => "Circular (Marked Down)");
// Let's make the status wrl layout select list
$statuswrl_layout_list[] = array("values" => "0", "text" => "User-Defined Coordinates");