|
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 : /usr/libexec/webmin/status/ |
Upload File : |
do 'status-lib.pl';
# acl_security_form(&options)
# Output HTML for editing security options for the status module
sub acl_security_form
{
print "<tr> <td><b>$text{'acl_edit'}</b></td> <td>\n";
printf "<input type=radio name=edit value=1 %s> $text{'yes'}\n",
$_[0]->{'edit'} ? 'checked' : '';
printf "<input type=radio name=edit value=0 %s> $text{'no'}</td>\n",
$_[0]->{'edit'} ? '' : 'checked';
print "<td><b>$text{'acl_sched'}</b></td> <td>\n";
printf "<input type=radio name=sched value=1 %s> $text{'yes'}\n",
$_[0]->{'sched'} ? 'checked' : '';
printf "<input type=radio name=sched value=0 %s> $text{'no'}</td> </tr>\n",
$_[0]->{'sched'} ? '' : 'checked';
}
# acl_security_save(&options)
# Parse the form for security options for the acl module
sub acl_security_save
{
$_[0]->{'edit'} = $in{'edit'};
$_[0]->{'sched'} = $in{'sched'};
}