head	1.10;
access;
symbols
	TIGRIS_1_1_0RC2:1.9
	TIGRIS_1_1_0RC1:1.9
	TIGRIS_1_1:1.9.0.4
	TIGRIS_1_0_8:1.9
	TIGRIS_1_0_8RC3:1.9
	TIGRIS_1_0_8RC2:1.9
	TIGRIS_1_0_8RC1:1.9
	TIGRIS_1_0_7:1.9
	TIGRIS_1_0_7RC3:1.9
	TIGRIS_1_0_7RC2:1.9
	TIGRIS_1_0_7RC1:1.9
	TIGRIS_1_0_6:1.9
	TIGRIS_1_0_6RC5:1.9
	TIGRIS_1_0_6RC4:1.9
	TIGRIS_1_0_6RC3:1.9
	TIGRIS_1_0_6RC2:1.9
	TIGRIS_1_0_6RC1:1.9
	TIGRIS_1_0_5:1.9
	TIGRIS_1_0_5RC6:1.9
	TIGRIS_1_0_5RC5:1.9
	TIGRIS_1_0_5RC4:1.9
	TIGRIS_1_0_5RC3:1.9
	TIGRIS_1_0_5RC2:1.9
	TIGRIS_1_0_5RC1:1.9
	TIGRIS_1_0_4:1.9
	TIGRIS_1_0_3:1.9
	TIGRIS_1_0_2:1.9
	TIGRIS_1_0_1:1.9
	TIGRIS_1_0:1.9.0.6
	TIGRIS_1_0_0:1.9
	TIGRIS_1_0_0_RC1:1.9.0.2
	dlr:1.1.1
	TIGRIS_0_9_2_4:1.7
	TIGRIS_0_9_2_3:1.7
	HELM_PEER_PORT_BRANCH:1.1.1.2
	TURBINE_PEER:1.7
	TIGRIS_0_9_2_1:1.7
	TIGRIS_0_9_2:1.7.0.6
	TIGRIS_0_9_0:1.7.0.4
	TIGRIS_0_8_4:1.7.0.2
	NEWHELM:1.1.1.1
	TIGRIS_NOV_12_2000:1.1.1;
locks; strict;
comment	@# @;


1.10
date	2001.05.23.02.04.15;	author dlr;	state dead;
branches;
next	1.9;

1.9
date	2001.03.14.19.04.45;	author dlr;	state Exp;
branches;
next	1.8;

1.8
date	2001.03.07.19.47.53;	author edk;	state Exp;
branches;
next	1.7;

1.7
date	2000.11.29.04.37.59;	author susank;	state Exp;
branches;
next	1.6;

1.6
date	2000.11.28.18.51.03;	author edk;	state Exp;
branches;
next	1.5;

1.5
date	2000.11.20.19.46.52;	author edk;	state Exp;
branches;
next	1.4;

1.4
date	2000.11.18.00.26.18;	author edk;	state Exp;
branches;
next	1.3;

1.3
date	2000.11.17.05.53.30;	author edk;	state Exp;
branches;
next	1.2;

1.2
date	2000.11.15.19.50.59;	author susank;	state Exp;
branches;
next	1.1;

1.1
date	2000.11.12.21.18.27;	author dlr;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2000.11.12.21.18.27;	author dlr;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	2001.02.21.00.37.01;	author dlr;	state Exp;
branches;
next	;


desc
@@


1.10
log
@Removed WM templates in favor of Velocity templates.
@
text
@<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" BORDER="0" WIDTH="100%">
  <TR>
    <TD CLASS="Header" NOWRAP>Edit Mailing List: <SPAN CLASS="ProjectNameHeader">$currentProject.getName()</SPAN></TD>  
  </TR>
</TABLE>

<ul>
#if ($changed) {
    <li>Updated information for mailing list $listname@@$currentProject.getName()
}
<font color=red>
#foreach $field in $missingFields {
    <li>Missing required field <strong>$field</strong>
}
#foreach $field in $validationErrors {
    <li>Validation Error: <strong>$field</strong>
}
</font>
</ul>

