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


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

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

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

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

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

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

1.7
date	2001.06.14.20.46.18;	author neil;	state Exp;
branches;
next	1.6;

1.6
date	2001.06.12.20.40.54;	author neil;	state Exp;
branches;
next	1.5;

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

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

1.3
date	2001.05.25.20.01.35;	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.13
log
@first wave of ui revisions. expect minor breakage. working on it.
@
text
@<div id="projectnewsadd" class="app">


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

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

<div class="axial">
<table border="1" cellspacing="2" cellpadding="3">
 <tr>
  <th nowrap="nowrap">* Required fields</th>
  <td></td>
 </tr>
 <tr>
  <th nowrap="nowrap">Date of event</th>
  <td>
## 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 )
#end
      <select name="event_month">
      #parse( "org/tigris/helm/project/SelectMonth.vm" )
      </select>
      &nbsp;
      <select name="event_day">
      #parse( "org/tigris/helm/project/SelectDay.vm" )
      </select>
      &nbsp;
#if( $isDecember )
      <select name="event_year">
      #parse( "org/tigris/helm/project/SelectYear.vm" )
      </select>
#end

  </td>
 </tr>
 <tr>
  <th>* Headline</th>
  <td><textarea name="headline" rows="2" cols="45">$headline</textarea>
   <p>
    (You can include html markup in this field.)
   </p>
  </td>
 </tr>

 <tr>
  <th>Body</th>
  <td><textarea wrap="wrap" name="body" rows="18" cols="45">$body</textarea>
   <p>
    (You can include html markup in this field.)
   </p>
  </td>
 </tr>

 <tr>
  <th>Image URL</th>
  <td>
   <input type="text" name="imageUrl" size="55" maxlength="128" value="$!image_url" />
  </td>
 </tr>

 <tr>
  <th>Original Article URL</th>
  <td>
   <input type="text" name="articleUrl" size="55" maxlength="128" value="$!articleUrl" />
  </td>
 </tr>

 <tr>
  <td></td>
  <td width="100%">
   <input type="submit" name="Button" value="Add News Item" />
   <input type="submit" name="Button" value="Advanced Options" />
  </td>
 </tr>
</table>
</div>

</form>

</div>
@


1.12
log
@getting rid of "tasks" nav; backing out of earlier ill-considered commit
@
text
@a1 3
<h2>
 #parse( "Nomen.vm" )
</h2>
d15 1
a15 1
  <th nowrap="nowrap">Date of event:</th>
d45 1
a45 1
  <th>* Headline:</th>
d54 1
a54 1
  <th>Body:</th>
d63 1
a63 1
  <th>Image URL:</th>
d70 1
a70 1
  <th>Original Article URL:</th>
@


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


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


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


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


1.7
log
@ui recode: adding axial class
@
text
@d1 1
a1 1
<div id="projectnewsadd">
d8 1
a8 1
<table border="0" cellspacing="0" cellpadding="2" width="100%">
@


1.6
log
@ui recode correction
@
text
@d7 1
d10 2
a11 1
  <th colspan="2">* Required fields</th>
d83 1
@


1.5
log
@ui recoded
@
text
@d9 1
a9 1
  <td colspan="2">* Required fields</td>
d12 1
a12 3
  <td nowrap="nowrap">
   Date of event:
  </td>
d42 1
a42 1
  <td>* Headline:</td>
d51 1
a51 1
  <td>Body:</td>
d60 1
a60 1
  <td>Image URL:</td>
d67 1
a67 1
  <td>Original Article URL:</td>
d74 1
a74 1
  <td>&nbsp;</td>
@


1.4
log
@added two new fields: imageURl and original article URL.

Now on the List page headline is no longer linked. There is a "View" link that goes to the NewsItemView page. On the view page you see the two new fields and all other info.
@
text
@d1 15
a15 17
<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">
d27 1
a27 1
      <SELECT name = "event_month">
d29 1
a29 1
      </SELECT>
d31 1
a31 1
      <SELECT name="event_day">
d33 1
a33 1
      </SELECT>
d36 1
a36 1
      <SELECT name="event_year">
d38 1
a38 1
      </SELECT>
a39 2
          </TD>
  </TR>
d41 42
a82 51
  <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" name="imageUrl" size="55" maxchars="128" value="$!image_url">
    </td>
  </tr>

  <tr>
    <td>&nbsp;</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" name="articleUrl" size="55" maxchars="128" value="$!articleUrl">
    </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>
a83 1
  </tr>
d85 2
a86 1
</table>
@


1.3
log
@Elicia indicates that these fields are supposed to be text areas,
rather than text fields.
@
text
@d75 1
a75 1
      <textarea name="image_url" size="50" maxwidth="128" wrap="physical">$!image_url</textarea>
d88 1
a88 1
      <textarea name="original_article_url" size="50" wrap="physical">$!original_article_url</textarea>
@


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
@d72 6
a77 5
    <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>
d79 12
a90 11
  <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>
d97 3
a99 5
  </TR>
</FORM>
</TABLE>


@


1.1
log
@Adding Velocity templates.
@
text
@d30 1
a30 1
      #parse( "${SANDBOX}/helm/templates/org/tigris/helm/project/SelectMonth.vm" )
d34 1
a34 1
      #parse( "${SANDBOX}/helm/templates/org/tigris/helm/project/SelectDay.vm" )
d39 1
a39 1
      #parse( "${SANDBOX}/helm/templates/org/tigris/helm/project/SelectYear.vm" )
@

