3 # postfix-module by Guillaume Cottenceau <gc@mandrakesoft.com>,
4 # for webmin by Jamie Cameron
6 # Manages virtuals for Postfix
8 # << Here are all options seen in Postfix sample-virtual.cf >>
11 require './postfix-lib.pl';
13 $access{'body'} || &error($text{'body_ecannot'});
14 &ui_print_header(undef, $text{'body_title'}, "", "body");
17 print &ui_form_start("save_opts_body.cgi");
18 print &ui_table_start($text{'body_title'}, "width=100%", 2);
20 &option_mapfield("body_checks", 60);
22 print &ui_table_end();
23 print &ui_form_end([ [ undef, $text{'opts_save'} ] ]);
27 if (&get_current_value("body_checks") eq "")
29 print $text{'no_map'},"<p>\n";
33 &generate_map_edit("body_checks", $text{'map_click'}." ".
34 &hlink($text{'help_map_format'}, "body"), 1,
35 $text{'header_name'}, $text{'header_value'});
38 &ui_print_footer("", $text{'index_return'});