head	1.13;
access;
symbols
	TIGRIS_1_1_0RC2:1.11
	TIGRIS_1_1_0RC1:1.11
	TIGRIS_1_1:1.11.0.4
	TIGRIS_1_0_8:1.11
	TIGRIS_1_0_8RC3:1.11
	TIGRIS_1_0_8RC2:1.11
	TIGRIS_1_0_8RC1:1.11
	TIGRIS_1_0_7:1.11
	TIGRIS_1_0_7RC3:1.11
	TIGRIS_1_0_7RC2:1.11
	TIGRIS_1_0_7RC1:1.11
	TIGRIS_1_0_6:1.11
	TIGRIS_1_0_6RC5:1.11
	TIGRIS_1_0_6RC4:1.11
	TIGRIS_1_0_6RC3:1.11
	TIGRIS_1_0_6RC2:1.11
	TIGRIS_1_0_6RC1:1.11
	TIGRIS_1_0_5:1.11
	TIGRIS_1_0_5RC6:1.11
	TIGRIS_1_0_5RC5:1.11
	TIGRIS_1_0_5RC4:1.11
	TIGRIS_1_0_5RC3:1.11
	TIGRIS_1_0_5RC2:1.11
	TIGRIS_1_0_5RC1:1.11
	TIGRIS_1_0_4:1.11
	TIGRIS_1_0_3:1.11
	TIGRIS_1_0_2:1.11
	TIGRIS_1_0_1:1.11
	TIGRIS_1_0:1.11.0.6
	TIGRIS_1_0_0:1.11
	TIGRIS_1_0_0_RC1:1.11.0.2
	dlr:1.1.1
	TIGRIS_0_9_2_4:1.10
	TIGRIS_0_9_2_3:1.10
	HELM_PEER_PORT_BRANCH:1.1.1.2
	TURBINE_PEER:1.10
	TIGRIS_0_9_2_1:1.10
	TIGRIS_0_9_2:1.10.0.2
	TIGRIS_0_9_0:1.9.0.2
	TIGRIS_0_8_4:1.4.0.2
	NEWHELM:1.1.1.1
	TIGRIS_NOV_12_2000:1.1.1;
locks; strict;
comment	@# @;


1.13
date	2001.05.23.02.04.15;	author dlr;	state dead;
branches;
next	1.12;

1.12
date	2001.03.29.23.45.02;	author susank;	state Exp;
branches;
next	1.11;

1.11
date	2001.02.21.01.08.31;	author dlr;	state Exp;
branches;
next	1.10;

1.10
date	2000.12.21.16.50.32;	author jrobbins;	state Exp;
branches
	1.10.4.1;
next	1.9;

1.9
date	2000.12.15.23.57.23;	author elicia;	state Exp;
branches
	1.9.2.1;
next	1.8;

1.8
date	2000.12.14.00.14.53;	author susank;	state Exp;
branches;
next	1.7;

1.7
date	2000.12.13.00.13.33;	author dlr;	state Exp;
branches;
next	1.6;

1.6
date	2000.12.12.23.45.59;	author dlr;	state Exp;
branches;
next	1.5;

1.5
date	2000.12.05.00.03.37;	author susank;	state Exp;
branches;
next	1.4;

1.4
date	2000.11.18.10.17.10;	author dlr;	state Exp;
branches;
next	1.3;

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

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

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

1.1.1.1
date	2000.11.12.21.18.19;	author dlr;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	2001.02.21.00.36.58;	author dlr;	state Exp;
branches;
next	;

1.9.2.1
date	2000.12.21.22.35.35;	author jrobbins;	state Exp;
branches;
next	;

1.10.4.1
date	2001.02.20.22.14.44;	author dlr;	state Exp;
branches;
next	1.10.4.2;

1.10.4.2
date	2001.02.20.23.29.21;	author elicia;	state Exp;
branches;
next	;


desc
@@


1.13
log
@Removed WM templates in favor of Velocity templates.
@
text
@<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
  <TR>
    <TD CLASS="Header" nowrap><b>Edit Downloads:</b> <SPAN CLASS="ProjectNameHeader"><A HREF="$currentProject.getProjectHome()">$currentProject.getName()</a></SPAN></TD>  
  </TR>
</TABLE>

