#!/usr/local/bin/perl # create_form.cgi # Display a form for creating a new mailing list require './majordomo-lib.pl'; %access = &get_module_acl(); $access{'create'} || &error($text{'create_ecannot'}); &ui_print_header(undef, $text{'create_title'}, ""); local $cspan=' colspan="3"',$bcss=' style="display: box; float: left; padding: 10px;"'; print <
$text{'create_header'}
EOF print "". &opt_input("reply_to", $text{'mesg_reply'}, $conf, $text{'mesg_none'}, 20); print &opt_input("subject_prefix", $text{'mesg_subject'}, $conf, $text{'default'}, 20) ."\n"; print <
$text{'create_name'} *
$text{'create_owner'} * $text{'create_password'} *
$text{'create_desc'}
$text{'create_info'}
$text{'create_footer'}
$text{'create_moderate'} $text{'yes'} $text{'no'}
$text{'create_moderator'} $text{'create_same'}
$text{'create_archive'}
EOF print "
".&ui_submit($text{'create'})."  * $text{'create_minimum'}
"; &ui_print_footer("", $text{'index_return'});