示例#1
0
文件: cgi.php 项目: Evolix/lilac
        ?>
		<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");
        ?>
<br />
		</div>
		<div class="formbox">
		<b>Authorized for System Information:</b> <input type="text" name="cgi_config[authorized_for_system_information]" VALUE="<?php 
        echo $cgiConfig->getAuthorizedForSystemInformation();
        ?>
"><br />
		<?php 
        echo $lilac->element_desc("authorized_for_system_information", "nagios_cgi_desc");
        ?>