head	1.10;
access;
symbols
	TIGRIS_1_1_0RC2:1.6
	TIGRIS_1_1_0RC1:1.6
	TIGRIS_1_1:1.6.0.4
	TIGRIS_1_0_8:1.6
	TIGRIS_1_0_8RC3:1.6
	TIGRIS_1_0_8RC2:1.6
	TIGRIS_1_0_8RC1:1.6
	TIGRIS_1_0_7:1.6
	TIGRIS_1_0_7RC3:1.6
	TIGRIS_1_0_7RC2:1.6
	TIGRIS_1_0_7RC1:1.6
	TIGRIS_1_0_6:1.6
	TIGRIS_1_0_6RC5:1.6
	TIGRIS_1_0_6RC4:1.6
	TIGRIS_1_0_6RC3:1.6
	TIGRIS_1_0_6RC2:1.6
	TIGRIS_1_0_6RC1:1.6
	TIGRIS_1_0_5:1.6
	TIGRIS_1_0_5RC6:1.6
	TIGRIS_1_0_5RC5:1.6
	TIGRIS_1_0_5RC4:1.6
	TIGRIS_1_0_5RC3:1.6
	TIGRIS_1_0_5RC2:1.6
	TIGRIS_1_0_5RC1:1.6
	TIGRIS_1_0_4:1.6
	TIGRIS_1_0_3:1.6
	TIGRIS_1_0_2:1.6
	TIGRIS_1_0_1:1.6
	TIGRIS_1_0:1.6.0.6
	TIGRIS_1_0_0:1.6
	TIGRIS_1_0_0_RC1:1.6.0.2
	dlr:1.1.1
	TIGRIS_0_9_2_4:1.1.2.1
	TIGRIS_0_9_2_3:1.1
	HELM_PEER_PORT_BRANCH:1.1.1.1
	TURBINE_PEER:1.2
	TIGRIS_0_9_2_1:1.2
	TIGRIS_0_9_2:1.1.0.2;
locks; strict;
comment	@# @;


1.10
date	2001.05.23.02.04.15;	author dlr;	state dead;
branches;
next	1.9;

1.9
date	2001.05.22.23.37.15;	author elicia;	state Exp;
branches;
next	1.8;

1.8
date	2001.05.03.00.08.00;	author elicia;	state Exp;
branches;
next	1.7;

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

1.6
date	2001.03.27.19.46.06;	author leonardr;	state Exp;
branches;
next	1.5;

1.5
date	2001.02.21.01.08.31;	author dlr;	state Exp;
branches;
next	1.4;

1.4
date	2001.02.01.17.53.03;	author jrobbins;	state Exp;
branches;
next	1.3;

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

1.2
date	2001.01.27.02.18.11;	author elicia;	state Exp;
branches
	1.2.2.1;
next	1.1;

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

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

1.1.2.1
date	2001.02.01.18.49.25;	author jrobbins;	state Exp;
branches;
next	;

1.2.2.1
date	2001.02.17.20.11.18;	author leonardr;	state Exp;
branches;
next	1.2.2.2;

1.2.2.2
date	2001.02.20.07.24.31;	author dlr;	state Exp;
branches;
next	;


desc
@@


1.10
log
@Removed WM templates in favor of Velocity templates.
@
text
@#if ($parent)
{
   #set $parentID = $parent.getID()
   #set $parentName = "folder $parent.getName()"

} #else {
   #set $parentID = 0
   #set $parentName = "top level"
}

<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" BORDER="0" WIDTH="100%">
  <TR>
    <TD class="Header" nowrap><b>Add a Document Folder to $parentName :</b> <SPAN CLASS="ProjectNameHeader"><A HREF="$currentProject.getProjectHome()">$currentProject.getName()</a></SPAN></TD>  
  </TR>
</TABLE>

<FORM  ACTION="$servletName" METHOD="POST" ENCTYPE="application/x-www-form-urlencoded">

<INPUT TYPE="hidden" name="rootSectionID" value="$parentID">
<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" VALUE="$name" SIZE="25"></TD>
  </TR>
  <TR>
    <TD VALIGN="TOP" class="InputHeader" NOWRAP><b>Optional Description:</b></TD>
    <TD><INPUT TYPE="TEXT" NAME="description" VALUE="$description" SIZE="55"></TD>
  </TR>
<!--
  <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") || (!$parentID))
{
CHECKED
}>None, place new folder at top level</TD>
  </TR>

#foreach $section in $currentProject.getSections()
{  
  #if ($section.isApproved())
  {
  <TR>
    <TD></TD>
    <TD class="PlainText"><INPUT TYPE="RADIO" NAME="parentID" VALUE="$section.getID()"
#if ($parentID.equals($section.getID()))
{
CHECKED
}>$section.getName()</TD>
  </TR>
 }
}
-->

  <TR>
    <TD COLSPAN="2">&nbsp;</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD><INPUT TYPE="SUBMIT" NAME="Button" VALUE="Add Folder"></TD>
  </TR>
  <TR>
    <TD></TD>
    <TD class="PlainText">New folder must be approved by the project owner before they will be visible to other users.</TD>
  </TR>  
</TABLE>

</FORM>
@


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


1.8
log
@changed "section" to "folder" in the UI
@
text
@d1 10
d13 1
a13 1
    <TD class="Header" nowrap><b>Add a Document Folder:</b> <SPAN CLASS="ProjectNameHeader"><A HREF="$currentProject.getProjectHome()">$currentProject.getName()</a></SPAN></TD>  
