head	1.24;
access;
symbols
	TIGRIS_1_1_0RC2:1.20
	TIGRIS_1_1_0RC1:1.20
	TIGRIS_1_1:1.20.0.4
	TIGRIS_1_0_8:1.20
	TIGRIS_1_0_8RC3:1.20
	TIGRIS_1_0_8RC2:1.20
	TIGRIS_1_0_8RC1:1.20
	TIGRIS_1_0_7:1.20
	TIGRIS_1_0_7RC3:1.20
	TIGRIS_1_0_7RC2:1.20
	TIGRIS_1_0_7RC1:1.20
	TIGRIS_1_0_6:1.20
	TIGRIS_1_0_6RC5:1.20
	TIGRIS_1_0_6RC4:1.20
	TIGRIS_1_0_6RC3:1.20
	TIGRIS_1_0_6RC2:1.20
	TIGRIS_1_0_6RC1:1.20
	TIGRIS_1_0_5:1.20
	TIGRIS_1_0_5RC6:1.20
	TIGRIS_1_0_5RC5:1.20
	TIGRIS_1_0_5RC4:1.20
	TIGRIS_1_0_5RC3:1.20
	TIGRIS_1_0_5RC2:1.20
	TIGRIS_1_0_5RC1:1.20
	TIGRIS_1_0_4:1.20
	TIGRIS_1_0_3:1.20
	TIGRIS_1_0_2:1.20
	TIGRIS_1_0_1:1.20
	TIGRIS_1_0:1.20.0.6
	TIGRIS_1_0_0:1.20
	TIGRIS_1_0_0_RC1:1.20.0.2
	dlr:1.1.1
	TIGRIS_0_9_2_4:1.16
	TIGRIS_0_9_2_3:1.16
	HELM_PEER_PORT_BRANCH:1.1.1.2
	TURBINE_PEER:1.16
	TIGRIS_0_9_2_1:1.16
	TIGRIS_0_9_2:1.16.0.4
	TIGRIS_0_9_0:1.16.0.2
	TIGRIS_0_8_4:1.12.0.2
	NEWHELM:1.1.1.1
	TIGRIS_NOV_12_2000:1.1.1;
locks; strict;
comment	@# @;


1.24
date	2001.05.23.02.04.15;	author dlr;	state dead;
branches;
next	1.23;

1.23
date	2001.05.22.23.37.15;	author elicia;	state Exp;
branches;
next	1.22;

1.22
date	2001.05.22.19.16.02;	author ms;	state Exp;
branches;
next	1.21;

1.21
date	2001.03.29.23.45.02;	author susank;	state Exp;
branches;
next	1.20;

1.20
date	2001.03.05.19.34.25;	author elicia;	state Exp;
branches;
next	1.19;

1.19
date	2001.02.21.01.08.31;	author dlr;	state Exp;
branches;
next	1.18;

1.18
date	2001.02.10.01.19.27;	author ms;	state Exp;
branches;
next	1.17;

1.17
date	2001.02.06.20.06.43;	author elicia;	state Exp;
branches;
next	1.16;

1.16
date	2000.12.15.23.57.23;	author elicia;	state Exp;
branches
	1.16.6.1;
next	1.15;

1.15
date	2000.12.15.01.19.20;	author kmaples;	state Exp;
branches;
next	1.14;

1.14
date	2000.12.12.23.04.08;	author elicia;	state Exp;
branches;
next	1.13;

1.13
date	2000.12.05.00.03.37;	author susank;	state Exp;
branches;
next	1.12;

1.12
date	2000.11.29.18.24.52;	author cameron;	state Exp;
branches;
next	1.11;

1.11
date	2000.11.29.05.39.50;	author susank;	state Exp;
branches;
next	1.10;

1.10
date	2000.11.28.22.02.40;	author elicia;	state Exp;
branches;
next	1.9;

1.9
date	2000.11.28.20.21.10;	author cameron;	state Exp;
branches;
next	1.8;

1.8
date	2000.11.28.18.31.58;	author cameron;	state Exp;
branches;
next	1.7;

1.7
date	2000.11.23.04.19.05;	author elicia;	state Exp;
branches;
next	1.6;

1.6
date	2000.11.22.02.22.48;	author elicia;	state Exp;
branches;
next	1.5;