#if ( $allowEdits ) {

<form method="POST" action="$servletName" NAME="MailingListEditForm">
<input type=hidden name=projectID value="$currentProject.getID()">
<input type=hidden name=list value="$listname">

<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" BORDER="0" WIDTH="100%">
  <TR>
    <TD CLASS="InputHeader" VALIGN="top" NOWRAP>List Name:</TD>
    <TD COLSPAN="2" class="PlainText">$listname</TD>
  </TR>
  <TR>
    <TD VALIGN="TOP" CLASS="InputHeader">Description:<BR> 
      <SPAN CLASS="PlainText">(What is the topic of this mailing list?)</SPAN> 
    </TD>
    <TD COLSPAN="2"><TEXTAREA NAME="description" ROWS="7" COLS="54">$description</TEXTAREA></TD> 
  </TR>
  <TR>
    <TD CLASS="InputHeader" VALIGN="top" NOWRAP>Owner Email:</TD>
    <TD COLSPAN="2" class="PlainText">
      <input type="text" name="owner" value="$owner" size="16">&nbsp;(Required email address)
    </TD>
  </TR>
  <TR>
    <TD CLASS="InputHeader" VALIGN="top" NOWRAP>Optional Prefix:</TD>
    <TD COLSPAN="2" class="PlainText">
      <input type="text" name="prefix" value="$prefix" size="16">&nbsp;(Optional, shown on the subject line of all messages) 
    </TD>
  </TR>
  <TR> 
    <TD VALIGN="top" CLASS="InputHeader" NOWRAP>Trailer:</TD> 
    <TD VALIGN="TOP" class="PlainText"> 
      <input type="checkbox" name="trailer" $trailerChecked></TD>
    <TD class="PlainText"><SPAN CLASS="PlainTextBold">Shows instructions on how to unsubscribe as a footer in every message.</SPAN></BR>
      Strongly recommended for lists with more than 100 members. 
    </TD> 
  </TR> 
  <TR>
    <TD class="InputHeader" VALIGN="top">Private:</TD>
    <TD VALIGN="TOP" class="PlainText"><INPUT TYPE="CHECKBOX" NAME="private" $privateChecked; ></TD>
    <TD class="PlainText"><b>Whether people can subscribe themselves or view the
 archives</TD>
  </TR>
#set $text = "List Type:" 
#foreach $listType in $listTypes  
{ 
    #if ($listType.isSelected()) { 
        #set $checked = " checked" 
    } #else { 
        #set $checked = "" 
    } 
  <TR> 
    <TD CLASS="InputHeader" VALIGN="top" NOWRAP>$text</TD> 
    <TD VALIGN="top"><input type="radio" name="type" value=$listType.name()$checked></TD>
    <TD class="PlainText"><SPAN CLASS="PlainTextBold">$listType.name()</SPAN><BR>
##$listType.description()
    </TD> 
  </TR> 
  #set $text = "&nbsp;" 
} 

  <TR> 
    <TD class="InputHeader" VALIGN="top" NOWRAP>Members:</TD> 
    <TD COLSPAN="2" class="ProjectName"><a href="/servlets/MailingListMembers?projectID=$currentProject.getID()&list=$listname&group=Subscribers">Edit Subscribers</a> | <a href="/servlets/MailingListMembers?projectID=$currentProject.getID()&list=$listname&group=Digest+Subscribers">Edit Digest Subscribers</a> | <a href="/servlets/MailingListMembers?projectID=$currentProject.getID()&list=$listname&group=Moderators">Edit Moderators</a> | <a href="/servlets/MailingListMembers?projectID=$currentProject.getID()&list=$listname&group=Allowed+Posters">Edit Allowed Posters</a></TD> 
  </TR> 
  <TR> 
    <TD class="InputHeader" VALIGN="top">Other:</TD> 
    <TD>&nbsp;</TD>
    <TD VALIGN="TOP" class="PlainText"><a HREF="/servlets/MailingListDelete?projectID=$currentProject.getID()&list=$listname">Delete Mailing List</TD>
  </TR>
  <TR>
    <TD><input type="submit" name="Button" value="Make List Changes"></TD>
    <TD><input type="reset" NAME="Button" value="Reset Form"></TD>
    <TD><input type="submit" name="Button" value="Cancel"></TD>
  </TR>
