head	1.10;
access;
symbols;
locks; strict;
comment	@# @;


1.10
date	2001.08.27.23.16.59;	author leonardr;	state Exp;
branches;
next	1.9;

1.9
date	2001.08.20.22.29.24;	author tfahrner;	state Exp;
branches;
next	1.8;

1.8
date	2001.08.03.05.45.09;	author tfahrner;	state Exp;
branches;
next	1.7;

1.7
date	2001.07.31.01.18.41;	author tfahrner;	state Exp;
branches;
next	1.6;

1.6
date	2001.07.31.00.01.57;	author tfahrner;	state Exp;
branches;
next	1.5;

1.5
date	2001.07.30.21.59.25;	author tfahrner;	state Exp;
branches;
next	1.4;

1.4
date	2001.07.30.21.24.30;	author tfahrner;	state Exp;
branches;
next	1.3;

1.3
date	2001.07.02.23.50.50;	author tberry;	state Exp;
branches;
next	1.2;

1.2
date	2001.06.25.23.02.01;	author jefflove;	state Exp;
branches;
next	1.1;

1.1
date	2001.05.23.02.03.16;	author dlr;	state Exp;
branches;
next	;


desc
@@


1.10
log
@Corrected misprint.
@
text
@<div id="mailinglistadd" class="app">

<h3>Add New Mailing List: $currentProject.getName()</h3>

#if( $listExists || $missingFields || $validationErrors || $warnChanged )
<ul>
#foreach( $field in $missingFields )
 <li><strong class="alert">Missing required field $field</strong>
</li>
#end
#foreach( $field in $validationErrors )
 <li><strong class="alert">Validation error: $field</strong>
</li>
#end
#if( $listExists )
 <li><strong class="alert">List $listname already exists in project $currentProject.getName()</strong>
</li>
#end
#if( $warnChanged )
 <li><strong class="alert">Warning: List options have been reset to default</strong>
</li>
#end
</ul>
#end

<form method="post" action="$servletName">
<input type="hidden" name="projectID" value="$currentProject.getID()" />

<div class="axial">
<table border="1" cellspacing="2" cellpadding="3">
<tr>
 <th>* List Name</th> 
 <td><input type="text" name="listname" value="$listname" size="25" /></td>
</tr>
<tr>
 <th>* Description:<br /> 
   (Describe the topic of the mailing list)
 </th> 
 <td><textarea name="description" rows="7" cols="45">$description</textarea></td> 
</tr> 
<tr> 
 <th>* Owner</th> 
 <td><input type="text" name="owner" value="$owner" size="40" /></td> 
</tr> 
<tr> 
 <th>Prefix</th> 
 <td><input type="text" name="prefix" value="$prefix" size="16" /> Optional, shown on the subject line of all messages)</td> 
</tr> 
<tr>
 <th>Trailer</th> 
 <td><input type="checkbox" name="trailer" $trailerchecked />
 <p>Provides instructions on how to unsubscribe as a footer in every message. Strongly recommended for lists with more than 100 members.</p>
 </td> 
</tr> 
<tr>
 <th>Private</th>
 <td><input type="checkbox" name="private" $privatechecked />
 <p>Marking a mail list as private prevents non-project members from joining the list or viewing the archives.</p>
</td>
</tr>
#set( $listTypeHeader = "List Type:")
#foreach( $lt in $listTypes )
 #if( $lt.isSelected() )
     #set( $checked = 'checked="checked"' )
 #else
     #set( $checked = "" )
 #end 
<tr> 
 <th>* $listTypeHeader</th> 
 <td><input type="radio" name="type" value="$lt.name()" $checked /> <b>$lt.name()</b>
##$lt.description()
         </td>
</tr>
#set( $listTypeHeader = "&nbsp;" )
#end
<tr> 
 <th>Initial Members</th> 
 <td>Subscribers (one email address per line)
<p><textarea name="subscribers" rows="7" cols="52">$subscribers</textarea></p>
Moderators (one email address per line)
  <p><textarea name="moderators" rows="7" cols="52">$moderators</textarea></p></td> 
</tr> 
<tr> 
 <td></td> 
 <td><input type="submit" name="Button" value="Create Mailing List" /></td> 
</tr> 
</table> 
</div>
</form> 
</div>
@


1.9
log
@first wave of ui revisions. expect minor breakage. working on it.
@
text
@d61 1
a61 1
#set( $listTypeHeader = "List )Type:"
@


1.8
log
@getting rid of "tasks" nav; backing out of earlier ill-considered commit
@
text
@a1 3
<h2>
 #parse( "Nomen.vm" )
</h2>
d32 1
a32 1
 <th>* List Name:</th> 
d42 1
a42 1
 <th>* Owner:</th> 
d46 1
a46 1
 <th>Prefix:</th> 
d50 1
a50 1
 <th>Trailer:</th> 
d56 1
a56 1
 <th>Private:</th>
d77 1
a77 1
 <th>Initial Members:</th> 
@


1.7
log
@included "task nav" below headlines
@
text
@a4 3
#if( !$loginUser.isAnonymous() && $servletTaskBar.available($servletName))
#parse("$servletTaskBar.getPath($servletName)")
#end
@


1.6
log
@pulled admin options, added headlines
@
text
@d5 4
@


1.5
log
@html usage revision to synch with scarab
@
text
@d2 3
@


1.4
log
@removed dependency on CSS for differentiation of alerts
@
text
@d1 1
a1 1
<div id="mailinglistadd">
d29 1
a29 1
<table border="0" cellspacing="0" cellpadding="2">
@


1.3
log
@Edited on screen text.

Issue number:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d5 1
a5 1
<ul class="alert">
d7 2
a8 1
 <li>Missing required field <strong>$field</strong></li>
d11 2
a12 1
 <li>Validation error: <strong>$field</strong></li>
d15 2
a16 1
 <li>List <strong>$listname</strong> already exists in project $currentProject.getName()</li>
d19 2
a20 1
 <li>Warning: List options have been reset to default</li>
@


1.2
log
@html usage revision
@
text
@d32 1
a32 1
   (What is the topic of this mailing list?)
d47 1
a47 1
 <p>Shows instructions on how to unsubscribe as a footer in every message. Strongly recommended for lists with more than 100 members.</p>
d53 1
a53 1
 <p>Whether people can subscribe themselves or view the archives</p>
@


1.1
log
@Adding Velocity templates.
@
text
@d1 2
a2 5
<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>
d4 2
a5 2
<ul>
<font color=red>
d7 1
a7 1
    <li>Missing required field <strong>$field</strong>
d10 1
a10 1
    <li>Validation error: <strong>$field</strong>
d13 1
a13 1
    <li>List <strong>$listname</strong> already exists in project $currentProject.getName()
d16 1
a16 1
    <li>Warning: List options have been reset to default
a17 1
</font>
d19 1
d21 2
d24 32
a55 40
<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>

d58 8
a65 10
    #if( $lt.isSelected() )
        #set( $checked = " )checked" 
    #else
        #set( $checked = "" )
    #end 
  <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>
d67 2
a68 2
            </TD>
  </TR>
d71 15
a85 29
  <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> 


@