1.5
date	2000.11.17.01.52.15;	author elicia;	state Exp;
branches;
next	1.4;

1.4
date	2000.11.16.04.11.42;	author elicia;	state Exp;
branches;
next	1.3;

1.3
date	2000.11.14.01.38.44;	author elicia;	state Exp;
branches;
next	1.2;

1.2
date	2000.11.14.00.43.44;	author elicia;	state Exp;
branches;
next	1.1;

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

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

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

1.16.6.1
date	2001.02.16.22.48.26;	author elicia;	state Exp;
branches;
next	;


desc
@@


1.24
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><b>Add News Item:</b> <SPAN CLASS="ProjectNameHeader"><A HREF="$currentProject.getProjectHome()">$currentProject.getName()</a></SPAN></TD>
  </TR>
</TABLE>

<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" BORDER="0" WIDTH="100%">
<FORM ACTION="ProjectNewsAdd" METHOD="POST" ENCTYPE="application/x-www-form-urlencoded">
  <TR>
    <TD colspan="3"><span class="Asterisk">*</span> <span class="PlainText">Required fields</span></TD>
  </TR>
  <TR>
    <TD></TD>
    <TD class="InputHeader" valign="top" nowrap>
      <B>Date of event:</B>
    </TD>
    <TD WIDTH="100%" VALIGN="TOP" class="PlainText">
## Set date defaults as current date
## Unless we have returned to this page because of a field error
#if ($errors)
{
  #set $defaultMonth = $event_month
  #set $defaultDay = $event_day
  #set $defaultYear = $event_year
} #else {
  #set $defaultMonth = $current_month
  #set $defaultDay = $current_day
  #set $defaultYear = $current_year
}
      <SELECT name = "event_month">
      #parse "$SANDBOX;/helm/templates/org/tigris/helm/project/SelectMonth.wm"
      </SELECT>
      &nbsp;
      <SELECT name="event_day">
      #parse "$SANDBOX;/helm/templates/org/tigris/helm/project/SelectDay.wm"
      </SELECT>
      &nbsp;
#if ($isDecember)
{
      <SELECT name="event_year">
      #parse "$SANDBOX;/helm/templates/org/tigris/helm/project/SelectYear.wm"
      </SELECT>
}
          </TD>
  </TR>

  <TR>
    <TD VALIGN="top"><span class="Asterisk">*</span></TD> 
    <TD class="InputHeader" VALIGN="top"><B>Headline:</B></TD>
    <TD WIDTH="100%" VALIGN="TOP"><TEXTAREA NAME="headline" ROWS="2" COLS="45">$headline</TEXTAREA>
    <BR>
    <SPAN class="PlainText">(You can include html markup in this field.)</SPAN></TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>&nbsp;</TD>
    <TD WIDTH="100%">&nbsp;</TD>
  </TR>

  <TR>
    <TD VALIGN="top"></TD> 
    <TD class="InputHeader" VALIGN="TOP"><B>Body:</B></TD>
    <TD WIDTH="100%" VALIGN="TOP"><TEXTAREA wrap="physical" NAME="body" ROWS="18" COLS="45">$body</TEXTAREA>
    <BR>
       <SPAN class="PlainText">(You can include html markup in this field.)</SPAN></TD>
  </TR>

  <TR>
    <TD></TD>
    <TD>&nbsp;</TD>
    <TD WIDTH="100%">&nbsp;</TD>
  </TR>
  <TR>
    <TD VALIGN="top"></TD> 
    <TD class="InputHeader" VALIGN="TOP"><B>Image URL:</B></TD>
    <TD WIDTH="100%" VALIGN="TOP"><INPUT TYPE="TEXT" wrap="physical" NAME="image_url" SIZE="50" MAXWIDTH="128">$image_url
    </TD>
  </TR>

  <TR>
    <TD></TD>
    <TD>&nbsp;</TD>
    <TD WIDTH="100%">&nbsp;</TD>
  </TR>
  <TR>
    <TD VALIGN="top"></TD> 
    <TD class="InputHeader" VALIGN="TOP"><B>Original Article URL:</B></TD>
    <TD WIDTH="100%" VALIGN="TOP"><INPUT TYPE="TEXT" wrap="physical" NAME="original_article_url" SIZE="50">$original_article_url
    </TD>
  </TR>

  <TR>
    <TD></TD>
    <TD>&nbsp;</TD>
    <TD WIDTH="100%"><input type="Submit" name="Button" value="Add News Item"><input type="Submit" name="Button" value="Advanced Options"></TD>

  </TR>