<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="3" BORDER="0" width="100%">
<FORM METHOD="POST" ACTION="ProjectDownloadEdit">
  <TR>
    <TD CLASS="ProjectDownloadHeader" BGCOLOR="#efefef" width="15%" NOWRAP><b>File Name</b></TD>
    <TD CLASS="ProjectDownloadHeader" BGCOLOR="#efefef" width="35%"><b>Description</TD>
    <TD CLASS="ProjectDownloadHeader" BGCOLOR="#efefef" NOWRAP><b>Access Control</b></TD>
    <TD CLASS="ProjectDownloadHeader" BGCOLOR="#efefef" NOWRAP><b>Delete File</b></TD>
  </TR>
#if ($downloads)
{
  #foreach $download in $downloads
  {
  <TR>
    <TD CLASS="ProjectName" VALIGN="top">
        <A HREF="ProjectDownloadList?action=download&dlID=$download.getID()">$download.getFileName()</A>
    </TD>
    <TD CLASS="PlainText" VALIGN="top">
       <TEXTAREA name="edit $download.getID()" cols="30" rows="3">$download.getDescription()</TEXTAREA>
    </TD>
    <TD CLASS="PlainText" ALIGN="left" VALIGN="top">
      <INPUT TYPE="checkbox" NAME="public $download.getID()"
    #if ($download.isPublic())
    {
             CHECKED
    }
      >&nbsp; Public
    </TD>
    <TD CLASS="PlainText" ALIGN="left" VALIGN="top"><INPUT TYPE="checkbox" name="delete $download.getID()">&nbsp; Delete</TD>
  </TR>
  <TR>
    <TD COLSPAN="8">
      <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
        <TR>
          <TD BGCOLOR="#efefef" HEIGHT="1"><SPACER TYPE="block" HEIGHT="1"></TD>
        </TR>
      </TABLE>
    </TD>
  </TR>
  }
  <TR>
    <TD><INPUT TYPE="submit" NAME="Button" VALUE="Edit Downloads"></TD>
  </TR>
} #else {
  <TR>
    <TD CLASS="PlainText" COLSPAN="2"><I>No downloads for this project.</I></TD>
  </TR>
}
<INPUT TYPE="hidden" NAME="projectID" VALUE="$currentProject.getID()">
</FORM>
</TABLE>
@


1.12
log
@merges UI cleanup changes from sc10inst
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@@


1.11
log
@This is the highest revision from the HELM_PEER_PORT_BRANCH.  The previous import caused too many conflicts to resolve manually
@
text
@d3 1
a3 1
    <TD CLASS="Header" nowrap>Edit Downloads: <SPAN CLASS="ProjectNameHeader"><A HREF="$currentProject.getProjectHome()">$currentProject.getName()</a></SPAN></TD>  
d7 1
a7 1
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" BORDER="0" width="100%">
d10 4
a13 7
    <TD CLASS="ProjectDownloadHeader" BGCOLOR="#efefef" width="20%" NOWRAP>File Name</TD>
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
    <TD CLASS="ProjectDownloadHeader" BGCOLOR="#efefef" width="40%">Description</TD>
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
    <TD CLASS="ProjectDownloadHeader" BGCOLOR="#efefef" NOWRAP>Access Control</TD>
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
    <TD CLASS="ProjectDownloadHeader" BGCOLOR="#efefef" NOWRAP>Delete File</TD>
a22 1
    <TD></TD>
a25 1
    <TD></TD>
a33 1
    <TD></TD>
a46 1
    <TD></TD>
@


1.10
log
@added style, revised layout to give more room to description, fixed a broken link
@
text
@d24 1
a24 1
        <A HREF="ProjectDownload?action=download&dlID=$download.getID()">$download.getName()</A>
d28 1
a28 1
       <TEXTAREA name="edit $download.getDownloadID()" cols="30" rows="3">$download.getDescription()</TEXTAREA>
d32 1
a32 1
      <INPUT TYPE="checkbox" NAME="public $download.getDownloadID()"
d40 1
a40 1
    <TD CLASS="PlainText" ALIGN="left" VALIGN="top"><INPUT TYPE="checkbox" name="delete $download.getDownloadID()">&nbsp; Delete</TD>
a63 5





@


1.10.4.1
log
@Changed getDownloadID() to getID() and removed extraneous whitespace
at the end of the file.
@
text
@d28 1
a28 1
       <TEXTAREA name="edit $download.getID()" cols="30" rows="3">$download.getDescription()</TEXTAREA>
d32 1
a32 1
      <INPUT TYPE="checkbox" NAME="public $download.getID()"
d40 1
a40 1
    <TD CLASS="PlainText" ALIGN="left" VALIGN="top"><INPUT TYPE="checkbox" name="delete $download.getID()">&nbsp; Delete</TD>
