if (!isset($_GET['section'])) { $_GET['section'] = 'paths'; } // Build subnavigation $subnav = array('paths' => 'Paths', 'authentication' => 'Authentication', 'status' => 'Status', 'sounds' => 'Sounds', 'other' => 'Other'); print_header("CGI Configuration File Editor"); print_window_header("Web Interface Configuration", "100%", "center"); print_subnav($subnav, $_GET['section'], "section"); if ($_GET['section'] == 'paths') { ?> <form name="cgi_path_config" method="post" action="cgi.php?section=paths"> <input type="hidden" name="request" value="update" /> <div class="formbox"> <b>Physical HTML Path:</b><br /> <input type="text" size="80" name="cgi_config[physical_html_path]" VALUE="<?php echo $cgiConfig->getPhysicalHtmlPath(); ?> "><br /> <?php echo $lilac->element_desc("physical_html_path", "nagios_cgi_desc"); ?> <br /> </div> <div class="formbox"> <b>URL HTML Path:</b><br /> <input type="text" size="80" name="cgi_config[url_html_path]" VALUE="<?php echo $cgiConfig->getUrlHtmlPath(); ?> "><br /> <?php echo $lilac->element_desc("url_html_path", "nagios_cgi_desc");