</FORM>
</TABLE>


@


1.23
log
@started making changes for new ProjectDocument UI.  checking in unfinished so that dlr can convert to velocity templates
@
text
@@


1.22
log
@only let year be selected in december
@
text
@d61 1
a61 1
    <TD VALIGN="top"><span class="Asterisk">*</span></TD> 
d66 24
@


1.21
log
@merges UI cleanup changes from sc10inst
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d38 2
d43 1
@


1.20
log
@tweaked spacing, fonts, layout, etc.
@
text
@d3 1
a3 1
    <TD class="Header" nowrap>Add News Item: <SPAN CLASS="ProjectNameHeader"><A HREF="$currentProject.getProjectHome()">$currentProject.getName()</a></SPAN></TD>
@


1.19
log
@This is the highest revision from the HELM_PEER_PORT_BRANCH.  The previous import caused too many conflicts to resolve manually
@
text
@d17 1
a17 1
    <TD WIDTH="100%" VALIGN="TOP">
@


1.18
log
@fixed npe from being displayed in textarea following the peer branch template
@
text
@d47 1
a47 2
    <TD WIDTH="100%" VALIGN="TOP"><TEXTAREA NAME="headline" ROWS="2"
COLS="45">#if ($errors){$headline}</TEXTAREA>
d60 1
a60 2
    <TD WIDTH="100%" VALIGN="TOP"><TEXTAREA wrap="physical" NAME="body"
ROWS="18" COLS="45">#if ($errors){$body}</TEXTAREA>
@


1.17
log
@broke up add and edit into two steps (advanced options optional)
@
text
@d47 2
a48 1
    <TD WIDTH="100%" VALIGN="TOP"><TEXTAREA NAME="headline" ROWS="2" COLS="45">$headline</TEXTAREA>
d61 2
a62 1
    <TD WIDTH="100%" VALIGN="TOP"><TEXTAREA wrap="physical" NAME="body" ROWS="18" COLS="45">$body</TEXTAREA>
@


1.16
log
@changed links to support vhosting and non-vhosting modes
@
text
@d43 1
d47 1
a47 1
    <TD WIDTH="100%" VALIGN="TOP"><TEXTAREA NAME="headline" ROWS="2" COLS="45">#if ($errors) {$headline}</TEXTAREA>
d56 1
d60 1
a60 1
    <TD WIDTH="100%" VALIGN="TOP"><TEXTAREA wrap="physical" NAME="body" ROWS="18" COLS="45">#if ($errors){$body}</TEXTAREA>
d64 1
d68 2
a69 90
    <TD WIDTH="100%">&nbsp;</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD WIDTH="210" class="InputHeader" VALIGN="TOP">
      <B>Publish:</B>
    </TD>
    <TD WIDTH="100%" VALIGN="TOP" class="InputHeader">
## Set date defaults as current date
## In case of error, set to user-entered values
## If they had selected "immediately", default to today's date
#if (($publish.equals("immediately")) || (!$errors))
{
  #set $defaultMonth = $current_month
  #set $defaultDay = $current_day
  #set $defaultYear = $current_year
} #else {
  #set $defaultMonth = $publish_month
  #set $defaultDay = $publish_day
  #set $defaultYear = $publish_year
}
         #if (($publish.equals("immediately")) || (!$errors))
         {
           <INPUT name="publish" type="radio" value="immediately" CHECKED >Immediately&nbsp;
           <BR>
           <INPUT name="publish" type="radio" value="date">On date:
      } #else {
           <INPUT name="publish" type="radio" value="immediately">Immediately&nbsp;
           <BR>
           <INPUT name="publish" type="radio" value="date" CHECKED>On date:
      }
      <SELECT name = "publish_month">
      #parse "$SANDBOX;/helm/templates/org/tigris/helm/project/SelectMonth.wm"
      </SELECT>
      &nbsp;
      <SELECT name="publish_day">
      #parse "$SANDBOX;/helm/templates/org/tigris/helm/project/SelectDay.wm"
      </SELECT>
      &nbsp;
      <SELECT name="publish_year">
      #parse "$SANDBOX;/helm/templates/org/tigris/helm/project/SelectYear.wm"
      </SELECT>
          </TD>
  </TR>
  <TR>
    <TD></TD>
    <TD class="InputHeader" VALIGN="TOP">
      <B>Remove:</B>
    </TD>
    <TD WIDTH="100%" VALIGN="TOP" class="InputHeader">
