%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 49.231.201.246 / Your IP : 216.73.216.149 Web Server : Apache/2.4.18 (Ubuntu) System : User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,mail,shell_exec,system,proc_open,popen,ini_alter,dl,proc_close,curl_exec,curl_multi_exec,readfile,parse_ini_file,escapeshellarg,escapeshellcmd,show_source,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_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,mail,php_uname,phpinfo MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/webmin/cron/ |
Upload File : |
require 'cron-lib.pl'; do '../ui-lib.pl'; # acl_security_form(&options) # Output HTML for editing security options for the cron module sub acl_security_form { local $m = $_[0]->{'mode'}; print &ui_table_row($text{'acl_users'}, &ui_radio("mode", $m, [ [ 0, "$text{'acl_all'}<br>" ], [ 3, "$text{'acl_this'}<br>" ], [ 1, $text{'acl_only'}." ". &ui_textbox("userscan", $m == 1 ? $_[0]->{'users'} : "", 40)." ". &user_chooser_button("userscan", 1)."<br>" ], [ 2, $text{'acl_except'}." ". &ui_textbox("userscannot", $m == 2 ? $_[0]->{'users'} : "", 40)." ". &user_chooser_button("userscannot", 1)."<br>" ], [ 5, $text{'acl_gid'}." ". &ui_textbox("gid", $m == 5 ? scalar(getgrgid($_[0]->{'users'})) : "", 13)." ". &group_chooser_button("gid", 0)."<br>" ], [ 4, $text{'acl_uid'}." ". &ui_textbox("uidmin", $_[0]->{'uidmin'}, 6)." - ". &ui_textbox("uidmax", $_[0]->{'uidmax'}, 6)."<br>" ], ]), 3); print &ui_table_row($text{'acl_control'}, &ui_radio("allow", $_[0]->{'allow'}, [ [ 1, $text{'yes'} ], [ 0, $text{'no'} ] ])); print &ui_table_row($text{'acl_command'}, &ui_radio("command", $_[0]->{'command'}, [ [ 1, $text{'yes'} ], [ 0, $text{'no'} ] ])); print &ui_table_row($text{'acl_create'}, &ui_radio("create", $_[0]->{'create'}, [ [ 1, $text{'yes'} ], [ 0, $text{'no'} ] ])); print &ui_table_row($text{'acl_delete'}, &ui_radio("delete", $_[0]->{'delete'}, [ [ 1, $text{'yes'} ], [ 0, $text{'no'} ] ])); print &ui_table_row($text{'acl_move'}, &ui_radio("move", $_[0]->{'move'}, [ [ 1, $text{'yes'} ], [ 0, $text{'no'} ] ])); print &ui_table_row($text{'acl_kill'}, &ui_radio("kill", $_[0]->{'kill'}, [ [ 1, $text{'yes'} ], [ 0, $text{'no'} ] ])); print &ui_table_row($text{'acl_hourly'}, &ui_radio("hourly", $_[0]->{'hourly'}, [ [ 1, $text{'yes'} ], [ 0, $text{'no'} ], [ 2, $text{'acl_hourlydef'} ] ]), 3); print &ui_table_row($text{'acl_stop'}, &ui_radio("stop", $_[0]->{'stop'}, [ [ 1, $text{'yes'} ], [ 0, $text{'no'} ] ])); } # acl_security_save(&options) # Parse the form for security options for the cron module sub acl_security_save { $_[0]->{'mode'} = $in{'mode'}; $_[0]->{'users'} = $in{'mode'} == 0 || $in{'mode'} == 3 || $in{'mode'} == 4 ? "" : $in{'mode'} == 5 ? scalar(getgrnam($in{'gid'})) : $in{'mode'} == 1 ? $in{'userscan'} : $in{'userscannot'}; $_[0]->{'uidmin'} = $in{'mode'} == 4 ? $in{'uidmin'} : ""; $_[0]->{'uidmax'} = $in{'mode'} == 4 ? $in{'uidmax'} : ""; $_[0]->{'allow'} = $in{'allow'}; $_[0]->{'command'} = $in{'command'}; $_[0]->{'create'} = $in{'create'}; $_[0]->{'delete'} = $in{'delete'}; $_[0]->{'move'} = $in{'move'}; $_[0]->{'kill'} = $in{'kill'}; $_[0]->{'hourly'} = $in{'hourly'}; $_[0]->{'stop'} = $in{'stop'}; }