mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 16:50:24 +00:00
Delete interfaces deny if no access to do that
This commit is contained in:
@@ -232,10 +232,14 @@ foreach $a (@boot) {
|
||||
}
|
||||
print &ui_columns_end();
|
||||
print &ui_links_row(\@links);
|
||||
if($access{"delete"}) {
|
||||
print &ui_form_end([ [ "delete", $text{'index_delete2'} ],
|
||||
[ "deleteapply", $text{'index_delete3'} ],
|
||||
undef,
|
||||
[ "apply", $text{'index_apply2'} ] ]);
|
||||
[ "deleteapply", $text{'index_delete3'} ],
|
||||
undef,
|
||||
[ "apply", $text{'index_apply2'} ] ]);
|
||||
} else {
|
||||
print &ui_form_end([ [ "apply", $text{'index_apply2'} ] ]);
|
||||
}
|
||||
print &ui_tabs_end_tab();
|
||||
|
||||
print &ui_tabs_end(1);
|
||||
|
||||
Reference in New Issue
Block a user