## Set date defaults as current date plus a month
## In case of error, set to user-entered values
## If they had selected "never", default to one month from now
#if (($remove.equals("never")) || (!$errors))
{
  #set $defaultMonth = $default_remove_month
  #set $defaultDay = $default_remove_day
  #set $defaultYear = $default_remove_year
} #else {
  #set $defaultMonth = $remove_month
  #set $defaultDay = $remove_day
  #set $defaultYear = $remove_year
}
         #if (($remove.equals("never")) || (!$errors))
         {
           <INPUT name="remove" type="radio" value="never" CHECKED >Never&nbsp;
           <BR>
           <INPUT name="remove" type="radio" value="date">On date:
         } #else {
           <INPUT name="remove" type="radio" value="never" >Never&nbsp;
           <BR>
           <INPUT name="remove" type="radio" value="date" CHECKED>On date:
         }
      <SELECT name = "remove_month">
      #parse "$SANDBOX;/helm/templates/org/tigris/helm/project/SelectMonth.wm"
      </SELECT>
      &nbsp;
      <SELECT name="remove_day">
      #parse "$SANDBOX;/helm/templates/org/tigris/helm/project/SelectDay.wm"
      </SELECT>
      &nbsp;
      <SELECT name="remove_year">
      #parse "$SANDBOX;/helm/templates/org/tigris/helm/project/SelectYear.wm"
      </SELECT>
          </TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>&nbsp;</TD>
    <TD WIDTH="100%"><input type="hidden" name="projectID" value="$currentProject.getID()"><input type="Submit" name="Button" value="Add News Item"></TD>
@


1.16.6.1
log
@ported to turbine
@
text
@a42 1

d46 1
a46 1
    <TD WIDTH="100%" VALIGN="TOP"><TEXTAREA NAME="headline" ROWS="2" COLS="45">$headline</TEXTAREA>
a54 1

d58 1
a58 1
    <TD WIDTH="100%" VALIGN="TOP"><TEXTAREA wrap="physical" NAME="body" ROWS="18" COLS="45">$body</TEXTAREA>
a61 1

d65 90
a154 2
    <TD WIDTH="100%"><input type="Submit" name="Button" value="Add News Item"><input type="Submit" name="Button" value="Advanced Options"></TD>

@


1.15
log
@Changed wrap type to physical so that when displayed through eyebrowse, the
lines don't trail endlessly to the right.
@
text
@d3 1
a3 1
    <TD class="Header" nowrap>Add News Item: <SPAN CLASS="ProjectNameHeader"><A HREF="/servlets/ProjectHome?projectID=$currentProject.getID()">$currentProject.getName()</a></SPAN></TD>
@


1.14
log
@setting removal date default to one month from now
@
text
@d58 1
a58 1
    <TD WIDTH="100%" VALIGN="TOP"><TEXTAREA wrap="virtual" NAME="body" ROWS="18" COLS="45">#if ($errors){$body}</TEXTAREA>
@


1.13
log
@changed project name in title to link to ProjectHome
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d121 2
a122 2
  #set $defaultDay = $current_day
  #set $defaultYear = $current_year
@


1.12
log
@fixed table breakage. added requried fields, reguired fields label.
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d3 1
a3 1
    <TD class="Header" nowrap>Add News Item: <SPAN CLASS="ProjectNameHeader">$currentProject.getName()</SPAN></TD>
@


1.11
log
@added required field asteriks
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d1 1
a1 1
<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="3" BORDER="0" WIDTH="100%">
d7 1
a7 1
<TABLE BORDER="0">
d10 6
a15 2
    <TD WIDTH="210" class="InputHeader" VALIGN="MIDDLE">
      <P ALIGN="RIGHT"><B>Date&nbsp;of&nbsp;event:</B>
