mirror of
https://github.com/webmin/webmin.git
synced 2025-08-01 07:22:48 +00:00
Use modern UI library
This commit is contained in:
@ -7,10 +7,8 @@ $access{'defacl'} || &error($text{'acl_ecannot'});
|
||||
&ui_print_header(undef, $text{'defacl_title'}, "");
|
||||
|
||||
print "$text{'defacl_desc'}<p>\n";
|
||||
print "<form action=save_defacl.cgi method=post>\n";
|
||||
print "<table border width=100%>\n";
|
||||
print "<tr $tb> <td><b>$text{'defacl_header'}</b></td> </tr>\n";
|
||||
print "<tr $cb> <td><table width=100%>\n";
|
||||
print &ui_form_start("save_defacl.cgi", "post");
|
||||
print &ui_table_start($text{'defacl_header'}, "width=100%", 4);
|
||||
|
||||
&get_usermin_miniserv_config(\%miniserv);
|
||||
do "$miniserv{'root'}/acl_security.pl";
|
||||
@ -18,8 +16,8 @@ do "$miniserv{'root'}/acl_security.pl";
|
||||
&read_file("$config{'usermin_dir'}/user.acl", \%acl);
|
||||
&acl_security_form(\%acl);
|
||||
|
||||
print "</table></td></tr></table>\n";
|
||||
print "<input type=submit value='$text{'save'}'></form>\n";
|
||||
print &ui_table_end();
|
||||
print &ui_form_end([ [ undef, $text{'save'} ] ]);
|
||||
|
||||
&ui_print_footer("", $text{'index_return'});
|
||||
|
||||
|
Reference in New Issue
Block a user