head	1.8;
access;
symbols
	TIGRIS_1_1_0RC2:1.3
	TIGRIS_1_1_0RC1:1.3
	TIGRIS_1_1:1.3.0.4
	TIGRIS_1_0_8:1.3
	TIGRIS_1_0_8RC3:1.3
	TIGRIS_1_0_8RC2:1.3
	TIGRIS_1_0_8RC1:1.3
	TIGRIS_1_0_7:1.3
	TIGRIS_1_0_7RC3:1.3
	TIGRIS_1_0_7RC2:1.3
	TIGRIS_1_0_7RC1:1.3
	TIGRIS_1_0_6:1.3
	TIGRIS_1_0_6RC5:1.3
	TIGRIS_1_0_6RC4:1.3
	TIGRIS_1_0_6RC3:1.3
	TIGRIS_1_0_6RC2:1.3
	TIGRIS_1_0_6RC1:1.3
	TIGRIS_1_0_5:1.3
	TIGRIS_1_0_5RC6:1.3
	TIGRIS_1_0_5RC5:1.3
	TIGRIS_1_0_5RC4:1.3
	TIGRIS_1_0_5RC3:1.3
	TIGRIS_1_0_5RC2:1.3
	TIGRIS_1_0_5RC1:1.3
	TIGRIS_1_0_4:1.3
	TIGRIS_1_0_3:1.3
	TIGRIS_1_0_2:1.3
	TIGRIS_1_0_1:1.3
	TIGRIS_1_0:1.3.0.6
	TIGRIS_1_0_0:1.3
	TIGRIS_1_0_0_RC1:1.3.0.2
	dlr:1.1.1
	HELM_PEER_PORT_BRANCH:1.1.1.1;
locks; strict;
comment	@# @;


1.8
date	2001.05.23.02.04.15;	author dlr;	state dead;
branches;
next	1.7;

1.7
date	2001.05.23.00.43.49;	author ms;	state Exp;
branches;
next	1.6;

1.6
date	2001.03.29.23.45.02;	author susank;	state Exp;
branches;
next	1.5;

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

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

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

1.2
date	2001.02.21.01.08.31;	author dlr;	state Exp;
branches;
next	1.1;

1.1
date	2001.02.06.20.06.43;	author elicia;	state Exp;
branches
	1.1.1.1
	1.1.2.1;
next	;

1.1.1.1
date	2001.02.21.00.37.00;	author dlr;	state Exp;
branches;
next	;

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


desc
@@


1.8
log
@Removed WM templates in favor of Velocity templates.
@
text
@<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="3" BORDER="0" WIDTH="100%">
  <TR>
    <TD class="Header" nowrap><b>Edit News Item:</b> <SPAN CLASS="ProjectNameHeader"><A HREF="$currentProject.getProjectHome()">$currentProject.getName()</a></SPAN>
    <P><SPAN class="StatText"><b>$newsItem.getEventDate() : $newsItem.getHeadline()</b></TD>
  </TR>
</TABLE>
<P>
<FORM ACTION="$servletName" METHOD="POST" ENCTYPE="application/x-www-form-urlencoded">
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="3" WIDTH="100%">
	<TR>
		<TD  class="InputHeader" VALIGN="TOP">
			<P ALIGN="RIGHT"><B>Publish:</B>
		</TD>
## Set date defaults
## If they had selected "immediately", default to today's date
#if ($publish.equals("immediately"))
{
   #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
}
		<TD  VALIGN="TOP" class="PlainText">
   #if ($publish.equals("immediately"))
		  {
		    <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>
#if ($isDecember)
{
			&nbsp;
			<SELECT name="publish_year">
			#parse "$SANDBOX;/helm/templates/org/tigris/helm/project/SelectYear.wm"
			</SELECT>
}
      </TD>
	</TR>

	<TR>
		<TD  class="InputHeader" VALIGN="TOP">
			<P ALIGN="RIGHT"><B>Remove:</B>
	        </TD>
		<TD WIDTH="90%" VALIGN="TOP" class="PlainText">
## Set date defaults
## If they had selected "never", default to one month from now
#if ($remove.equals("never"))
{
   #set $defaultMonth = $default_remove_month
   #set $defaultDay = $current_day
   #set $defaultYear = $current_year
} #else {
   #set $defaultMonth = $remove_month
   #set $defaultDay = $remove_day
   #set $defaultYear = $remove_year
}
                  #if ($remove.equals("never"))
		  {
		    <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>
<!-- Comment out until mailing list notifications are taking place again
#if ($publish.equals("immediately"))
{
        <TR>
          <TD COLSPAN="2" CLASS="PlainText"><INPUT TYPE="checkbox" name="send_email">&nbsp; Send email to project announce list to notify of change? &nbsp;</TD>
       </TR>
} #else {
   <input type="hidden" name = "send_email" value="off">
}
-->

  <TR>
    <TD colspan="3">&nbsp;</TD>
  </TR>

	<TR>
		<TD >&nbsp;</TD>
		<TD >
		  <input type="hidden" name="newsID" value="$newsItem.getID()">
		  <input type="Submit" name="Button" value="Submit Changes"></TD>
	</TR>
</FORM>
</TABLE>

  
@


1.7
log
@only let next year be specified in december of previous year
@
text
@@


1.6
log
@merges UI cleanup changes from sc10inst
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d44 2
d50 1
@


1.5
log
@adjusted row spacing
@
text
@d3 2
a4 2
    <TD class="Header" nowrap>Edit News Item: <SPAN CLASS="ProjectNameHeader"><A HREF="$currentProject.getProjectHome()">$currentProject.getName()</a></SPAN>
    <P><SPAN class="StatText">$newsItem.getEventDate() : $newsItem.getHeadline()</TD>
@


1.4
log
@commenting out option to send email to announce list with news item change, until we work out coordination with mailing lists
@
text
@d9 1
a9 1
<TABLE BORDER="0" CELLSPACING="9" CELLPADDING="3" WIDTH="100%">
a49 4

  <TR>
    <TD colspan="3">&nbsp;</TD>
  </TR>
@


1.3
log
@tweaked spacing, fonts, layout, etc.
@
text
@d95 1
d104 1
@


1.2
log
@This is the highest revision from the HELM_PEER_PORT_BRANCH.  The previous import caused too many conflicts to resolve manually
@
text
@d7 1
a7 2

<TABLE BORDER="0" WIDTH="100%">
d9 1
d26 1
a26 1
		<TD  VALIGN="TOP" class="InputHeader">
d50 5
d59 1
a59 1
		<TD WIDTH="90%" VALIGN="TOP" class="InputHeader">
d98 1
a98 3
	       <TD >&nbsp;</TD>
               <TD  CLASS="InputHeader"><INPUT TYPE="checkbox" name="send_email">&nbsp; Send email to project announce list to notify of change? &nbsp; 
               </TD>
d103 5
@


1.1
log
@broke up add and edit into two steps (advanced options optional)
@
text
@a102 1
		  <input type="hidden" name="projectID" value="$newsItem.getProjectID()">
@


1.1.1.1
log
@Replacing the HEAD with the HELM_PEER_PORT_BRANCH.
@
text
@d103 1
@


1.1.2.1
log
@ported to turbine
@
text
@d103 1
@