d17 1
a17 1
    <TD WIDTH="90%" VALIGN="TOP">
d45 1
a45 1
    <TD class="InputHeader" VALIGN="top"><P ALIGN="right"><B>Headline:</B></TD>
d57 1
a57 1
    <TD class="InputHeader" VALIGN="TOP"><P ALIGN="right"><B>Body:</B></TD>
d70 3
a72 3
            <P ALIGN="right"><B>Publish:</B>
          </TD>
    <TD WIDTH="90%" VALIGN="TOP" class="InputHeader">
d111 4
a114 4
    <TD WIDTH="210" class="InputHeader" VALIGN="TOP">
             <P ALIGN="right"><B>Remove:</B>
          </TD>
    <TD WIDTH="90%" VALIGN="TOP" class="InputHeader">
@


1.10
log
@pre-populating fields with correct values
@
text
@d9 5
a13 5
	<TR>
		<TD WIDTH="210" class="InputHeader" VALIGN="MIDDLE">
			<P ALIGN="RIGHT"><B>Date&nbsp;of&nbsp;event:</B>
		</TD>
		<TD WIDTH="90%" VALIGN="TOP">
d26 43
a68 38
			<SELECT name = "event_month">
			#parse "$SANDBOX;/helm/templates/org/tigris/helm/project/SelectMonth.wm"
			</SELECT>
			&nbsp;
			<SELECT name="event_day">
			#parse "$SANDBOX;/helm/templates/org/tigris/helm/project/SelectDay.wm"
			</SELECT>
			&nbsp;
			<SELECT name="event_year">
			#parse "$SANDBOX;/helm/templates/org/tigris/helm/project/SelectYear.wm"
			</SELECT>
	        </TD>
	</TR>
	<TR>
		<TD class="InputHeader" VALIGN="top"><P ALIGN="right"><B>Headline:</B></TD>
		<TD WIDTH="100%" VALIGN="TOP"><TEXTAREA NAME="headline" ROWS="2" COLS="45">#if ($errors) {$headline}</TEXTAREA>
		<BR>
		<SPAN class="PlainText">(You can include html markup in this field.)</SPAN></TD>
	</TR>
	<TR>
		<TD>&nbsp;</TD>
		<TD WIDTH="100%">&nbsp;</TD>
	</TR>
	<TR>
		<TD class="InputHeader" VALIGN="TOP"><P ALIGN="right"><B>Body:</B></TD>
		<TD WIDTH="100%" VALIGN="TOP"><TEXTAREA wrap="virtual" NAME="body" ROWS="18" COLS="45">#if ($errors){$body}</TEXTAREA>
		<BR>
   		<SPAN class="PlainText">(You can include html markup in this field.)</SPAN></TD>
	</TR>
	<TR>
		<TD>&nbsp;</TD>
		<TD WIDTH="100%">&nbsp;</TD>
	</TR>
	<TR>
		<TD WIDTH="210" class="InputHeader" VALIGN="TOP">
		        <P ALIGN="right"><B>Publish:</B>
	        </TD>
		<TD WIDTH="90%" VALIGN="TOP" class="InputHeader">
d82 29
a110 28
		     #if (($publish.equals("immediately")) || (!$errors))
		     {
		       <INPUT name="publish" type="radio" value="immediately" CHECKED >Immediately&nbsp;
		       <BR>
		       <INPUT name="publish" type="radio" value="date">On date:
		  } #else {
		       <INPUT name="publish" type="radio" value="immediately">Immediately&nbsp;
		       <BR>
		       <INPUT name="publish" type="radio" value="date" CHECKED>On date:
		  }
			<SELECT name = "publish_month">
			#parse "$SANDBOX;/helm/templates/org/tigris/helm/project/SelectMonth.wm"
			</SELECT>
			&nbsp;
			<SELECT name="publish_day">
			#parse "$SANDBOX;/helm/templates/org/tigris/helm/project/SelectDay.wm"
			</SELECT>
			&nbsp;
			<SELECT name="publish_year">
			#parse "$SANDBOX;/helm/templates/org/tigris/helm/project/SelectYear.wm"
			</SELECT>
	        </TD>
	</TR>
	<TR>
		<TD WIDTH="210" class="InputHeader" VALIGN="TOP">
		         <P ALIGN="right"><B>Remove:</B>
	        </TD>
		<TD WIDTH="90%" VALIGN="TOP" class="InputHeader">
