Exemple #1
0
    echo $lilac->element_desc("url_html_path", "nagios_cgi_desc");
    ?>
<br />
		</div>
		<div class="formbox">
		<input type="submit" value="Update Path Configuration" />
		</div>
		<?php 
} else {
    if ($_GET['section'] == 'authentication') {
        ?>
		<form name="cgi_authentication_config" method="post" action="cgi.php?section=authentication">
		<input type="hidden" name="request" value="update" />
		<div class="formbox">
		<b>Use Authentication:</b> <?php 
        print_select("cgi_config[use_authentication]", $enable_list, "values", "text", $cgiConfig->getUseAuthentication());
        ?>
<br />
		<?php 
        echo $lilac->element_desc("use_authentication", "nagios_cgi_desc");
        ?>
<br />
		</div>
		<div class="formbox">
		<b>Default Username:</b> <input type="text" name="cgi_config[default_user_name]" VALUE="<?php 
        echo $cgiConfig->getDefaultUserName();
        ?>
"><br />
		<?php 
        echo $lilac->element_desc("default_user_name", "nagios_cgi_desc");
        ?>