3 # Display a form for editing the Jabber config file directly
5 require './jabber-lib.pl';
6 &ui_print_header(undef, $text{'file_title'}, "", "file");
8 print "$text{'file_desc'}<p>\n";
10 print "<form action=save_file.cgi method=post enctype=multipart/form-data>\n";
11 print "<table border width=100%>\n";
12 print "<tr $tb> <td><b>$text{'file_header'}</b></td> </tr>\n";
13 print "<tr $cb> <td><textarea name=file rows=15 cols=80>";
14 open(FILE, $config{'jabber_config'});
16 print &html_escape($_);
19 print "</textarea></td> </tr></table>\n";
20 print "<input type=submit value='$text{'save'}'></form>\n";
22 &ui_print_footer("", $text{'index_return'});