Server IP : 195.201.23.43 / Your IP : 3.15.0.42 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/mount/ |
Upload File : |
require 'mount-lib.pl'; # acl_security_form(&options) # Output HTML for editing security options for the mount module sub acl_security_form { my ($o) = @_; print &ui_table_row($text{'acl_fs'}, &ui_opt_textbox("fs", $o->{'fs'}, 40, $text{'acl_all'}, $text{'acl_list'}), 3); print &ui_table_row($text{'acl_types'}, &ui_opt_textbox("types", $o->{'types'}, 30, $text{'acl_all'}, $text{'acl_fslist'}), 3); print &ui_table_row($text{'acl_create'}, &ui_radio("create", $o->{'create'}, [ [ 1, $text{'yes'} ], [ 0, $text{'no'} ] ])); print &ui_table_row($text{'acl_only'}, &ui_radio("only", $o->{'only'}, [ [ 1, $text{'yes'} ], [ 0, $text{'no'} ] ])); print &ui_table_row($text{'acl_user'}, &ui_radio("user", $o->{'user'}, [ [ 1, $text{'yes'} ], [ 0, $text{'no'} ] ])); print &ui_table_row($text{'acl_hide'}, &ui_radio("hide", $o->{'hide'}, [ [ 1, $text{'yes'} ], [ 0, $text{'no'} ] ])); print &ui_table_row($text{'acl_browse'}, &ui_radio("browse", $o->{'browse'}, [ [ 1, $text{'yes'} ], [ 0, $text{'no'} ] ])); print &ui_table_row($text{'acl_sysinfo'}, &ui_radio("sysinfo", $o->{'sysinfo'}, [ [ 1, $text{'yes'} ], [ 0, $text{'no'} ] ])); } # acl_security_save(&options) # Parse the form for security options for the mount module sub acl_security_save { my ($o) = @_; $o->{'fs'} = $in{'fs_def'} ? undef : $in{'fs'}; $o->{'types'} = $in{'types_def'} ? undef : $in{'types'}; $o->{'only'} = $in{'only'}; $o->{'create'} = $in{'create'}; $o->{'user'} = $in{'user'}; $o->{'hide'} = $in{'hide'}; $o->{'browse'} = $in{'browse'}; $o->{'sysinfo'} = $in{'sysinfo'}; }Private