diff --git a/majordomo/create_form.cgi b/majordomo/create_form.cgi index ceb15c520..b84e4e2eb 100755 --- a/majordomo/create_form.cgi +++ b/majordomo/create_form.cgi @@ -10,11 +10,11 @@ local $cspan=' colspan="3"',$bcss=' style="display: box; float: left; padding: 1 print < - +
-
$text{'create_header'}
+
- + EOF print "". &opt_input("reply_to", $text{'mesg_reply'}, @@ -24,32 +24,32 @@ print &opt_input("subject_prefix", $text{'mesg_subject'}, 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{'yes'} + $text{'no'}
$text{'create_moderator'} + $text{'create_same'} - -
$text{'create_archive'}
diff --git a/majordomo/edit_list.cgi b/majordomo/edit_list.cgi index a0e4eb94a..186d5a8fb 100755 --- a/majordomo/edit_list.cgi +++ b/majordomo/edit_list.cgi @@ -42,22 +42,22 @@ local $vcss='style="width: 40%; border: 1px solid lightgrey; padding: 0.3em !imp local $xcss='style="width: 25%; border: 1px solid lightgrey; padding: 0.3em !important;"'; # list options -print "\n"; +print "
\n"; print ""; -print "\n"; -print "
$text{'mesg_header'}
", +print "
", &ui_submit($text{'modify'}),"\n
\n"; +print "
\n"; print "\n"; print "\n"; print "
".$text{'mesg_reply'}."",&find_value("reply_to", $conf)."
".$text{'mesg_subject'}."".&find_value("subject_prefix", $conf)."
\n"; # title, descritpion, info -print "\n"; +print "
\n"; print ""; -print "\n"; -print "
".$text{'info_title'}."
", +print "
", &ui_submit($text{'modify'}),"\n
\n"; +print "
\n"; print "\n"; $desc = &find_value("description", $conf); print "\n"; @@ -79,11 +79,11 @@ print "\n"; print "
".$text{'info_desc'}."$desc
\n"; # header and footer -print "\n"; +print "
\n"; print ""; -print "\n"; -print "
".$text{'head_title'}."
", +print "
", &ui_submit($text{'modify'}),"\n
\n"; +print "
\n"; print "\n"; @@ -96,21 +96,21 @@ print "\n"; print "
".$text{'head_fronter'}." \n"; print &find_value("message_fronter", $conf); print "
\n"; # owner and moderation -print "\n"; +print "
\n"; print ""; -print "\n"; -print "
$text{'subs_title'}
", +print "
", &ui_submit($text{'modify'}),"\n
\n"; +print "
\n"; $pol = &find_value("subscribe_policy", $conf); if ($pol =~ /(\S+)\+confirm/) { $pol = $1; $confirm = 1; } print "\n"; -$upol = &find_value("unsubscribe_policy", $conf); +$pol = &find_value("unsubscribe_policy", $conf); print "\n"; $aliases_files = &get_aliases_file(); @@ -130,11 +130,11 @@ print "\n"; print "
$text{'subs_sub'}: \n"; -printf $text{'subs_s'.$pol}; +print $pol eq "closed" ? $text{'subs_closed'} : $text{'subs_s'.$pol}; print "$text{'subs_unsub'}: \n"; -printf $text{'subs_u'.$upol}; +print $pol eq "closed" ? $text{'subs_closed'} : $text{'subs_u'.$pol}; print "
".$approval."
\n"; # members -print "\n"; +print "
\n"; print ""; -print "\n"; -print "\n"; return $rv; @@ -338,13 +338,13 @@ sub opt_input { local $v = &find_value($_[0], $_[2]); local $rv = "\n"; +local $passwd = $_[0] =~ /passwd/ ? "type=\"password\"" : ""; +$rv .= " $_[5]\n"; return $rv; } @@ -379,8 +379,8 @@ sub save_select sub multi_input { local $v = &find_value($_[0], $_[2]); -local $rv = "\n"; +local $rv = "\n"; return $rv; }
".$text{'members_title'}."
", +print "
", &ui_submit($text{'modify'}),"\n
\n"; +print "
\n"; local @cols, @tds, $count=0; print &ui_columns_start(\@cols, $tcss, 0, \@tds); open(MEMS, $list->{'members'}); diff --git a/majordomo/majordomo-lib.pl b/majordomo/majordomo-lib.pl index a9eba9c33..11e1f9854 100755 --- a/majordomo/majordomo-lib.pl +++ b/majordomo/majordomo-lib.pl @@ -321,7 +321,7 @@ local $v = &find_value($_[0], $_[2]); local $rv = "$_[1] "; for($i=3; $i<@_; $i+=2) { local $ch = $v eq $_[$i] ? "checked" : ""; - $rv .= " ".$_[$i+1]; + $rv .= " ".$_[$i+1]; } $rv .= "$_[1] 30 ? "colspan=3" : "").">"; -$rv .= sprintf " $_[3]\n", + ($_[4] > 30 ? "colspan=\"3\"" : "").">"; +$rv .= sprintf " $_[3]\n", $v eq "" ? "checked" : ""; -$rv .= sprintf "\n", +$rv .= sprintf "\n", $v eq "" ? "" : "checked"; -local $passwd = $_[0] =~ /passwd/ ? "type=password" : ""; -$rv .= " $_[5]$_[1] ". - "$_[1] ". + "