mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 06:03:28 +00:00
More ui-lib conversion
This commit is contained in:
@@ -36,15 +36,14 @@ if (@limit) {
|
||||
&icons_table(\@links, \@titles, \@icons, 3);
|
||||
}
|
||||
|
||||
print "<form action=create_limit.cgi>\n";
|
||||
print "<input type=hidden name=file value='$in{'file'}'>\n";
|
||||
print "<table border>\n";
|
||||
print "<tr $tb> <td><b>$text{'ftpindex_addlimit'}</b></td> </tr>\n";
|
||||
print "<tr $cb> <td><table>\n";
|
||||
print "<tr> <td><b>$text{'ftpindex_cmds'}</b></td>\n";
|
||||
print "<td><input name=cmd size=20>\n";
|
||||
print "<input type=submit value=\"$text{'create'}\"></td> </tr>\n";
|
||||
print "</table></td></tr></table></form>\n";
|
||||
print &ui_form_start("create_limit.cgi");
|
||||
print &ui_table_start($text{'ftpindex_addlimit'}, undef, 2);
|
||||
|
||||
print &ui_table_row($text{'ftpindex_cmds'},
|
||||
&ui_textbox("cmd", undef, 40));
|
||||
|
||||
print &ui_table_end();
|
||||
print &ui_form_end([ [ undef, $text{'create'} ] ]);
|
||||
|
||||
&ui_print_footer("ftpaccess.cgi", $text{'ftpaccess_return'},
|
||||
"", $text{'index_return'});
|
||||
|
||||
@@ -412,6 +412,7 @@ ftpindex_addlimit=Add per-command options for ..
|
||||
ftpindex_header2=$1 in $2
|
||||
ftpindex_return=per-directory options file
|
||||
ftpindex_header=For $1
|
||||
ftpindex_cmds=FTP commands
|
||||
|
||||
find_err=Failed to find options files
|
||||
find_eanon=Anonymous FTP is not setup in any virtual server
|
||||
|
||||
Reference in New Issue
Block a user