d124 28
a151 27
		     #if (($remove.equals("never")) || (!$errors))
		     {
		       <INPUT name="remove" type="radio" value="never" CHECKED >Never&nbsp;
		       <BR>
		       <INPUT name="remove" type="radio" value="date">On date:
		     } #else {
		       <INPUT name="remove" type="radio" value="never" >Never&nbsp;
		       <BR>
		       <INPUT name="remove" type="radio" value="date" CHECKED>On date:
		     }
			<SELECT name = "remove_month">
			#parse "$SANDBOX;/helm/templates/org/tigris/helm/project/SelectMonth.wm"
			</SELECT>
			&nbsp;
			<SELECT name="remove_day">
			#parse "$SANDBOX;/helm/templates/org/tigris/helm/project/SelectDay.wm"
			</SELECT>
			&nbsp;
			<SELECT name="remove_year">
			#parse "$SANDBOX;/helm/templates/org/tigris/helm/project/SelectYear.wm"
			</SELECT>
	        </TD>
	</TR>
	<TR>
		<TD>&nbsp;</TD>
		<TD WIDTH="100%"><input type="hidden" name="projectID" value="$currentProject.getID()"><input type="Submit" name="Button" value="Add News Item"></TD>
	</TR>
@


1.9
log
@Added class names for text beneath textentry boxes.
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d9 17
a25 3
 	<TR>
		<TD  class="InputHeader" VALIGN="top" NOWRAP><P ALIGN="right"><B>Date of event:</B></TD>
		<TD WIDTH="100%" VALIGN="TOP">
d41 1
a41 1
		<TD WIDTH="100%" VALIGN="TOP"><TEXTAREA NAME="headline" ROWS="5" COLS="45">#if ($headline) {$headline}</TEXTAREA>
d51 1
a51 1
		<TD WIDTH="100%" VALIGN="TOP"><TEXTAREA wrap="virtual" NAME="body" ROWS="15" COLS="45">#if ($body){$body}</TEXTAREA>
d60 27
a86 5
		<TD class="InputHeader" VALIGN="TOP"><P ALIGN="right"><B>Publish:</B></TD>
		<TD WIDTH="100%" VALIGN="TOP" class="InputHeader">
		    <INPUT name="publish" type="radio" value="immediately" CHECKED>Immediately&nbsp;
		    <BR>
		    <INPUT name="publish" type="radio" value="date">On date:
d101 27
a127 5
		<TD class="InputHeader" VALIGN="TOP"><P ALIGN="right"><B>Remove:</B></TD>
		<TD WIDTH="100%" VALIGN="TOP" class="InputHeader">
		    <INPUT name="remove" type="radio" value="never" CHECKED>Never&nbsp;
		    <BR>
		    <INPUT name="remove" type="radio" value="date">On date:
d143 1
a143 2
		<TD WIDTH="100%"><input type="hidden" name="projectID" value="$currentProject.getID()"><input type="Submit" name="Button" value="Add
News Item"></TD>
@


1.8
log
@cleaned up bad HTML tables and structure.

PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d27 1
a27 1
		<TD WIDTH="100%" VALIGN="TOP"><TEXTAREA NAME="headline" ROWS="6" COLS="45">#if ($headline) {$headline}</TEXTAREA>
d29 1
a29 1
		(You can include html markup in this field.)</TD>
d37 1
a37 1
		<TD WIDTH="100%" VALIGN="TOP"><TEXTAREA wrap="virtual" NAME="body" ROWS="18" COLS="45">#if ($body){$body}</TEXTAREA>
d39 1
a39 1
		(You can include html markup in this field.)</TD>
@


1.7
log
@added radio buttons to allow publish date field to default to "immediately", andremove date field to default to "never"
@
text
@d7 1
a7 1
<TABLE BORDER="0" WIDTH="100%">
d9 3
a11 5
	<TR>
		<TD WIDTH="210" class="InputHeader" VALIGN="MIDDLE">
			<P ALIGN="RIGHT"><B>Date&nbsp;of&nbsp;event:</B>
		</TD>
		<TD WIDTH="90%" VALIGN="TOP">
