Exemple #1
0
        ?>
<br />
		</div>
		<div class="formbox">
		<b>Authorized for All Services:</b> <input type="text" name="cgi_config[authorized_for_all_services]" VALUE="<?php 
        echo $cgiConfig->getAuthorizedForAllServices();
        ?>
"><br />
		<?php 
        echo $lilac->element_desc("authorized_for_all_services", "nagios_cgi_desc");
        ?>
<br />
		</div>
		<div class="formbox">
		<b>Authorized for All Service Commands:</b> <input type="text" name="cgi_config[authorized_for_all_service_commands]" VALUE="<?php 
        echo $cgiConfig->getAuthorizedForAllServiceCommands();
        ?>
"><br />
		<?php 
        echo $lilac->element_desc("authorized_for_all_service_commands", "nagios_cgi_desc");
        ?>
<br />
		</div>
		<div class="formbox">
		<input type="submit" value="Update Authentication Configuration" />
		</div>
		<?php 
    } else {
        if ($_GET['section'] == 'status') {
            ?>
		<form name="cgi_authentication_config" method="post" action="cgi.php?section=status">