More ui-lib conversion

This commit is contained in:
Jamie Cameron
2023-12-15 20:43:31 -08:00
parent 8d0aeb6fc9
commit dcee332bff
2 changed files with 9 additions and 9 deletions

View File

@@ -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'});

View File

@@ -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