d64 5
@


1.10.4.2
log
@changed link to list  page
@
text
@d24 1
a24 1
        <A HREF="ProjectDownloadList?action=download&dlID=$download.getID()">$download.getFileName()</A>
@


1.9
log
@changed links to support vhosting and non-vhosting modes
@
text
@a0 2
<FORM METHOD="POST" ACTION="ProjectDownloadEdit">

d8 1
d11 1
d13 1
d15 1
d23 8
a30 2
    <TD CLASS="ProjectName" VALIGN="top"><A HREF="project">$download.getName()</A></TD>
    <TD CLASS="PlainText" VALIGN="top"><TEXTAREA name="edit $download.getDownloadID()" cols="30" rows="3">$download.getDescription()</TEXTAREA></TD>
d39 1
d42 9
a60 1
</TABLE>
d63 1
@


1.9.2.1
log
@moved changes from HEAD
@
text
@d1 2
a9 1
<FORM METHOD="POST" ACTION="ProjectDownloadEdit">
a11 1
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
a12 1
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
a13 1
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
d21 2
a22 8
    <TD CLASS="ProjectName" VALIGN="top">
        <A HREF="ProjectDownload?action=download&dlID=$download.getID()">$download.getName()</A>
    </TD>
    <TD></TD>
    <TD CLASS="PlainText" VALIGN="top">
       <TEXTAREA name="edit $download.getDownloadID()" cols="30" rows="3">$download.getDescription()</TEXTAREA>
    </TD>
    <TD></TD>
a30 1
    <TD></TD>
a32 9
  <TR>
    <TD COLSPAN="8">
      <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
        <TR>
          <TD BGCOLOR="#efefef" HEIGHT="1"><SPACER TYPE="block" HEIGHT="1"></TD>
        </TR>
      </TABLE>
    </TD>
  </TR>
d43 1
a45 1
</TABLE>
@


1.8
log
@from IZ UI prob; added nowraps, valigns, and changed the description to a textarea, cos that helps, and that's what it always is (and should be)
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d5 1
a5 1
    <TD CLASS="Header" nowrap>Edit Downloads: <SPAN CLASS="ProjectNameHeader"><A HREF="/servlets/ProjectHome?projectID=$currentProject.getID()">$currentProject.getName()</a></SPAN></TD>  
@


1.7
log
@Doh!  isPublic() returns a Boolean.
@
text
@d3 1
a3 1
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" BORDER="0" WIDTH="100%">
d11 1
a11 1
    <TD CLASS="ProjectDownloadHeader" BGCOLOR="#efefef" width="20%">File Name</TD>
d13 2
a14 2
    <TD CLASS="ProjectDownloadHeader" BGCOLOR="#efefef">Access Control</TD>
    <TD CLASS="ProjectDownloadHeader" BGCOLOR="#efefef">Delete File</TD>
d21 3
a23 3
    <TD CLASS="ProjectName"><A HREF="project">$download.getName()</A></TD>
    <TD CLASS="PlainText"><INPUT TYPE ="TEXT" name="edit $download.getDownloadID()" size = 50 value="$download.getDescription()"></TD>
    <TD CLASS="PlainText" ALIGN="left">
d31 1
a31 1
    <TD CLASS="PlainText" ALIGN="left"><INPUT TYPE="checkbox" name="delete $download.getDownloadID()">&nbsp; Delete</TD>
@


1.6
log
@Support Download.isPublic().
@
text
@d25 1
a25 1
    #if ($download.isPublic().equals("Y"))
@


1.5
log
@changed project name in title to link to ProjectHome
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d13 2
a14 1
    <TD CLASS="ProjectDownloadHeader" BGCOLOR="#efefef">Operations</TD>
d23 9
a31 1
    <TD CLASS="PlainText" align="left"><INPUT TYPE = "checkbox" name = "delete $download.getDownloadID()">&nbsp; Delete</TD>
@


1.4
log
@"downloads" is not always in the context
@
text
@d5 1
a5 1
    <TD CLASS="Header" nowrap>Edit Downloads: <SPAN CLASS="ProjectNameHeader">$currentProject.getName()</SPAN></TD>  
@


1.3
log
@We should attempt to refrain from tricking the feeble-minded user into
thinking that they can edit downloads when there aren't any.
@
text
@d15 1
a15 1
#if ($downloads.size() > 0)
@