d19 1
d29 1
d53 1
@


1.7
log
@merges UI cleanup changes from sc10inst
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d3 1
a3 1
    <TD class="Header" nowrap><b>Add a Document Section:</b> <SPAN CLASS="ProjectNameHeader"><A HREF="$currentProject.getProjectHome()">$currentProject.getName()</a></SPAN></TD>  
d11 1
a11 1
    <TD class="InputHeader" VALIGN="top" NOWRAP><b>Section Name:</b></TD>
d19 1
a19 1
    <TD VALIGN="TOP" class="InputHeader" NOWRAP><b>Subsection of:</b></TD>
d24 1
a24 1
}>None, place new section at top level</TD>
d47 1
a47 1
    <TD><INPUT TYPE="SUBMIT" NAME="Button" VALUE="Add Section"></TD>
d51 1
a51 1
    <TD class="PlainText">New sections must be approved by the project owner before they will be visible to other users.</TD>
@


1.6
log
@Corrected typo.
@
text
@d3 1
a3 1
    <TD class="Header" nowrap>Add a Document Section: <SPAN CLASS="ProjectNameHeader"><A HREF="$currentProject.getProjectHome()">$currentProject.getName()</a></SPAN></TD>  
d11 1
a11 1
    <TD class="InputHeader" VALIGN="top" NOWRAP>Section Name:</TD>
d15 1
a15 1
    <TD VALIGN="TOP" class="InputHeader" NOWRAP>Optional Description:</TD>
d19 1
a19 1
    <TD VALIGN="TOP" class="InputHeader" NOWRAP>Subsection of:</TD>
@


1.5
log
@This is the highest revision from the HELM_PEER_PORT_BRANCH.  The previous import caused too many conflicts to resolve manually
@
text
@d51 1
a51 1
    <TD class="PlainText">New sections must be approved by the project owner before then will be visible to other users.</TD>
@


1.4
log
@made input widgets wider and corrected table cell for indented section list
@
text
@a0 1

@


1.3
log
@cleanup
@
text
@d17 1
a17 1
    <TD><INPUT TYPE="TEXT" NAME="description" VALUE="$description" SIZE="25"></TD>
@


1.2
log
@added checks for suggestedBy - user who suggests documents can edit them before they are approved
@
text
@d21 5
a25 1
    <TD class="PlainText"><INPUT TYPE="RADIO" NAME="parent_id" VALUE="0" CHECKED>None, place new section at top level</TD>
d29 1
a29 1
{
d34 5
a38 1
    <TD class="PlainText"><INPUT TYPE="RADIO" NAME="parent_id" VALUE="$section.getID()">$section.getName()</TD>
@


1.2.2.1
log
@Ported changes from head.
@
text
@d17 1
a17 1
    <TD><INPUT TYPE="TEXT" NAME="description" VALUE="$description" SIZE="55"></TD>
d21 1
a21 5
    <TD class="PlainText"><INPUT TYPE="RADIO" NAME="parentID" VALUE="0" 
#if ($parentID.equals("0") || (!$parentID))
{
CHECKED
}>None, place new section at top level</TD>
d25 1
a25 1
{  
d30 1
a30 5
    <TD class="PlainText"><INPUT TYPE="RADIO" NAME="parentID" VALUE="$section.getID()"
#if ($parentID.equals($section.getID()))
{
CHECKED
}>$section.getName()</TD>
@


1.2.2.2
log
@Removed extraneous space.
@
text
@d1 1
@


1.1
log
@changed name from ProjectDocumentSectionAdd
@
text
@d26 2
d32 1
@


1.1.1.1
log
@Replacing the HEAD with the HELM_PEER_PORT_BRANCH.
@
text
@d1 1
d17 1
a17 1
    <TD><INPUT TYPE="TEXT" NAME="description" VALUE="$description" SIZE="55"></TD>
d21 1
a21 5
    <TD class="PlainText"><INPUT TYPE="RADIO" NAME="parentID" VALUE="0" 
#if ($parentID.equals("0") || (!$parentID))
{
CHECKED
}>None, place new section at top level</TD>
d25 1
a25 3
{  
  #if ($section.isApproved())
  {
d28 1
a28 5
    <TD class="PlainText"><INPUT TYPE="RADIO" NAME="parentID" VALUE="$section.getID()"
#if ($parentID.equals($section.getID()))
{
CHECKED
}>$section.getName()</TD>
a29 1
 }
@


1.1.2.1
log
@moved changed from HEAD for ProjectDocuments and ProjectDownloads
@
text
@d17 1
a17 1
    <TD><INPUT TYPE="TEXT" NAME="description" VALUE="$description" SIZE="55"></TD>
d21 1
a21 5
    <TD class="PlainText"><INPUT TYPE="RADIO" NAME="parentID" VALUE="0" 
#if ($parentID.equals("0") || (!$parentID))
{
CHECKED
}>None, place new section at top level</TD>
d25 1
a25 3
{  
  #if ($section.isApproved())
  {
d28 1
a28 5
    <TD class="PlainText"><INPUT TYPE="RADIO" NAME="parentID" VALUE="$section.getID()"
#if ($parentID.equals($section.getID()))
{
CHECKED
}>$section.getName()</TD>
a29 1
 }
@


