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


1.12
date	2001.08.20.22.29.23;	author tfahrner;	state Exp;
branches;
next	1.11;

1.11
date	2001.08.03.05.45.07;	author tfahrner;	state Exp;
branches;
next	1.10;

1.10
date	2001.07.31.01.18.40;	author tfahrner;	state Exp;
branches;
next	1.9;

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

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

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

1.6
date	2001.06.17.03.39.02;	author jefflove;	state Exp;
branches;
next	1.5;

1.5
date	2001.06.14.20.53.56;	author neil;	state Exp;
branches;
next	1.4;

1.4
date	2001.06.11.15.54.15;	author neil;	state Exp;
branches;
next	1.3;

1.3
date	2001.05.25.20.09.02;	author dlr;	state Exp;
branches;
next	1.2;

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

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


desc
@@


1.12
log
@first wave of ui revisions. expect minor breakage. working on it.
@
text
@<div id="projectnewsaddadvanced" class="app">


<h3>Add News Item Advanced Options: <a href="$currentProject.getProjectHome()">$currentProject.getName()</a></h3>

<p>
 $headline
</p>

<form action="$servletName" method="post" enctype="application/x-www-form-urlencoded">

<div class="axial">
<table border="1" cellspacing="2" cellpadding="3">
 <tr>
  <th>
   Publish:
  </th>
  <td>
  
## 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 )
#end
    #if( $publish.equals("immediately") || !$errors )
     <div>
      <input name="publish" type="radio" value="immediately" checked="checked" />Immediately
     </div>
	 <div>
      <input name="publish" type="radio" value="date" />On date:
     </div>
    #else
     <div>
      <input name="publish" type="radio" value="immediately" />Immediately
     </div>
     <div>
      <input name="publish" type="radio" value="date" checked="checked" />On date:
   </div> 
   #end
      <select name="publish_month">
      #parse( "org/tigris/helm/project/SelectMonth.vm" )
      </select>
      &nbsp;
      <select name="publish_day">
      #parse( "org/tigris/helm/project/SelectDay.vm" )
      </select>
#if( $isDecember )
      &nbsp;
      <select name="publish_year">
      #parse( "org/tigris/helm/project/SelectYear.vm" )
      </select>
#end
  </td>
 </tr>

 <tr>
  <th>
   Remove:
  </th>
  <td>
## 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 = $current_day )
  #set( $defaultYear = $current_year )
#else
  #set( $defaultMonth = $remove_month )
  #set( $defaultDay = $remove_day )
  #set( $defaultYear = $remove_year )
#end
   #if( $remove.equals("never") || !$errors )
    <div>
     <input name="remove" type="radio" value="never" checked="checked" />Never
    </div>
    <div>
      <input name="remove" type="radio" value="date" />On date:
    </div>
   #else
    <div>
      <input name="remove" type="radio" value="never" />Never
    </div>
    <div>
      <input name="remove" type="radio" value="date" checked="checked" />On date:
    </div>
   #end
      <select name="remove_month">
      #parse( "org/tigris/helm/project/SelectMonth.vm" )
      </select>
      &nbsp;
      <select name="remove_day">
      #parse( "org/tigris/helm/project/SelectDay.vm" )
      </select>
      &nbsp;
      <select name="remove_year">
      #parse( "org/tigris/helm/project/SelectYear.vm" )
      </select>
  </td>
 </tr>
 <tr>
  <td></td>
  <td>
<p>
   <input type="hidden" name="newsID" value="$newsItem.getID()" />
   <input type="submit" name="Button" value="Add News Item" />
</p>
  </td>
 </tr>
</table>
</div>

</form>

</div>
@


1.11
log
@getting rid of "tasks" nav; backing out of earlier ill-considered commit
@
text
@a1 3
<h2>
 #parse( "Nomen.vm" )
</h2>
@


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


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


1.8
log
@misc html usage revisions
@
text
@d2 3
@


1.7
log
@html usage revision to synch with scarab
@
text
@d12 1
a12 1
<table border="1" cellspacing="2" cellpadding="3" width="100%">
@


1.6
log
@html usage revisions
@
text
@d1 1
a1 1
<div id="projectnewsaddadvanced">
d12 1
a12 1
<table border="0" cellspacing="0" cellpadding="2" width="100%">
@


