HEX
Server: Apache/2.4.18 (Ubuntu)
System: Linux phubuntu06.apexhosting.com 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
User: master06 (1000)
PHP: 7.0.33-0ubuntu0.16.04.16
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
Upload Files
File: //usr/share/webmin/status/acl_security.pl
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'};
}