</table>
</form>

} #else {
## base permission is ProjMail - View

<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" WIDTH="100%">
  <TR> 
    <TD class="InputHeader" VALIGN="top" NOWRAP>List Name:</TD> 
    <TD COLSPAN="2" CLASS="PlainText">$listname</TD> 
  </TR> 
  <TR> 
    <TD VALIGN="TOP" class="InputHeader">Description:<BR> 
      <SPAN CLASS="PlainText">(What is the topic of this mailing list?)</SPAN> 
    </TD> 
    <TD COLSPAN="2">$description</TD>
  </TR>
  <TR> 
    <TD class="InputHeader" VALIGN="top" NOWRAP>List Type:</TD> 
    <TD COLSPAN="2" CLASS="PlainText">$listType.name()</TD>
  <TR>
    <TD WIDTH="120" CLASS="InputHeader" NOWRAP>Owner:</TD>
    <TD ALIGN="left" class="PlainText">
      $owner
    </TD>
  </TR>
</table>

}

@


1.9
log
@Removed stray cell that was pushing the Private row too mfar to the
right and affecting the rendering of following rows.
@
text
@@


1.8
log
@use the private toggle for private mailing lists, rather than
{type}-private
@
text
@a58 1
    <TD></TD>
@


1.7
log
@removed NOWRAP from a huge long table cell
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d21 1
a21 1
#if ( $allow_edits ) {
d53 1
a53 1
      <input type="checkbox" name="trailer" $trailer_checked></TD>
d58 7
@


1.6
log
@fix typo
@
text
@d33 1
a33 1
    <TD VALIGN="TOP" CLASS="InputHeader" NOWRAP>Description:<BR> 
@


1.5
log
@if you edit the templates & replace form elements, please at least
try to make sure the names are reasonable.
@
text
@d41 1
a41 1
      <input type="text" name="owner" value="$owner" size="16">&nbsp;(Required eamil address)
@


1.4
log
@someone added broken links -- presumably to make this match the mockup.
make the links functional, and remove the buttons which had preceded them.
@
text
@d36 1
a36 1
    <TD COLSPAN="2"><TEXTAREA NAME="TextArea" ROWS="7" COLS="54">$description</TEXTAREA></TD> 
@


1.3
log
@include a box to edit the owner
@
text
@d78 1
a78 1
    <TD COLSPAN="2" class="ProjectName"><a href="/servlets/MailingListMembers">Edit Subscribers</a> | <a href="/servlets/MailingListMembers">Edit Digest Subscribers</a> | <a href="/servlets/MailingListMembers">Edit Moderators</a></TD> 
a90 10
</form>

<p class="DevHeader" NOWRAP>Edit the list of:<br>
<form method="post" action="MailingListMembers">
<input type=hidden name=projectID value="$currentProject.getID()">
<input type=hidden name=list value="$listname">
<input type=submit name=group value="Subscribers">
<input type=submit name=group value="Moderators">
<input type=submit name=group value="Allowed Posters">
<input type=submit name=group value="Digest Subscribers">
@


1.2
log
@applied UI design
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d39 6
@


1.1
log
@Initial revision
@
text
@d3 1
a3 1
    <TD CLASS="Header" NOWRAP>Edit Mailing List</TD>  
a6 2


d23 1
a23 1
<form method="POST" action="$servletName">
d29 2
a30 1
    <TD CLASS="DevHeader" COLSPAN="2" NOWRAP>List Information:</TD>
a31 1

d33 2
a34 3
    <TD WIDTH="120" CLASS="InputHeader" NOWRAP>Project:</TD>
    <TD ALIGN="left" class="PlainText">
     $currentProject.getName()
d36 1
a37 1

d39 44
a82 4
    <TD WIDTH="120" CLASS="InputHeader" NOWRAP>List Name:</TD>
    <TD ALIGN="left" class="PlainText">
     $listname
    </TD>
