Files
webmin/dfsadmin/acl_security.pl
Ilia Ross 68aab1c057
Some checks failed
webmin.dev: webmin/webmin / build (push) Has been cancelled
Fix to use proper API for ACL pages
[no-build]
2026-04-23 22:07:13 +02:00

22 lines
437 B
Perl
Executable File

require 'dfsadmin-lib.pl';
# acl_security_form(&options)
# Output HTML for editing security options for the format module
sub acl_security_form
{
my ($o) = @_;
print &ui_table_row($text{'acl_view'},
&ui_radio("view", $o->{'view'},
[ [ 0, $text{'yes'} ], [ 1, $text{'no'} ] ]));
}
# acl_security_save(&options)
# Parse the form for security options for the format module
sub acl_security_save
{
$_[0]->{'view'} = $in{'view'};
}