head	1.6;
access;
symbols
	TIGRIS_1_1_0RC2:1.5
	TIGRIS_1_1_0RC1:1.5
	TIGRIS_1_1:1.5.0.4
	TIGRIS_1_0_8:1.5
	TIGRIS_1_0_8RC3:1.5
	TIGRIS_1_0_8RC2:1.5
	TIGRIS_1_0_8RC1:1.5
	TIGRIS_1_0_7:1.5
	TIGRIS_1_0_7RC3:1.5
	TIGRIS_1_0_7RC2:1.5
	TIGRIS_1_0_7RC1:1.5
	TIGRIS_1_0_6:1.5
	TIGRIS_1_0_6RC5:1.5
	TIGRIS_1_0_6RC4:1.5
	TIGRIS_1_0_6RC3:1.5
	TIGRIS_1_0_6RC2:1.5
	TIGRIS_1_0_6RC1:1.5
	TIGRIS_1_0_5:1.5
	TIGRIS_1_0_5RC6:1.5
	TIGRIS_1_0_5RC5:1.5
	TIGRIS_1_0_5RC4:1.5
	TIGRIS_1_0_5RC3:1.5
	TIGRIS_1_0_5RC2:1.5
	TIGRIS_1_0_5RC1:1.5
	TIGRIS_1_0_4:1.5
	TIGRIS_1_0_3:1.5
	TIGRIS_1_0_2:1.5
	TIGRIS_1_0_1:1.5
	TIGRIS_1_0:1.5.0.6
	TIGRIS_1_0_0:1.5
	TIGRIS_1_0_0_RC1:1.5.0.2
	dlr:1.1.1
	TIGRIS_0_9_2_4:1.4
	TIGRIS_0_9_2_3:1.4
	HELM_PEER_PORT_BRANCH:1.1.1.2
	TURBINE_PEER:1.4
	TIGRIS_0_9_2_1:1.4
	TIGRIS_0_9_2:1.4.0.6
	TIGRIS_0_9_0:1.4.0.4
	TIGRIS_0_8_4:1.4.0.2
	NEWHELM:1.1.1.1
	TIGRIS_NOV_12_2000:1.1.1;
locks; strict;
comment	@# @;


1.6
date	2001.05.23.02.04.15;	author dlr;	state dead;
branches;
next	1.5;

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

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

1.3
date	2000.11.29.05.28.39;	author susank;	state Exp;
branches;
next	1.2;

1.2
date	2000.11.22.00.36.27;	author edk;	state Exp;
branches;
next	1.1;

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

1.1.1.1
date	2000.11.12.21.18.26;	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.6
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>Add New Mailing List: <SPAN CLASS="ProjectNameHeader">$currentProject.getName()</SPAN></TD>
  </TR>
</TABLE>

<ul>
<font color=red>
#foreach $field in $missingFields {
    <li>Missing required field <strong>$field</strong>
}
#foreach $field in $validationErrors {
    <li>Validation error: <strong>$field</strong>
}
#if ($listExists) {
    <li>List <strong>$listname</strong> already exists in project $currentProject.getName()
}
#if ($warnChanged) {
    <li>Warning: List options have been reset to default
}
</font>
</ul>


<form method="POST" ACTION="$servletName">
<input type="hidden" name="projectID" value="$currentProject.getID()">

<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" WIDTH="100%">
  <TR>
    <TD VALIGN="top"><span class="Asterisk">*</span></TD> 
    <TD class="InputHeader" VALIGN="top">List Name:</TD> 
    <TD COLSPAN="2"><input type="text" name="listname" value="$listname" size="25"></TD>
  </TR>
  <TR>
    <TD VALIGN="top"><span class="Asterisk">*</span></TD> 
    <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="45">$description</textarea></TD> 
  </TR> 
  <TR> 
    <TD VALIGN="top"><span class="Asterisk">*</span></TD> 
    <TD class="InputHeader" VALIGN="top">Owner:</TD> 
    <TD COLSPAN="2"><input type="text" name="owner" value="$owner" size="40"></TD> 
  </TR> 
  <TR> 
    <TD></TD>
    <TD class="InputHeader" VALIGN="top">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></TD>
    <TD class="InputHeader" VALIGN="top">Trailer:</TD> 
    <TD VALIGN="TOP" class="PlainText"><INPUT TYPE="CHECKBOX" NAME="trailer" $trailerChecked></TD> 
    <TD class="PlainText"><b>Shows instructions on how to unsubscribe as a footer in every message.</b><BR> 
            Strongly recommended for lists with more than 100 members.</TD> 
  </TR> 
  <TR>
    <TD></TD>
    <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 $listTypeHeader="List Type:"
