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


1.6
date	2001.07.19.19.09.50;	author elicia;	state dead;
branches;
next	1.5;

1.5
date	2001.07.13.20.02.22;	author leonardr;	state Exp;
branches;
next	1.4;

1.4
date	2001.06.17.03.39.02;	author jefflove;	state Exp;
branches;
next	1.3;

1.3
date	2001.06.07.19.36.11;	author neil;	state Exp;
branches;
next	1.2;

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

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


desc
@@


1.6
log
@removing document-related templates, since they are being extracted out into the nidaba component.
@
text
@<div id="projectsectionedit">

<h3>Edit Document Folder: <a href="$currentProject.getProjectHome()">$currentProject.getName()</a></h3>

<form action="$servletName" method="post" enctype="application/x-www-form-urlencoded">
<div class="axial">
<table border="0" cellspacing="0" cellpadding="2">
 <tr>
  <th nowrap="nowrap">Folder Name:</th
  <td><input type="text" name="name" 
      #if( !$name.equals("") )
       value="$name"
      #else
       value="$currentSection.getName()"
      #end size="25" /></td>
 </tr>
 <tr>
  <th nowrap="nowrap">Optional Description:</th>
  <td><input type="text" name="description" value=
      #if( !$description.equals("") )
       "$description"
      #else
    "$currentSection.getDescription()"
     #end size="55" /></td>
 </tr>
#if( !$parentID )
  #set( $parentID = $currentSection.getParentID() )
#end

<!-- this commented out section kept during ui recoding -->
<!--
  <TR>
    <TD VALIGN="TOP" class="InputHeader" NOWRAP><b>Subfolder of:</b></TD>
    <TD class="PlainText"><INPUT TYPE="RADIO" NAME="parentID" VALUE="0" 
    #if( $parentID.equals("0") )
      CHECKED
    #end
    >None, place new folder at top level</TD>
  </TR>

#foreach( $parent in $currentProject.getSections() )
  #if( $parent.isApproved() && !$currentSection.getID().equals($parent.getID()) )
  <TR>
    <TD></TD>
    <TD class="PlainText"><INPUT TYPE="RADIO" NAME="parentID" VALUE="$parent.getID()"
    #if( $parentID.equals($parent.getID()) )
       CHECKED
    #end
    >$parent.getName()</TD>
  </TR>
  #end
#end
  <TR>
    <TD COLSPAN="2">&nbsp;</TD>
  </TR>
-->

 <tr>
  <td>&nbsp;</td>
  <td><input type="hidden" name="sectionID" value="$currentSection.getID()" />
    <input type="submit" name="Button" value="Edit Folder" /></td>
 </tr>
</table>
</div>
</form>

</div>@


1.5
log
@Changes to support HelmServlet-style naming scheme for current business objects.
@
text
@@


1.4
log
@html usage revisions
@
text
@d14 1
a14 1
       value="$section.getName()"
d23 1
a23 1
    "$section.getDescription()"
d27 1
a27 1
  #set( $parentID = $section.getParentID() )
d42 1
a42 1
  #if( $parent.isApproved() && !$section.getID().equals($parent.getID()) )
d60 1
a60 1
  <td><input type="hidden" name="sectionID" value="$section.getID()" />
@


1.3
log
@ui recoded
@
text
@d6 2
a7 1
<table border="0" cellspacing="0" cellpadding="2" width="100%">
d9 1
a9 1
  <td nowrap="nowrap">Folder Name:</td>
d18 1
a18 1
  <td nowrap="nowrap">Optional Description:</td>
d59 1
a59 1
  <td></td>
d64 1
@


1.2
log
@Changed UI for Project Document component. Two-pane UI now: left pane for folder tree, right pane for document list.  There is now summary information about each document in the list. The List has a "root folder" that is the root of the tree. You add subfoldrs and sections to the root folder. Folders can now be nested to infinite number of levels.

Now a document can have 0-3 of the following: file upload, URL, or text (instead of having one and only one of the three as before).  There are now fields for modified by, modified date, and is_public (for the file upload).
@
text
@d1 3
a3 5
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" BORDER="0" WIDTH="100%">
  <TR>
    <TD class="Header" nowrap><b>Edit Document Folder:</b> <SPAN CLASS="ProjectNameHeader"><A HREF="$currentProject.getProjectHome()">$currentProject.getName()</a></SPAN></TD>  
  </TR>
</TABLE>
d5 5
a9 5
<FORM  ACTION="$servletName" METHOD="POST" ENCTYPE="application/x-www-form-urlencoded">
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" BORDER="0" WIDTH="100%">
  <TR>
    <TD class="InputHeader" VALIGN="top" NOWRAP><b>Folder Name:</b></TD>
    <TD WIDTH="100%"><INPUT TYPE="TEXT" NAME="name" 
d11 1
a11 1
       VALUE="$name"
d13 6
a18 6
       VALUE="$section.getName()"
      #end SIZE="25"></TD>
  </TR>
  <TR>
    <TD VALIGN="TOP" class="InputHeader" NOWRAP><b>Optional Description:</b></TD>
    <TD><INPUT TYPE="TEXT" NAME="description" VALUE=
d23 2
a24 2
     #end SIZE="55"></TD>
  </TR>
d28 2
a39 1

a55 6
  <TR>
    <TD></TD>
    <INPUT TYPE="hidden" NAME="sectionID" VALUE="$section.getID()"></TD>
    <TD><INPUT TYPE="SUBMIT" NAME="Button" VALUE="Edit Folder"></TD>
  </TR>
</TABLE>
d57 9
a65 1
</FORM>
@


1.1
log
@Adding Velocity templates.
@
text
@d3 1
a3 1
    <TD class="Header" nowrap><b>Edit a Document Folder:</b> <SPAN CLASS="ProjectNameHeader"><A HREF="$currentProject.getProjectHome()">$currentProject.getName()</a></SPAN></TD>  
a26 1
<!--
d30 1
a30 1

a52 1
-->
d56 1
@