a83 53

  <TR>
    <TD WIDTH="120" VALIGN="TOP" CLASS="InputHeader" NOWRAP>Description:</TD>
    <TD ALIGN="left" class="PlainText">
     <textarea name="description" ROWS="7" COLS="54">$description</textarea>
    </TD>
  </TR>


  <TR>
    <TD WIDTH="120" CLASS="InputHeader" NOWRAP>Optional Prefix:</TD>
    <TD ALIGN="left" class="PlainText">
      <input type=text name=prefix value="$prefix" size=40> 
    </TD>
  </TR>


  <TR>
    <TD WIDTH="120" CLASS="InputHeader" NOWRAP>Owner:</TD>
    <TD ALIGN="left" class="PlainText">
      <input type=text name=owner value="$owner" size=40>
    </TD>
  </TR>


  <TR>
    <TD WIDTH="120" CLASS="InputHeader" NOWRAP>Trailer:</TD>
    <TD ALIGN="left" class="PlainText">
      <input type=checkbox name=trailer $trailer_checked>
      <b>Shows instructions on how to unsubscribe as a footer in every message.</b>
      Strongly recommended for lists with more than 100 members.
    </TD>
  </TR>


#set $text = "List Type:"
#foreach $listType in $listTypes {
    #if ($listType.isSelected()) {
        #set $checked = " checked"
    } #else {
        #set $checked = ""
    }
  <TR>
    <TD WIDTH="120" CLASS="InputHeader" NOWRAP>$text</TD>
    <TD ALIGN="left" class="PlainText">
      <input type=radio name=type
        value=$listType.name()$checked> $listType.name()
    </TD>
  </TR>
  #set $text = "&nbsp;"
}


a84 6

<p>
<input type=submit name="Button" value="Make Changes">
<input type=reset NAME="Button" value="Reset Form">
<input type=submit name="Button" value="Cancel">
</p>
a96 6
<p class="DevHeader" NOWRAP>Other Operations</p>
<ul>
  <li><a HREF="/servlets/MailingListDelete?projectID=$currentProject.getID()&list=$listname">Delete
Mailing List</a></li>
</ul>

d100 14
a113 27
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" BORDER="0" WIDTH="100%">
  <TR>
    <TD CLASS="DevHeader" COLSPAN="2" NOWRAP>List Information:</TD>
  </TR>

  <TR>
    <TD WIDTH="120" CLASS="InputHeader" NOWRAP>Project:</TD>
    <TD ALIGN="left" class="PlainText">
      $currentProject.getName()
    </TD>
  </TR>

  <TR>
    <TD WIDTH="120" CLASS="InputHeader" NOWRAP>List Name:</TD>
    <TD ALIGN="left" class="PlainText">
      $listname
    </TD>
  </TR>

  <TR>
    <TD WIDTH="120" VALIGN="TOP" CLASS="InputHeader" NOWRAP>Description:</TD>
    <TD ALIGN="left" class="PlainText">
      $description
    </TD>
  </TR>


a119 1

@


1.1.1.1
log
@Merging newhelm tree into helm, as per IZ issue #557.  Previous major version of helm is tagged TIGRIS_NOV_11_2000.
@
text
@@


1.1.1.2
log
@Replacing the HEAD with the HELM_PEER_PORT_BRANCH.
@
text
@d3 1
a3 1
    <TD CLASS="Header" NOWRAP>Edit Mailing List: <SPAN CLASS="ProjectNameHeader">$currentProject.getName()</SPAN></TD>  
d7 2
d25 1
a25 1
<form method="POST" action="$servletName" NAME="MailingListEditForm">
d31 1
a31 2
    <TD CLASS="InputHeader" VALIGN="top" NOWRAP>List Name:</TD>
    <TD COLSPAN="2" class="PlainText">$listname</TD>
d33 1
d35 3
a37 2
    <TD VALIGN="TOP" CLASS="InputHeader">Description:<BR> 
      <SPAN CLASS="PlainText">(What is the topic of this mailing list?)</SPAN> 