#foreach $lt in $listTypes { 
    #if ($lt.isSelected()) { 
        #set $checked = " checked" 
    } #else { 
        #set $checked = "" 
    } 
  <TR> 
    <TD VALIGN="top"><span class="Asterisk">*</span></TD> 
    <TD class="InputHeader" VALIGN="top">$listTypeHeader</TD> 
    <TD VALIGN="TOP"><input type="radio" name="type" value="$lt.name()" $checked></TD> 
    <TD class="PlainText"><b>$lt.name()</b><BR>
##$lt.description()
            </TD>
  </TR>
#set $listTypeHeader="&nbsp;"
}
  <TR> 
    <TD></TD>
    <TD class="InputHeader" VALIGN="top" NOWRAP>Initial Members:</TD> 
    <TD COLSPAN="2" class="PlainText">&nbsp;Subscribers (one email address per line)</TD> 
  </TR> 
  <TR> 
    <TD></TD>
    <TD>&nbsp;</TD> 
    <TD COLSPAN="2">&nbsp;<TEXTAREA NAME="subscribers" ROWS="7" COLS="52">$subscribers</TEXTAREA></TD> 
  </TR> 
  <TR> 
    <TD></TD>
    <TD>&nbsp;</TD> 
    <TD COLSPAN="2" class="PlainText">&nbsp;Moderators (one email address per line)</TD> 
  </TR> 
  <TR> 
    <TD></TD>
    <TD>&nbsp;</TD> 
    <TD COLSPAN="2">&nbsp;<TEXTAREA NAME="moderators" ROWS="7" COLS="52">$moderators</TEXTAREA></TD> 
  </TR> 
  <TR> 
    <TD></TD>
    <TD>&nbsp;</TD> 
    <TD COLSPAN="2"><INPUT TYPE="submit" NAME="Button" VALUE="Create Mailing List"></TD> 
  </TR> 
</TABLE> 
</FORM> 


@


1.5
log
@use the private toggle for private mailing lists, rather than
{type}-private
@
text
@@


1.4
log
@getLongDescription isn't a valid method for ListElements.

if you add something like that to the template, and it doesn't work,
please tell the servlet author so they can change code to accomodate the
new template requirements.  i'm commenting this out so it doesn't produce
errors, as a temporary measure until i can change the relevant java code
to provide the appropriate information
@
text
@d54 1
a54 4
    <TD VALIGN="TOP" class="PlainText"><INPUT TYPE="CHECKBOX" NAME="trailer" 
#if ($trailerChecked){
    checked
}></TD> 
d58 6
@


1.3
log
@added required field asteriks
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d74 2
a75 1
            $lt.getLongDescription</TD>
@


1.2
log
@handle the trailer checkbox
@
text
@d30 21
d52 3
a54 19
          <TD class="InputHeader" VALIGN="top">List Name:</TD> 
          <TD COLSPAN="2"><input type="text" name="listname" value="$listname" size="25"></TD>
  </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="45">$description</textarea></TD> 
        </TR> 
        <TR> 
          <TD class="InputHeader" VALIGN="top">Owner:</TD> 
          <TD COLSPAN="2"><input type="text" name="owner" value="$owner" size="40"></TD> 
        </TR> 
        <TR> 
          <TD class="InputHeader" VALIGN="top">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 class="InputHeader" VALIGN="top">Trailer:</TD> 
          <TD VALIGN="TOP" class="PlainText"><INPUT TYPE="CHECKBOX" NAME="trailer" 
d58 1
a58 1
          <TD class="PlainText"><b>Shows instructions on how to unsubscribe as a footer in every message.</b><BR> 
d60 1
a60 1
        </TR> 
d69 5
a73 4
        <TR> 
          <TD class="InputHeader" VALIGN="top">$listTypeHeader</TD> 
          <TD VALIGN="TOP"><input type="radio" name="type" value="$lt.name()" $checked></TD> 
          <TD class="PlainText"><b>$lt.name()</b><BR>
d75 1
a75 1
        </TR>
