diff --git a/net/list_ifcs.cgi b/net/list_ifcs.cgi index f896cf10f..8be5cc7a7 100755 --- a/net/list_ifcs.cgi +++ b/net/list_ifcs.cgi @@ -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);