|
Server : Apache/2.2.2 (Fedora) System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686 User : apache ( 48) PHP Version : 5.2.9 Disable Function : NONE Directory : /proc/self/root/usr/libexec/webmin/nis/ |
Upload File : |
#!/usr/bin/perl
# edit_server.cgi
# Display NIS server settings
require './nis-lib.pl';
&ui_print_header(undef, $text{'server_title'}, "");
if (!(&get_nis_support() & 2)) {
print "<p>$text{'server_enis'}<p>\n";
}
else {
print "<form action=save_server.cgi method=post>\n";
print "<table border width=100%>\n";
print "<tr $tb> <td><b>$text{'server_header'}</b></td> </tr>\n";
print "<tr $cb> <td><table width=100%>\n";
&show_server_config();
print "</table></td></tr></table>\n";
print "<input type=submit value='$text{'server_ok'}'></form>\n";
}
&ui_print_footer("", $text{'index_return'});