d78 27
a104 23

        <TR> 
          <TD class="InputHeader" VALIGN="top" NOWRAP>Initial Members:</TD> 
          <TD COLSPAN="2" class="PlainText">&nbsp;Subscribers (one email address per line)</TD> 
        </TR> 
        <TR> 
          <TD>&nbsp;</TD> 
          <TD COLSPAN="2">&nbsp;<TEXTAREA NAME="subscribers" ROWS="7" COLS="52">$subscribers</TEXTAREA></TD> 
        </TR> 
        <TR> 
          <TD>&nbsp;</TD> 
          <TD COLSPAN="2" class="PlainText">&nbsp;Moderators (one email address per line)</TD> 
        </TR> 
        <TR> 
          <TD>&nbsp;</TD> 
          <TD COLSPAN="2">&nbsp;<TEXTAREA NAME="moderators" ROWS="7" COLS="52">$moderators</TEXTAREA></TD> 
        </TR> 
        <TR> 
          <TD>&nbsp;</TD> 
          <TD COLSPAN="2"><INPUT TYPE="submit" NAME="Button" VALUE="Create Mailing List"></TD> 
        </TR> 
      </TABLE> 
      </FORM> 
@


1.1
log
@Initial revision
@
text
@d49 4
a52 1
          <TD VALIGN="TOP" class="PlainText"><INPUT TYPE="CHECKBOX" NAME="trailer"></TD> 
@


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
@d30 3
a32 3
    <TD VALIGN="top"><span class="Asterisk">*</span></TD> 
    <TD class="InputHeader" VALIGN="top">List Name:</TD> 
    <TD COLSPAN="2"><input type="text" name="listname" value="$listname" size="25"></TD>
d34 17
a50 25
  <TR>
    <TD VALIGN="top"><span class="Asterisk">*</span></TD> 
    <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="45">$description</textarea></TD> 
  </TR> 
  <TR> 
    <TD VALIGN="top"><span class="Asterisk">*</span></TD> 
    <TD class="InputHeader" VALIGN="top">Owner:</TD> 
    <TD COLSPAN="2"><input type="text" name="owner" value="$owner" size="40"></TD> 
  </TR> 
  <TR> 
    <TD></TD>
    <TD class="InputHeader" VALIGN="top">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></TD>
    <TD class="InputHeader" VALIGN="top">Trailer:</TD> 
    <TD VALIGN="TOP" class="PlainText"><INPUT TYPE="CHECKBOX" NAME="trailer" 
#if ($trailerChecked){
    checked
}></TD> 
    <TD class="PlainText"><b>Shows instructions on how to unsubscribe as a footer in every message.</b><BR> 
d52 1
a52 1
  </TR> 
d61 6
a66 8
  <TR> 
    <TD VALIGN="top"><span class="Asterisk">*</span></TD> 
    <TD class="InputHeader" VALIGN="top">$listTypeHeader</TD> 
    <TD VALIGN="TOP"><input type="radio" name="type" value="$lt.name()" $checked></TD> 
    <TD class="PlainText"><b>$lt.name()</b><BR>
##$lt.description()
            </TD>
  </TR>
d69 23
a91 27
  <TR> 
    <TD></TD>
    <TD class="InputHeader" VALIGN="top" NOWRAP>Initial Members:</TD> 
    <TD COLSPAN="2" class="PlainText">&nbsp;Subscribers (one email address per line)</TD> 
  </TR> 
  <TR> 
    <TD></TD>
    <TD>&nbsp;</TD> 
    <TD COLSPAN="2">&nbsp;<TEXTAREA NAME="subscribers" ROWS="7" COLS="52">$subscribers</TEXTAREA></TD> 
  </TR> 
  <TR> 
    <TD></TD>
    <TD>&nbsp;</TD> 
    <TD COLSPAN="2" class="PlainText">&nbsp;Moderators (one email address per line)</TD> 
  </TR> 
  <TR> 
    <TD></TD>
    <TD>&nbsp;</TD> 
    <TD COLSPAN="2">&nbsp;<TEXTAREA NAME="moderators" ROWS="7" COLS="52">$moderators</TEXTAREA></TD> 
  </TR> 
  <TR> 
    <TD></TD>
    <TD>&nbsp;</TD> 
    <TD COLSPAN="2"><INPUT TYPE="submit" NAME="Button" VALUE="Create Mailing List"></TD> 
  </TR> 
</TABLE> 
</FORM> 
@

