mirror of
https://github.com/webmin/webmin.git
synced 2025-07-23 00:30:33 +00:00
Initial checkin of Webmin
This commit is contained in:
16
dovecot/edit_manual.cgi
Executable file
16
dovecot/edit_manual.cgi
Executable file
@ -0,0 +1,16 @@
|
||||
#!/usr/local/bin/perl
|
||||
# Show a page for manually editing dovecot.conf
|
||||
|
||||
require './dovecot-lib.pl';
|
||||
&ReadParse();
|
||||
&ui_print_header(undef, $text{'manual_title'}, "");
|
||||
|
||||
# Show the file contents
|
||||
print &text('manual_desc', "<tt>$config{'dovecot_config'}</tt>"),"<p>\n";
|
||||
print &ui_form_start("save_manual.cgi", "form-data");
|
||||
$data = &read_file_contents($config{'dovecot_config'});
|
||||
print &ui_textarea("data", $data, 20, 80),"\n";
|
||||
print &ui_form_end([ [ "save", $text{'save'} ] ]);
|
||||
|
||||
&ui_print_footer("", $text{'index_return'});
|
||||
|
Reference in New Issue
Block a user