head	1.4;
access;
symbols
	TIGRIS_0_9_0:1.2.0.2
	TIGRIS_0_8_4:1.1.1.1.0.2
	NEWHELM:1.1.1.1
	TIGRIS_NOV_12_2000:1.1.1;
locks; strict;
comment	@# @;


1.4
date	2001.01.16.21.28.12;	author elicia;	state dead;
branches;
next	1.3;

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

1.2
date	2000.12.05.00.03.37;	author susank;	state Exp;
branches;
next	1.1;

1.1
date	2000.11.12.21.18.18;	author dlr;	state Exp;
branches
	1.1.1.1;
next	;

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


desc
@@


1.4
log
@changed name to ProjectSectionAdd
@
text
@
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" BORDER="0" WIDTH="100%">
  <TR>
    <TD class="Header" nowrap>Add a Document Section: <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">

<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" BORDER="0" WIDTH="100%">
  <TR>
    <TD class="InputHeader" VALIGN="top" NOWRAP>Section Name:</TD>
    <TD WIDTH="100%"><INPUT TYPE="TEXT" NAME="name" VALUE="$name" SIZE="25"></TD>
  </TR>
  <TR>
    <TD VALIGN="TOP" class="InputHeader" NOWRAP>Optional Description:</TD>
    <TD><INPUT TYPE="TEXT" NAME="description" VALUE="$description" SIZE="25"></TD>
  </TR>
  <TR>
    <TD VALIGN="TOP" class="InputHeader" NOWRAP>Subsection of:</TD>
    <TD class="PlainText"><INPUT TYPE="RADIO" NAME="parent_id" VALUE="0" CHECKED>None, place new section at top level</TD>
  </TR>

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

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

</FORM>
@


1.3
log
@made functional and fixed UI
@
text
@@


1.2
log
@changed project name in title to link to ProjectHome
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@a0 9
## <!-- webmacro variables -->  
## <!-- $docName --> 
## <!-- $description --> 
## <!-- $sectionRadio: radio form widget --> 
## <!-- $project: $project.getSections() --> 
## <!-- $section: $section.getName() --> 
## <!-- $addSection: submit button form widget -->

<FORM NAME="ProjectDocumentSectionAddForm" ACTION="default.cgi" METHOD="POST" ENCTYPE="application/x-www-form-urlencoded">
d4 1
a4 1
    <TD class="Header" nowrap>Add a Document Section: <SPAN CLASS="ProjectNameHeader"><A HREF="/servlets/ProjectHome?projectID=$currentProject.getID()">$currentProject.getName()</a></SPAN></TD>  
d8 2
d12 2
a13 2
    <TD class="InputHeader" VALIGN="top" NOWRAP>Document Name:</TD>
    <TD WIDTH="100%"><INPUT TYPE="TEXT" NAME="docName" VALUE="$docName" SIZE="25"></TD>
d21 1
a21 1
    <TD class="PlainText"><INPUT TYPE="RADIO" NAME="sectionRadio" VALUE="new">None, place new section at top level</TD>
d24 2
a25 9
<!-- temporary static html -->
  <TR>
    <TD></TD>
    <TD class="PlainText"><INPUT TYPE="RADIO" NAME="Radio" VALUE="Radio">Section one</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD class="PlainText">&nbsp;&nbsp;&nbsp;&nbsp;<INPUT TYPE="RADIO" NAME="Radio" VALUE="Radio">Subtitle one</TD>
  </TR>
d28 1
a28 1
    <TD class="PlainText">&nbsp;&nbsp;&nbsp;&nbsp;<INPUT TYPE="RADIO" NAME="Radio" VALUE="Radio">Subtitle two</TD>
d30 1
a30 20
  <TR>
    <TD></TD>
    <TD class="PlainText"><INPUT TYPE="RADIO" NAME="Radio" VALUE="Radio">Section two</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD class="PlainText"><INPUT TYPE="RADIO" NAME="Radio" VALUE="Radio">Section three</TD>
  </TR>

<!-- webmacro commented out while servlet not functional --> 
#if (false) 
{ 
#foreach $section in $project.getSections() 
  { 
  <TR>  
    <TD></TD>  
    <TD class="PlainText"><INPUT TYPE="RADIO" NAME="sectionRadio" VALUE="$section.getName()">$section.getName()</TD>  
  </TR>  
  } 
} 
d37 1
a37 1
    <TD><INPUT TYPE="SUBMIT" NAME="addSection" VALUE="Add Section"></TD>
@


1.1
log
@Initial revision
@
text
@d13 1
a13 1
    <TD class="Header" nowrap>Add a Document Section: <SPAN CLASS="ProjectNameHeader">$currentProject.getName()</SPAN></TD>  
@


1.1.1.1
log
@Merging newhelm tree into helm, as per IZ issue #557.  Previous major version of helm is tagged TIGRIS_NOV_11_2000.
@
text
@@