1.2
log
@- Added new heading.
- Lined up the submit button with the start of the other widgets.
- Relabeled submit button.
@
text
@d5 1
a5 1
    <TD class="Header" nowrap>Edit Downloads: <SPAN CLASS="ProjectNameHeader">$currentProject.getName()</SPAN></TD>  
d11 3
a13 3
    <TD class="ProjectDownloadHeader" BGCOLOR="#efefef" width="20%">File Name</TD>
    <TD class="ProjectDownloadHeader" BGCOLOR="#efefef" width="40%">Description</TD>
    <TD class="ProjectDownloadHeader" BGCOLOR="#efefef">Operations</TD>
d15 4
a18 2
 #foreach $download in $downloads
 {
d20 3
a22 3
    <TD class="ProjectName"><A HREF="project">$download.getName()</A></TD>
    <TD class="PlainText"><INPUT TYPE ="TEXT" name="edit $download.getDownloadID()" size = 50 value="$download.getDescription()"></TD>
    <TD class="PlainText" align="left"><INPUT TYPE = "checkbox" name = "delete $download.getDownloadID()">&nbsp; Delete</TD>
d27 1
a27 1
    <TD><INPUT TYPE="submit" name="Button" value="Edit Downloads"></TD>
d29 5
d35 1
a35 1
<INPUT TYPE="hidden" name="projectID" value="$currentProject.getID()">
@


1.1
log
@Initial revision
@
text
@d13 1
a13 1
    <TD class="ProjectDownloadHeader" BGCOLOR="#efefef">&nbsp;</TD>
a14 1

d20 1
a20 1
    <TD class="PlainText" align="left"><INPUT TYPE = "checkbox" name = "delete $download.getDownloadID()">&nbsp;Delete?</TD>
d23 4
a26 1

a27 2

<P>
a28 2
<INPUT TYPE="submit" name="Button" value="Do Selected Actions">

@


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
@@


1.1.1.2
log
@Replacing the HEAD with the HELM_PEER_PORT_BRANCH.
@
text
@d1 3
a3 1
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
d5 1
a5 1
    <TD CLASS="Header" nowrap>Edit Downloads: <SPAN CLASS="ProjectNameHeader"><A HREF="$currentProject.getProjectHome()">$currentProject.getName()</a></SPAN></TD>  
a9 1
<FORM METHOD="POST" ACTION="ProjectDownloadEdit">
d11 3
a13 31
    <TD CLASS="ProjectDownloadHeader" BGCOLOR="#efefef" width="20%" NOWRAP>File Name</TD>
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
    <TD CLASS="ProjectDownloadHeader" BGCOLOR="#efefef" width="40%">Description</TD>
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
    <TD CLASS="ProjectDownloadHeader" BGCOLOR="#efefef" NOWRAP>Access Control</TD>
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
    <TD CLASS="ProjectDownloadHeader" BGCOLOR="#efefef" NOWRAP>Delete File</TD>
  </TR>
#if ($downloads)
{
  #foreach $download in $downloads
  {
  <TR>
    <TD CLASS="ProjectName" VALIGN="top">
        <A HREF="ProjectDownloadList?action=download&dlID=$download.getID()">$download.getFileName()</A>
    </TD>
    <TD></TD>
    <TD CLASS="PlainText" VALIGN="top">
       <TEXTAREA name="edit $download.getID()" cols="30" rows="3">$download.getDescription()</TEXTAREA>
    </TD>
    <TD></TD>
    <TD CLASS="PlainText" ALIGN="left" VALIGN="top">
      <INPUT TYPE="checkbox" NAME="public $download.getID()"
    #if ($download.isPublic())
    {
             CHECKED
    }
      >&nbsp; Public
    </TD>
    <TD></TD>
    <TD CLASS="PlainText" ALIGN="left" VALIGN="top"><INPUT TYPE="checkbox" name="delete $download.getID()">&nbsp; Delete</TD>
d15 3
d19 3
a21 7
    <TD COLSPAN="8">
      <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
        <TR>
          <TD BGCOLOR="#efefef" HEIGHT="1"><SPACER TYPE="block" HEIGHT="1"></TD>
        </TR>
      </TABLE>
    </TD>
d24 7
a30 10
  <TR>
    <TD></TD>
    <TD><INPUT TYPE="submit" NAME="Button" VALUE="Edit Downloads"></TD>
  </TR>
} #else {
  <TR>
    <TD CLASS="PlainText" COLSPAN="2"><I>No downloads for this project.</I></TD>
  </TR>
}
<INPUT TYPE="hidden" NAME="projectID" VALUE="$currentProject.getID()">
d32 5
a36 1
</TABLE>
@