1.5
log
@ui recode: adding axial class
@
text
@d32 1
a32 1
     <p>
d34 2
a35 2
     </p>
	 <p>
d37 1
a37 1
     </p>
d39 1
a39 1
     <p>
d41 2
a42 2
     </p>
     <p>
d44 2
a45 1
    #end
d80 1
a80 1
    <p>
d82 2
a83 2
    </p>
    <p>
d85 1
a85 1
    </p>
d87 1
a87 1
    <p>
d89 2
a90 2
    </p>
    <p>
d92 1
a92 1
    </p>
d110 1
d113 1
@


1.4
log
@ui recoded
@
text
@d11 1
d14 1
a14 1
  <td>
d16 1
a16 1
  </td>
d62 1
a62 1
  <td>
d64 1
a64 1
  </td>
d107 1
a107 1
  <td>&nbsp;</td>
d114 1
@


1.3
log
@Removed some extra parens.
@
text
@d1 17
a17 16
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" BORDER="0" WIDTH="100%">
  <TR>
    <TD class="Header" nowrap><b>Add News Item Advanced Options:</b> <SPAN CLASS="ProjectNameHeader"><A HREF="$currentProject.getProjectHome()">$currentProject.getName()</a></SPAN>
    <P><SPAN class="StatText">$headline</TD>
  </TR>
</TABLE>

<P>
<FORM ACTION="$servletName" METHOD="POST" ENCTYPE="application/x-www-form-urlencoded">
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="3" BORDER="0" WIDTH="100%">
  <TR>
    <TD></TD>
    <TD WIDTH="210" class="InputHeader" VALIGN="TOP">
      <B>Publish:</B>
    </TD>
    <TD WIDTH="100%" VALIGN="TOP" class="PlainText">
d30 15
a44 10
         #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:
      #end
      <SELECT name = "publish_month">
d46 1
a46 1
      </SELECT>
d48 1
a48 1
      <SELECT name="publish_day">
d50 1
a50 1
      </SELECT>
d53 1
a53 1
      <SELECT name="publish_year">
d55 1
a55 1
      </SELECT>
d57 2
a58 2
          </TD>
  </TR>
d60 5
a64 7

  <TR>
    <TD></TD>
    <TD class="InputHeader" VALIGN="TOP">
      <B>Remove:</B>
    </TD>
    <TD WIDTH="100%" VALIGN="TOP" class="PlainText">
d77 16
a92 10
         #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:
         #end
      <SELECT name = "remove_month">
d94 1
a94 1
      </SELECT>
d96 1
a96 1
      <SELECT name="remove_day">
d98 1
a98 1
      </SELECT>
d100 1
a100 1
      <SELECT name="remove_year">
d102 15
a116 13
      </SELECT>
          </TD>
  </TR>
  <TR>
    <TD colspan="3">&nbsp;</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>&nbsp;</TD>
    <TD WIDTH="100%" ><input type="hidden" name="newsID" value="$newsItem.getID()"><input type="Submit" name="Button" value="Add News Item"></TD>
  </TR>
</FORM>
</TABLE>
@


1.2
log
@Removed BRAND_TEMPLATE_ROOT, SERVLET_TEMPLATE_ROOT, and SANDBOX from use in #include and #parse directives (deprecated by multiple template paths).
@
text
@d29 1
a29 1
         #if( ($publish.equals("immediately")) || (!$errors) )
d73 1
a73 1
         #if( ($remove.equals("never")) || (!$errors) )
a104 2


@


1.1
log
@Adding Velocity templates.
@
text
@d39 1
a39 1
      #parse( "${SANDBOX}/helm/templates/org/tigris/helm/project/SelectMonth.vm" )
d43 1
a43 1
      #parse( "${SANDBOX}/helm/templates/org/tigris/helm/project/SelectDay.vm" )
d48 1
a48 1
      #parse( "${SANDBOX}/helm/templates/org/tigris/helm/project/SelectYear.vm" )
d83 1
a83 1
      #parse( "${SANDBOX}/helm/templates/org/tigris/helm/project/SelectMonth.vm" )
d87 1
a87 1
      #parse( "${SANDBOX}/helm/templates/org/tigris/helm/project/SelectDay.vm" )
d91 1
a91 1
      #parse( "${SANDBOX}/helm/templates/org/tigris/helm/project/SelectYear.vm" )
@