a38 1
    <TD COLSPAN="2"><TEXTAREA NAME="description" ROWS="7" COLS="54">$description</TEXTAREA></TD> 
d40 1
d42 3
a44 3
    <TD CLASS="InputHeader" VALIGN="top" NOWRAP>Owner Email:</TD>
    <TD COLSPAN="2" class="PlainText">
      <input type="text" name="owner" value="$owner" size="16">&nbsp;(Required email address)
d47 1
d49 46
a94 44
    <TD CLASS="InputHeader" VALIGN="top" NOWRAP>Optional Prefix:</TD>
    <TD COLSPAN="2" class="PlainText">
      <input type="text" name="prefix" value="$prefix" size="16">&nbsp;(Optional, shown on the subject line of all messages) 
    </TD>
  </TR>
  <TR> 
    <TD VALIGN="top" CLASS="InputHeader" NOWRAP>Trailer:</TD> 
    <TD VALIGN="TOP" class="PlainText"> 
      <input type="checkbox" name="trailer" $trailer_checked></TD>
    <TD class="PlainText"><SPAN CLASS="PlainTextBold">Shows instructions on how to unsubscribe as a footer in every message.</SPAN></BR>
      Strongly recommended for lists with more than 100 members. 
    </TD> 
  </TR> 
#set $text = "List Type:" 
#foreach $listType in $listTypes  
{ 
    #if ($listType.isSelected()) { 
        #set $checked = " checked" 
    } #else { 
        #set $checked = "" 
    } 
  <TR> 
    <TD CLASS="InputHeader" VALIGN="top" NOWRAP>$text</TD> 
    <TD VALIGN="top"><input type="radio" name="type" value=$listType.name()$checked></TD>
    <TD class="PlainText"><SPAN CLASS="PlainTextBold">$listType.name()</SPAN><BR>
##$listType.description()
    </TD> 
  </TR> 
  #set $text = "&nbsp;" 
} 

  <TR> 
    <TD class="InputHeader" VALIGN="top" NOWRAP>Members:</TD> 
    <TD COLSPAN="2" class="ProjectName"><a href="/servlets/MailingListMembers?projectID=$currentProject.getID()&list=$listname&group=Subscribers">Edit Subscribers</a> | <a href="/servlets/MailingListMembers?projectID=$currentProject.getID()&list=$listname&group=Digest+Subscribers">Edit Digest Subscribers</a> | <a href="/servlets/MailingListMembers?projectID=$currentProject.getID()&list=$listname&group=Moderators">Edit Moderators</a> | <a href="/servlets/MailingListMembers?projectID=$currentProject.getID()&list=$listname&group=Allowed+Posters">Edit Allowed Posters</a></TD> 
  </TR> 
  <TR> 
    <TD class="InputHeader" VALIGN="top">Other:</TD> 
    <TD>&nbsp;</TD>
    <TD VALIGN="TOP" class="PlainText"><a HREF="/servlets/MailingListDelete?projectID=$currentProject.getID()&list=$listname">Delete Mailing List</TD>
  </TR>
  <TR>
    <TD><input type="submit" name="Button" value="Make List Changes"></TD>
    <TD><input type="reset" NAME="Button" value="Reset Form"></TD>
    <TD><input type="submit" name="Button" value="Cancel"></TD>
d96 4
d101 16
d119 6
d128 27
a154 14
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" WIDTH="100%">
  <TR> 
    <TD class="InputHeader" VALIGN="top" NOWRAP>List Name:</TD> 
    <TD COLSPAN="2" CLASS="PlainText">$listname</TD> 
  </TR> 
  <TR> 
    <TD VALIGN="TOP" class="InputHeader">Description:<BR> 
      <SPAN CLASS="PlainText">(What is the topic of this mailing list?)</SPAN> 
    </TD> 
    <TD COLSPAN="2">$description</TD>
  </TR>
  <TR> 
    <TD class="InputHeader" VALIGN="top" NOWRAP>List Type:</TD> 
    <TD COLSPAN="2" CLASS="PlainText">$listType.name()</TD>
d161 1
@

