|
Server : Apache/2.2.2 (Fedora) System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686 User : apache ( 48) PHP Version : 5.2.9 Disable Function : NONE Directory : /proc/self/root/proc/self/root/usr/libexec/webmin/procmail/ |
Upload File : |
#!/usr/bin/perl
# manual_form.cgi
# Display the .procmailrc file
require './procmail-lib.pl';
&ui_print_header(undef, $text{'manual_title'}, "");
print &text('manual_desc', "<tt>$procmailrc</tt>"),"<p>\n";
print &ui_form_start("manual_save.cgi", "form-data");
print &ui_table_start(undef, undef, 2);
$data = &read_file_contents($procmailrc);
print &ui_table_row(undef, &ui_textarea("data", $data, 20, 80), 2);
print &ui_table_end();
print &ui_form_end([ [ undef, $text{'save'} ] ]);
&ui_print_footer("", $text{'index_return'});