3 # Display a form to edit a general access mapping table
4 # by Roberto Tecchio, 2005 (www.tecchio.net)
6 require './postfix-lib.pl';
8 $access{'smtpd'} || &error($text{'smtpd_ecannot'});
10 &ui_print_header(undef, $in{'title'}, "");
12 if (&get_current_value($in{'name'}) eq "")
14 print ($text{'no_map'}."<br><br>");
18 &generate_map_edit($in{'name'}, $text{'map_click'}." ".
19 "<font size=\"-1\">".&hlink("$text{'help_map_format'}", "access")."</font>\n<br>\n", 1,
20 $text{'mapping_client'}, $text{'header_value'});
23 &ui_print_footer("smtpd.cgi", $text{'smtpd_title'}, "index.cgi", $text{'index_title'});