mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 16:50:24 +00:00
use ui-lib function
This commit is contained in:
@@ -5,13 +5,9 @@ do 'shell-lib.pl';
|
||||
# Output HTML for editing security options for the shell module
|
||||
sub acl_security_form
|
||||
{
|
||||
print "<tr> <td><b>$text{'acl_user'}</b></td> <td colspan=3>\n";
|
||||
printf "<input type=radio name=user_def value=1 %s> %s\n",
|
||||
$_[0]->{'user'} ? '' : 'checked', $text{'acl_user_def'};
|
||||
printf "<input type=radio name=user_def value=0 %s>\n",
|
||||
$_[0]->{'user'} ? 'checked' : '';
|
||||
print "<input name=user size=8 value='$_[0]->{'user'}'> ",
|
||||
&user_chooser_button("user"),"</td> </tr>\n";
|
||||
print &ui_table_row($text{'acl_user'},
|
||||
&ui_opt_textbox("user", $_[0]->{'user'}, 20, $text{'acl_user_def'})." ".
|
||||
&user_chooser_button("user"));
|
||||
}
|
||||
|
||||
# acl_security_save(&options)
|
||||
|
||||
Reference in New Issue
Block a user