Server IP : 195.201.23.43 / Your IP : 3.143.254.11 Web Server : Apache System : Linux webserver2.vercom.be 5.4.0-192-generic #212-Ubuntu SMP Fri Jul 5 09:47:39 UTC 2024 x86_64 User : kdecoratie ( 1041) PHP Version : 7.1.33-63+ubuntu20.04.1+deb.sury.org+1 Disable Function : 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, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/share/webmin/pam/ |
Upload File : |
# display args for pam_mail.so.pl # display_args(&service, &module, &args) sub display_module_args { print &ui_table_row($text{'mail_nopen'}, &ui_radio("noopen", defined($_[2]->{'nopen'}) ? 1 : 0, [ [ 0, $text{'yes'} ], [ 1, $text{'no'} ] ])); print &ui_table_row($text{'mail_close'}, &ui_radio("noopen", defined($_[2]->{'close'}) ? 1 : 0, [ [ 1, $text{'yes'} ], [ 0, $text{'no'} ] ])); print &ui_table_row($text{'mail_empty'}, &ui_radio("noopen", defined($_[2]->{'empty'}) ? 1 : 0, [ [ 1, $text{'yes'} ], [ 0, $text{'no'} ] ])); print &ui_table_row($text{'mail_noenv'}, &ui_radio("noopen", defined($_[2]->{'noenv'}) ? 1 : 0, [ [ 0, $text{'yes'} ], [ 1, $text{'no'} ] ])); print &ui_table_row($text{'mail_dir'}, &ui_opt_textbox("dir", $_[2]->{'dir'}, 50, $text{'default'})." ". &file_chooser_button("dir"), 3); } # parse_module_args(&service, &module, &args) sub parse_module_args { if ($in{'nopen'}) { $_[2]->{'nopen'} = ''; } else { delete($_[2]->{'nopen'}); } if ($in{'close'}) { $_[2]->{'close'} = ''; } else { delete($_[2]->{'close'}); } if ($in{'empty'}) { $_[2]->{'empty'} = ''; } else { delete($_[2]->{'empty'}); } if ($in{'noenv'}) { $_[2]->{'noenv'} = ''; } else { delete($_[2]->{'noenv'}); } if ($in{'dir_def'}) { delete($_[2]->{'dir'}); } else { -d $in{'dir'} || &error($text{'mail_edir'}); $_[2]->{'dir'} = $in{'dir'}; } }Private