d26 2
a27 4
		<TD class="InputHeader" WIDTH="210" VALIGN="MIDDLE">
			<P ALIGN="RIGHT"><B>Headline:</B>
		</TD>
		<TD WIDTH="90%" VALIGN="TOP"><TEXTAREA NAME="headline" ROWS="6" COLS="45">#if ($headline) {$headline}</TEXTAREA>
d32 2
a33 1
	        <TD>&nbsp;</TD>
d36 2
a37 4
		<TD class="InputHeader" WIDTH="210" VALIGN="TOP">
			<P ALIGN="RIGHT"><B>Body:</B>
		</TD>
		<TD WIDTH="90%" VALIGN="TOP"><TEXTAREA wrap="virtual" NAME="body" ROWS="18" COLS="45">#if ($body){$body}</TEXTAREA>
d42 2
a43 2
		<TD WIDTH="210">&nbsp;</TD>
		<TD WIDTH="90%">&nbsp;</TD>
d46 2
a47 4
		<TD WIDTH="210" class="InputHeader" VALIGN="TOP">
			<P ALIGN="RIGHT"><B>Publish:</B>
		</TD>
		<TD WIDTH="90%" VALIGN="TOP" class="InputHeader">
d65 2
a66 4
		<TD WIDTH="210" class="InputHeader" VALIGN="TOP">
			<P ALIGN="RIGHT"><B>Remove:</B>
	        </TD>
		<TD WIDTH="90%" VALIGN="TOP" class="InputHeader">
a69 1
		<TD WIDTH="90%" VALIGN="TOP">
d84 3
a86 2
		<TD WIDTH="210">&nbsp;</TD>
		<TD WIDTH="90%"><input type="hidden" name="projectID" value="$currentProject.getID()"><input type="Submit" name="Button" value="Add News Item"></TD>
@


1.6
log
@modernized files

added fields for publish_on and remove_on fields
@
text
@d51 2
a52 2
		<TD WIDTH="210" class="InputHeader" VALIGN="MIDDLE">
			<P ALIGN="RIGHT"><B>Publish on:</B>
d54 4
a57 1
		<TD WIDTH="90%" VALIGN="TOP">
d72 7
a78 3
		<TD WIDTH="210" class="InputHeader" VALIGN="MIDDLE">
			<P ALIGN="RIGHT"><B>Remove on:</B>
		</TD>
@


1.5
log
@only pre-populating fields in the case of an error
@
text
@d14 1
a14 1
			<SELECT name = "month">
d18 1
a18 1
			<SELECT name="day">
d22 1
a22 1
			<SELECT name="year">
d49 36
@


1.4
log
@added messages that user can include html markup in headline and body
@
text
@d31 1
a31 1
		<TD WIDTH="90%" VALIGN="TOP"><TEXTAREA NAME="headline" ROWS="6" COLS="45">$headline</TEXTAREA>
d42 1
a42 1
		<TD WIDTH="90%" VALIGN="TOP"><TEXTAREA wrap="virtual" NAME="body" ROWS="18" COLS="45">$body</TEXTAREA>
d52 1
a52 1
		<TD WIDTH="90%"><input type="hidden" name="projectID" value="$projectID"><input type="Submit" name="Button" value="Add News Item"></TD>
@


1.3
log
@Body field now word wraps while text is being entered
@
text
@d31 6
a36 1
		<TD WIDTH="90%" VALIGN="TOP"><TEXTAREA NAME="headline" ROWS="6" COLS="45"></TEXTAREA></TD>
d42 3
a44 1
		<TD WIDTH="90%" VALIGN="TOP"><TEXTAREA wrap="virtual" NAME="body" ROWS="18" COLS="45"></TEXTAREA></TD>
@


1.2
log
@including SelectDay, SelectMonth, selectYear for date dropdowns
@
text
@d37 1
a37 1
		<TD WIDTH="90%" VALIGN="TOP"><TEXTAREA NAME="body" ROWS="18" COLS="45"></TEXTAREA></TD>
@


