3 require './postfix-lib.pl';
5 $access{'bcc'} || &error($text{'bcc_ecannot'});
6 &ui_print_header(undef, $text{'bcc_title'}, "", "bcc");
10 print &ui_form_start("save_opts_bcc.cgi");
11 print &ui_table_start($text{'bcc_title'}, "width=100%", 2);
13 &option_mapfield("sender_bcc_maps", 60);
14 &option_mapfield("recipient_bcc_maps", 60);
16 print &ui_table_end();
17 print &ui_form_end([ [ undef, $text{'opts_save'} ] ]);
21 print &ui_tabs_start([ [ "sender", $text{'bcc_sender'} ],
22 [ "recipient", $text{'bcc_recipient'} ] ],
23 "mode", $in{'mode'} || 'sender', 1);
26 print &ui_tabs_start_tab("mode", "sender");
27 print $text{'bcc_senderdesc'},"<p>\n";
28 if (&get_current_value("sender_bcc_maps") eq "")
30 print $text{'no_map'},"<p>\n";
34 &generate_map_edit("sender_bcc_maps", $text{'map_click'}." ".
35 &hlink($text{'help_map_format'}, "virtual"));
37 print &ui_tabs_end_tab("mode", "sender");
40 print &ui_tabs_start_tab("mode", "recipient");
41 print $text{'bcc_recipientdesc'},"<p>\n";
42 if (&get_current_value("recipient_bcc_maps") eq "")
44 print $text{'no_map'},"<p>\n";
48 &generate_map_edit("recipient_bcc_maps", $text{'map_click'}." ".
49 &hlink($text{'help_map_format'}, "virtual"));
51 print &ui_tabs_end_tab("mode", "recipient");
53 print &ui_tabs_end(1);
55 &ui_print_footer("", $text{'index_return'});