1.1
log
@Initial revision
@
text
@d15 1
a15 13
			##include $SANDBOX;/helm/templates/org/tigris/helm/project/SelectMonth.wm
			<option value="01">January
			<option value="02">February
			<option value="03">March
			<option value="04">April
			<option value="05">May
			<option value="06">June
			<option value="07">July
			<option value="08">August
			<option value="09">September
			<option value="10">October
			<option value="11">November
			<option value="12">December
d19 1
a19 31
			<option value="01">1
			<option value="02">2
			<option value="03">3
			<option value="04">4
			<option value="05">5
			<option value="06">6
			<option value="07">7
			<option value="08">8
			<option value="09">9
			<option value="10">10
			<option value="11">11
			<option value="12">12
			<option value="13">13
			<option value="14">14
			<option value="15">15
			<option value="16">16
			<option value="17">17
			<option value="18">18
			<option value="19">19
			<option value="20">20
			<option value="21">21
			<option value="22">22
			<option value="23">23
			<option value="24">24
			<option value="25">25
			<option value="26">26
			<option value="27">27
			<option value="28">28
			<option value="29">29
			<option value="30">30
			<option value="31">31
d23 1
a23 11
			<option value="1990">1990
			<option value="1991">1991
			<option value="1992">1992
			<option value="1993">1993
			<option value="1994">1994
			<option value="1995">1995
			<option value="1996">1996
			<option value="1997">1997
			<option value="1998">1998
			<option value="1999">1999
			<option value="2000">2000
@


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
@d1 1
a1 1
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" BORDER="0" WIDTH="100%">
d3 1
a3 1
    <TD class="Header" nowrap>Add News Item: <SPAN CLASS="ProjectNameHeader"><A HREF="$currentProject.getProjectHome()">$currentProject.getName()</a></SPAN></TD>
d7 1
a7 1
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" BORDER="0" WIDTH="100%">
d9 90
a98 62
  <TR>
    <TD colspan="3"><span class="Asterisk">*</span> <span class="PlainText">Required fields</span></TD>
  </TR>
  <TR>
    <TD></TD>
    <TD class="InputHeader" valign="top" nowrap>
      <B>Date of event:</B>
    </TD>
    <TD WIDTH="100%" VALIGN="TOP">
## Set date defaults as current date
## Unless we have returned to this page because of a field error
#if ($errors)
{
  #set $defaultMonth = $event_month
  #set $defaultDay = $event_day
  #set $defaultYear = $event_year
} #else {
  #set $defaultMonth = $current_month
  #set $defaultDay = $current_day
  #set $defaultYear = $current_year
}
      <SELECT name = "event_month">
      #parse "$SANDBOX;/helm/templates/org/tigris/helm/project/SelectMonth.wm"
      </SELECT>
      &nbsp;
      <SELECT name="event_day">
      #parse "$SANDBOX;/helm/templates/org/tigris/helm/project/SelectDay.wm"
      </SELECT>
      &nbsp;
      <SELECT name="event_year">
      #parse "$SANDBOX;/helm/templates/org/tigris/helm/project/SelectYear.wm"
      </SELECT>
          </TD>
  </TR>

  <TR>
    <TD VALIGN="top"><span class="Asterisk">*</span></TD> 
    <TD class="InputHeader" VALIGN="top"><B>Headline:</B></TD>
    <TD WIDTH="100%" VALIGN="TOP"><TEXTAREA NAME="headline" ROWS="2" COLS="45">$headline</TEXTAREA>
    <BR>
    <SPAN class="PlainText">(You can include html markup in this field.)</SPAN></TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>&nbsp;</TD>
    <TD WIDTH="100%">&nbsp;</TD>
  </TR>

  <TR>
    <TD VALIGN="top"><span class="Asterisk">*</span></TD> 
    <TD class="InputHeader" VALIGN="TOP"><B>Body:</B></TD>
    <TD WIDTH="100%" VALIGN="TOP"><TEXTAREA wrap="physical" NAME="body" ROWS="18" COLS="45">$body</TEXTAREA>
    <BR>
       <SPAN class="PlainText">(You can include html markup in this field.)</SPAN></TD>
  </TR>

  <TR>
    <TD></TD>
    <TD>&nbsp;</TD>
    <TD WIDTH="100%"><input type="Submit" name="Button" value="Add News Item"><input type="Submit" name="Button" value="Advanced Options"></TD>

  </TR>
@

