head	1.38;
access;
symbols
	TIGRIS_0_9_2_4:1.32.2.2
	TIGRIS_0_9_2_3:1.32.2.1
	HELM_PEER_PORT_BRANCH:1.33.0.2
	TURBINE_PEER:1.33
	TIGRIS_0_9_2_1:1.33
	TIGRIS_0_9_2:1.32.0.2
	TIGRIS_0_9_0:1.31.0.2
	TIGRIS_0_8_4:1.22.0.2
	NEWHELM:1.1.1.1
	TIGRIS_NOV_12_2000:1.1.1;
locks; strict;
comment	@# @;


1.38
date	2001.02.21.07.02.01;	author edk;	state dead;
branches;
next	1.37;

1.37
date	2001.02.09.18.45.31;	author elicia;	state Exp;
branches;
next	1.36;

1.36
date	2001.02.09.01.13.16;	author elicia;	state Exp;
branches;
next	1.35;

1.35
date	2001.02.08.02.43.12;	author elicia;	state Exp;
branches;
next	1.34;

1.34
date	2001.02.08.02.28.16;	author susank;	state Exp;
branches;
next	1.33;

1.33
date	2001.01.22.23.42.43;	author dlr;	state Exp;
branches
	1.33.2.1;
next	1.32;

1.32
date	2000.12.21.16.50.32;	author jrobbins;	state Exp;
branches
	1.32.2.1;
next	1.31;

1.31
date	2000.12.15.23.57.23;	author elicia;	state Exp;
branches
	1.31.2.1;
next	1.30;

1.30
date	2000.12.13.22.59.36;	author susank;	state Exp;
branches;
next	1.29;

1.29
date	2000.12.12.20.29.48;	author dlr;	state Exp;
branches;
next	1.28;

1.28
date	2000.12.12.19.53.08;	author dlr;	state Exp;
branches;
next	1.27;

1.27
date	2000.12.12.19.52.48;	author dlr;	state Exp;
branches;
next	1.26;

1.26
date	2000.12.12.02.51.43;	author dlr;	state Exp;
branches;
next	1.25;

1.25
date	2000.12.11.22.55.04;	author dlr;	state Exp;
branches;
next	1.24;

1.24
date	2000.12.05.00.03.37;	author susank;	state Exp;
branches;
next	1.23;

1.23
date	2000.12.04.19.43.45;	author dlr;	state Exp;
branches;
next	1.22;

1.22
date	2000.12.02.07.16.31;	author jrobbins;	state Exp;
branches
	1.22.2.1;
next	1.21;

1.21
date	2000.12.01.02.03.00;	author elicia;	state Exp;
branches;
next	1.20;

1.20
date	2000.11.29.02.23.50;	author dlr;	state Exp;
branches;
next	1.19;

1.19
date	2000.11.28.22.22.52;	author dlr;	state Exp;
branches;
next	1.18;

1.18
date	2000.11.22.07.44.00;	author dlr;	state Exp;
branches;
next	1.17;

1.17
date	2000.11.20.23.52.35;	author dlr;	state Exp;
branches;
next	1.16;

1.16
date	2000.11.19.21.14.41;	author dlr;	state Exp;
branches;
next	1.15;

1.15
date	2000.11.18.10.39.51;	author dlr;	state Exp;
branches;
next	1.14;

1.14
date	2000.11.17.19.47.46;	author dlr;	state Exp;
branches;
next	1.13;

1.13
date	2000.11.17.19.42.44;	author dlr;	state Exp;
branches;
next	1.12;

1.12
date	2000.11.17.03.16.25;	author dlr;	state Exp;
branches;
next	1.11;

1.11
date	2000.11.16.19.44.19;	author elicia;	state Exp;
branches;
next	1.10;

1.10
date	2000.11.16.04.22.21;	author dlr;	state Exp;
branches;
next	1.9;

1.9
date	2000.11.16.02.38.46;	author dlr;	state Exp;
branches;
next	1.8;

1.8
date	2000.11.16.01.07.13;	author dlr;	state Exp;
branches;
next	1.7;

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

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

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

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

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

1.2
date	2000.11.14.05.07.10;	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.22.2.1
date	2000.12.05.06.34.18;	author jrobbins;	state Exp;
branches;
next	1.22.2.2;

1.22.2.2
date	2001.02.08.02.42.05;	author susank;	state Exp;
branches;
next	;

1.31.2.1
date	2000.12.21.22.35.35;	author jrobbins;	state Exp;
branches;
next	1.31.2.2;

1.31.2.2
date	2001.02.08.02.32.42;	author susank;	state Exp;
branches;
next	;

1.32.2.1
date	2001.01.24.23.40.34;	author susank;	state Exp;
branches;
next	1.32.2.2;

1.32.2.2
date	2001.02.01.18.50.08;	author jrobbins;	state Exp;
branches;
next	;

1.33.2.1
date	2001.01.31.02.05.51;	author leonardr;	state Exp;
branches;
next	1.33.2.2;

1.33.2.2
date	2001.02.12.17.20.31;	author leonardr;	state Exp;
branches;
next	1.33.2.3;

1.33.2.3
date	2001.02.12.18.06.25;	author leonardr;	state Exp;
branches;
next	1.33.2.4;

1.33.2.4
date	2001.02.16.01.20.59;	author elicia;	state Exp;
branches;
next	1.33.2.5;

1.33.2.5
date	2001.02.17.20.11.18;	author leonardr;	state Exp;
branches;
next	1.33.2.6;

1.33.2.6
date	2001.02.20.22.30.14;	author leonardr;	state Exp;
branches;
next	1.33.2.7;

1.33.2.7
date	2001.02.20.22.41.16;	author dlr;	state Exp;
branches;
next	1.33.2.8;

1.33.2.8
date	2001.02.20.23.52.40;	author elicia;	state dead;
branches;
next	;


desc
@@


1.38
log
@this files are obsolete now
@
text
@<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" BORDER="0" WIDTH="100%">
  <TR>
    <TD CLASS="Header" NOWRAP>Downloads: <SPAN CLASS="ProjectNameHeader"><A HREF="$currentProject.getProjectHome()">$currentProject.getName()</a></SPAN></TD>  
#if ($acl.hasPermissionForProject("Project Download - Delete", $currentProject.getID()))
{
   #if ($downloads)
   {
    <TD ALIGN="right" CLASS="ProjectName"><A HREF="$currentProject.getProjectPageURL("ProjectDownloadEdit")">Edit</A></TD>
   }
}
  </TR>
</TABLE>

#set $canApprove = $acl.hasPermissionForProject("Project Download - Approve", $currentProject.getID())

<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" WIDTH="100%">
  <TR>
    <TD CLASS="ProjectDownloadHeader" BGCOLOR="#efefef">Size</TD>
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
    <TD CLASS="ProjectDownloadHeader" BGCOLOR="#efefef" NOWRAP>File Name</TD>
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
    <TD CLASS="ProjectDownloadHeader" BGCOLOR="#efefef" NOWRAP>Date Posted</TD>
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
    <TD CLASS="ProjectDownloadHeader" BGCOLOR="#efefef" NOWRAP>Posted By</TD>
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
    <TD CLASS="ProjectDownloadHeader" BGCOLOR="#efefef" NOWRAP>MD5 Checksum</TD>
  </TR>

#if ($downloads)
{
  #foreach $download in $downloads
  {
  <TR>
    <TD CLASS="PlainText" NOWRAP>$download.getSize()</TD>
    <TD></TD>
    #if ($download.isApproved())
    {
    <TD CLASS="ProjectName" NOWRAP><A HREF="ProjectDownload?action=download&dlID=$download.getID()">$download.getName()</A></TD>
    } #else {
      #if ($canApprove)
      {
    <TD CLASS="ProjectName" NOWRAP><font color="red"><a href="ProjectDownloadApproval">Pending approval</a> : </font><A HREF="ProjectDownload?action=download&dlID=$download.getID()">$download.getName()</A></TD>
      } #else {
    <TD CLASS="ProjectName" NOWRAP><font color="red">Pending approval : </font><A HREF="ProjectDownload?action=download&dlID=$download.getID()">$download.getName()</A></TD>
      }
    }
    <TD></TD>
    <TD CLASS="PlainText" NOWRAP>$download.getUploadDate()</TD>
    <TD></TD>
    <TD CLASS="PlainText" NOWRAP>$download.getUploadedBy().getLoginID()</TD>
    <TD></TD>
    <TD CLASS="PlainText" NOWRAP>$download.getMD5Checksum()</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD></TD>
    <TD COLSPAN="7" CLASS="PlainText">$download.getDescription()</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>
  }
} #else {
  <TR>
    <TD CLASS="PlainText" COLSPAN="10"><I>There are no downloads for this project.</I></TD>
  </TR>
}

</TABLE>

<P>

#set $projectID = $currentProject.getID()
#if ($acl.hasPermissionForProject("Project Download - Suggest", $projectID) || $acl.hasPermissionForProject("Project Download - Approve", $projectID))
{
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" WIDTH="100%">
  <TR>
  #if ($canApprove)
  {
    <TD CLASS="ProjectDownloadHeader"
        BGCOLOR="#efefef" NOWRAP>Add or Replace a Download</TD>
   } #else {
    <TD CLASS="ProjectDownloadHeader"
        BGCOLOR="#efefef" NOWRAP>Suggest or Replace a Download</TD>
   }
  </TR>
  <TR>
    <FORM METHOD="post" ACTION="/servlets/ProjectDownload?action=Upload+File"
          ENCTYPE="multipart/form-data">
    <TD CLASS="PlainText">
      <TABLE>
        <TR>
          <TD CLASS="InputHeader">File: &nbsp;</TD>
          <TD><INPUT TYPE="file" NAME="file" SIZE="20"></TD>
        </TR>
        <TR>
          <TD CLASS="PlainText" COLSPAN="2">
            <small>
            Click <I>Browse</I> and select a file.  If you do not see a
            <I>Browse</I> button, your browser does not support file uploads.
            (Windows users, set <I>Files of Type:</I> to be <I>All Files
            (*.*)</I> to get a complete file listing.)<br>
            The <I>File</I> field cannot be used to rename files.
            </small>
          </TD>
        <TR>
          <TD CLASS="InputHeader">Description: &nbsp;</TD>
          <TD><INPUT TYPE="text" NAME="description" VALUE="$description"
                     SIZE="50"></TD>
        </TR>
        <TR>
          <TD CLASS="InputHeader">Public: &nbsp;</TD>
          <TD>
            <INPUT TYPE="checkbox" NAME="isPublic" VALUE="Y"
  #if ($isPublic)
  {
                     CHECKED
  }
               >
          </TD>
        </TR>
        </TR>
        <TR>
          <TD></TD>
          <TD><INPUT TYPE="submit" VALUE="Upload File"></TD>
        </TR>
      </TABLE>
    </TD>
    </form>
  </TR>
</TABLE>
}
@


1.37
log
@if user does not have approve priveleges, set text to say "Suggest" Download instead of "Add"
@
text
@@


1.36
log
@added check for unapproved uploads
@
text
@d14 2
d40 1
a40 1
      #if ($acl.hasPermissionForProject("Project Download - Approve", $currentProject.getID()))
d84 2
d88 4
@


1.35
log
@added check for approval status
@
text
@d36 1
a36 1
       <TD CLASS="ProjectName" NOWRAP><A HREF="ProjectDownload?action=download&dlID=$download.getID()">$download.getName()</A></TD>
d38 6
a43 2
       #if ($acl.hasPermissionForProject(
       <TD CLASS="ProjectName" NOWRAP><font color="red">Pending approval:<A HREF="ProjectDownload?action=download&dlID=$download.getID()"></font>$download.getName()</A></TD>
d58 1
a58 1
    <TD COLSPAN="9">
@


1.34
log
@changed "upload" terminology to "posted," to avoid confusion. As per IZ#2118
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d34 7
a40 1
    <TD CLASS="ProjectName" NOWRAP><A HREF="ProjectDownload?action=download&dlID=$download.getID()">$download.getName()</A></TD>
d54 1
a54 1
    <TD COLSPAN="8">
@


1.33
log
@Added a note about file renames for the truely pathetic users.  Thanks
to Elicia for pointing this out.
@
text
@d20 1
a20 1
    <TD CLASS="ProjectDownloadHeader" BGCOLOR="#efefef" NOWRAP>Upload Date</TD>
d22 1
a22 1
    <TD CLASS="ProjectDownloadHeader" BGCOLOR="#efefef" NOWRAP>Uploaded By</TD>
@


1.33.2.1
log
@Converted permission checking somewhat.
@
text
@d4 1
a4 1
#if ($acl.hasPermissionForProject("Project Download - Delete", $currentProject))
d67 2
a68 1
#if ($acl.hasPermissionForProject("Project Download - Suggest", $currentProject) || $acl.hasPermissionForProject("Project Download - Approve", $currentProject))
@


1.33.2.2
log
@Got rid of calls to deprecated permission checking methods.
@
text
@d4 1
a4 1
#if ($acl.hasPermission("Project Download - Delete", $currentProject))
d67 1
a67 1
#if ($acl.hasPermission("Project Download - Suggest", $currentProject) || $acl.hasPermission("Project Download - Approve", $currentProject))
@


1.33.2.3
log
@Changed calls to getLoginID to calls to getLoginName
@
text
@d38 1
a38 1
    <TD CLASS="PlainText" NOWRAP>$download.getUploadedBy().getLoginName()</TD>
@


1.33.2.4
log
@changed name of servlet in action
@
text
@d75 1
a75 1
    <FORM METHOD="post" ACTION="/servlets/ProjectDownloadList?action=Upload+File"
@


1.33.2.5
log
@Ported changes from head.
@
text
@a13 2
#set $canApprove = $acl.hasPermissionForProject("Project Download - Approve", $currentProject.getID())

d20 1
a20 1
    <TD CLASS="ProjectDownloadHeader" BGCOLOR="#efefef" NOWRAP>Date Posted</TD>
d22 1
a22 1
    <TD CLASS="ProjectDownloadHeader" BGCOLOR="#efefef" NOWRAP>Posted By</TD>
a33 2
    #if ($download.isApproved())
    {
a34 8
    } #else {
      #if ($canApprove)
      {
    <TD CLASS="ProjectName" NOWRAP><font color="red"><a href="ProjectDownloadApproval">Pending approval</a> : </font><A HREF="ProjectDownload?action=download&dlID=$download.getID()">$download.getName()</A></TD>
      } #else {
    <TD CLASS="ProjectName" NOWRAP><font color="red">Pending approval : </font><A HREF="ProjectDownload?action=download&dlID=$download.getID()">$download.getName()</A></TD>
      }
    }
a70 2
  #if ($canApprove)
  {
a72 4
   } #else {
    <TD CLASS="ProjectDownloadHeader"
        BGCOLOR="#efefef" NOWRAP>Suggest or Replace a Download</TD>
   }
@


1.33.2.6
log
@Corrected method names.
@
text
@d48 1
a48 1
    <TD CLASS="PlainText" NOWRAP>$download.getUploadedDate()</TD>
d50 1
a50 1
    <TD CLASS="PlainText" NOWRAP>$download.getUserRelatedByProposedBy().getLoginName()</TD>
@


1.33.2.7
log
@Renamed getMD5Checksum() to the matching method in
BaseProjectDownload.
@
text
@d52 1
a52 1
    <TD CLASS="PlainText" NOWRAP>$download.getMd5()</TD>
@


1.33.2.8
log
@name changed to ProjectDownloadList
@
text
@@


1.32
log
@added style, revised layout to give more room to description, fixed a broken link
@
text
@d90 2
a91 1
            (*.*)</I> to get a complete file listing.)
@


1.32.2.1
log
@changed Upload to Post for language clarification
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d20 1
a20 1
    <TD CLASS="ProjectDownloadHeader" BGCOLOR="#efefef" NOWRAP>Date Posted</TD>
d22 1
a22 1
    <TD CLASS="ProjectDownloadHeader" BGCOLOR="#efefef" NOWRAP>Posted By</TD>
@


1.32.2.2
log
@moved changed from HEAD for ProjectDocuments and ProjectDownloads
@
text
@d90 1
a90 2
            (*.*)</I> to get a complete file listing.)<br>
            The <I>File</I> field cannot be used to rename files.
@


1.31
log
@changed links to support vhosting and non-vhosting modes
@
text
@d17 1
d19 1
a19 1
    <TD CLASS="ProjectDownloadHeader" BGCOLOR="#efefef">Description</TD>
d21 1
d23 1
d32 22
a53 2
    <TD CLASS="PlainText">$download.getSize()</TD>
    <TD CLASS="ProjectName"><A HREF="ProjectDownload?action=download&dlID=$download.getID()">$download.getName()</A>
a54 4
    <TD CLASS="PlainText">$download.getDescription()</TD>
    <TD CLASS="PlainText">$download.getUploadDate()</TD>
    <TD CLASS="PlainText">$download.getUploadedBy().getLoginID()</TD>
    <TD CLASS="PlainText">$download.getMD5Checksum()</TD>
d59 1
a59 1
    <TD CLASS="PlainText" COLSPAN="6"><I>No downloads for the project.</I></TD>
d81 1
a81 1
          <TD CLASS="InputHeader">File &nbsp;</TD>
d94 1
a94 1
          <TD CLASS="InputHeader">Description &nbsp;</TD>
d99 1
a99 1
          <TD CLASS="InputHeader">Public &nbsp;</TD>
@


1.31.2.1
log
@moved changes from HEAD
@
text
@a16 1
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
d18 1
a18 1
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
a19 1
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
a20 1
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
d29 2
a30 22
    <TD CLASS="PlainText" NOWRAP>$download.getSize()</TD>
    <TD></TD>
    <TD CLASS="ProjectName" NOWRAP><A HREF="ProjectDownload?action=download&dlID=$download.getID()">$download.getName()</A></TD>
    <TD></TD>
    <TD CLASS="PlainText" NOWRAP>$download.getUploadDate()</TD>
    <TD></TD>
    <TD CLASS="PlainText" NOWRAP>$download.getUploadedBy().getLoginID()</TD>
    <TD></TD>
    <TD CLASS="PlainText" NOWRAP>$download.getMD5Checksum()</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD></TD>
    <TD COLSPAN="7" CLASS="PlainText">$download.getDescription()</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>
d32 4
d40 1
a40 1
    <TD CLASS="PlainText" COLSPAN="10"><I>There are no downloads for this project.</I></TD>
d62 1
a62 1
          <TD CLASS="InputHeader">File: &nbsp;</TD>
d75 1
a75 1
          <TD CLASS="InputHeader">Description: &nbsp;</TD>
d80 1
a80 1
          <TD CLASS="InputHeader">Public: &nbsp;</TD>
@


1.31.2.2
log
@"uploaded" terminology may be confusing when talking about downloads.  Change to
"posted by" and "date posted."  IZ # 2118
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d20 1
a20 1
    <TD CLASS="ProjectDownloadHeader" BGCOLOR="#efefef" NOWRAP>Date Posted</TD>
d22 1
a22 1
    <TD CLASS="ProjectDownloadHeader" BGCOLOR="#efefef" NOWRAP>Posted By</TD>
@


1.30
log
@IZ task had me take a look; added a few nowraps to help the scaling prob.
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d3 1
a3 1
    <TD CLASS="Header" NOWRAP>Downloads: <SPAN CLASS="ProjectNameHeader"><A HREF="/servlets/ProjectHome?projectID=$currentProject.getID()">$currentProject.getName()</a></SPAN></TD>  
d8 1
a8 1
    <TD ALIGN="right" CLASS="ProjectName"><A HREF="/servlets/ProjectDownloadEdit?projectID=$currentProject.getID()">Edit</A></TD>
@


1.29
log
@Corrected checkbox state display logic.
@
text
@d14 1
a14 1
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" BORDER="0" width="100%">
d17 1
a17 1
    <TD CLASS="ProjectDownloadHeader" BGCOLOR="#efefef">File Name</TD>
d19 3
a21 3
    <TD CLASS="ProjectDownloadHeader" BGCOLOR="#efefef">Upload Date</TD>
    <TD CLASS="ProjectDownloadHeader" BGCOLOR="#efefef">Uploaded By</TD>
    <TD CLASS="ProjectDownloadHeader" BGCOLOR="#efefef">MD5 Checksum</TD>
d51 1
a51 1
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" BORDER="0" width="100%">
d54 1
a54 1
        BGCOLOR="#efefef">Add or Replace a Download</TD>
@


1.28
log
@Changed value provided by isPublic checkbox.
@
text
@d83 1
a83 1
  #if (!$isPublic)
@


1.27
log
@Changed private to public.
@
text
@d82 1
a82 1
            <INPUT TYPE="checkbox" NAME="isPublic" VALUE="N"
@


1.26
log
@Be more explicit with the MD5 checksum field label.
@
text
@a78 1
<!-- Comment out unsupported feature
d80 1
a80 1
          <TD CLASS="InputHeader">Private &nbsp;</TD>
d82 2
a83 2
            <INPUT TYPE="checkbox" NAME="isPrivate" VALUE="Y"
  #if ($isPrivate)
a89 1
-->
@


1.25
log
@Added MD5 checksum field.
@
text
@d21 1
a21 1
    <TD CLASS="ProjectDownloadHeader" BGCOLOR="#efefef">MD5</TD>
@


1.24
log
@changed project name in title to link to ProjectHome
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d21 1
d35 1
d40 1
a40 1
    <TD CLASS="PlainText" COLSPAN="5"><I>No downloads for the project.</I></TD>
@


1.23
log
@prefer italics
@
text
@d3 1
a3 1
    <TD CLASS="Header" NOWRAP>Downloads: <SPAN CLASS="ProjectNameHeader">$currentProject.getName()</SPAN></TD>  
@


1.22
log
@made instructions match actual dialog box a little better
@
text
@d68 2
a69 1
            (Windows users, set "Files of Type:" to be "All Files (*.*)" to get a complete file listing.)
@


1.22.2.1
log
@merged in changes from HEAD
@
text
@d68 1
a68 2
            (Windows users, set <I>Files of Type:</I> to be <I>All Files
            (*.*)</I> to get a complete file listing.)
@


1.22.2.2
log
@"uploaded" terminology may be confusing when talking about downloads.  Change to
"posted by" and "date posted." IZ #2118
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d19 2
a20 2
    <TD CLASS="ProjectDownloadHeader" BGCOLOR="#efefef">Date Posted</TD>
    <TD CLASS="ProjectDownloadHeader" BGCOLOR="#efefef">Posted By</TD>
@


1.21
log
@commented out the Private checkbox - unsupported feature.
@
text
@d68 1
a68 1
            (PC users, choose <I>All Files</I> to get a complete file listing.)
@


1.20
log
@Added UI for isPrivate.
@
text
@d76 1
d88 1
d99 1
a99 1
}@


1.19
log
@Don't show the upload apparatus if the suggest or approve permission
is not had.
@
text
@d76 11
@


1.18
log
@Downcased "Or".
@
text
@d46 3
d86 1
@


1.17
log
@Restructed to send MDA auth via cookies instead of query string.
@
text
@d49 1
a49 1
        BGCOLOR="#efefef">Add Or Replace a Download</TD>
@


1.16
log
@better wording
@
text
@d29 1
a29 2
    #set $url = $currentProject.getDownloadURL($dlSvr, $loginUser, $download)
    <TD CLASS="ProjectName"><A HREF="$url">$download.getName()</A>
@


1.15
log
@Use the correct URL to the file server (with digital signature, when
complete in servlet MD5 helper class).
@
text
@d66 1
a66 1
            (PC users, select <I>All Files</I> to get a complete file listing.)
@


1.14
log
@Italicized "Browse".
@
text
@d29 3
a31 1
    <TD CLASS="ProjectName"><A HREF="http://$fileServer;$download.getLocation();/$download.getName()">$download.getName()</A></TD>
@


1.13
log
@- Changed some HTML to upper case for consistancy.
- Renamed "File Upload" header to "Add Or Replace a Download".
- Changed order of fileds for that section to a more logical order
  (first you find the file you want, then you describe it).
@
text
@d62 1
a62 1
            Click <b>Browse</b> and select a file.  If you do not see a
@


1.12
log
@UI rearrangement for consistant look and feel across the site.  Review
appreciated.
@
text
@d3 1
a3 1
    <TD class="Header" nowrap>Downloads: <SPAN CLASS="ProjectNameHeader">$currentProject.getName()</SPAN></TD>  
d8 1
a8 1
    <TD ALIGN="right" class="ProjectName"><A HREF="/servlets/ProjectDownloadEdit?projectID=$currentProject.getID()">Edit</A></TD>
d16 5
a20 5
    <TD class="ProjectDownloadHeader" BGCOLOR="#efefef">Size</TD>
    <TD class="ProjectDownloadHeader" BGCOLOR="#efefef">File Name</TD>
    <TD class="ProjectDownloadHeader" BGCOLOR="#efefef">Description</TD>
    <TD class="ProjectDownloadHeader" BGCOLOR="#efefef">Upload Date</TD>
    <TD class="ProjectDownloadHeader" BGCOLOR="#efefef">Uploaded By</TD>
d28 5
a32 5
    <TD class="PlainText">$download.getSize()</TD>
    <TD class="ProjectName"><A HREF="http://$fileServer;$download.getLocation();/$download.getName()">$download.getName()</A></TD>
    <TD class="PlainText">$download.getDescription()</TD>
    <TD class="PlainText">$download.getUploadDate()</TD>
    <TD class="PlainText">$download.getUploadedBy().getLoginID()</TD>
d47 2
a48 1
    <TD class="ProjectDownloadHeader" BGCOLOR="#efefef">File Upload</TD>
d51 3
a53 3
    <form method="post" action="/servlets/ProjectDownload?action=Upload+File"
          enctype="multipart/form-data">
    <TD class="PlainText">
d56 1
a56 6
          <TD CLASS="PlainText">Description &nbsp;</TD>
          <TD><INPUT TYPE="text" NAME="description" VALUE="$description"
                     SIZE="50"></TD>
        </TR>
        <TR>
          <TD CLASS="PlainText">File &nbsp;</TD>
d67 5
@


1.11
log
@checking to see if there are any downloads for the project; if not, don't show the edit button
@
text
@d47 1
a47 1
    <TD class="ProjectDownloadHeader" BGCOLOR="#efefef">File Upload:</TD>
d53 24
a76 10
      Description: &nbsp;<input type="text" name="description"
                                value="$description" size="50">
      <P>
      Click <b>Browse</b> and select a file.<br>
      <small>If you do not see a <i>Browse</i> button, your browser does not
      support file uploads.</small><br>
      <input type="file" name="file" size="20"><br>
      <small>(PC users, select <I>All Files</I> to get a complete file listing.)</small>
      <br>
      <INPUT TYPE="submit" VALUE="Upload File">
@


1.10
log
@Better text.
@
text
@d6 2
d9 1
@


1.9
log
@Added note to the user indicating no projects when none are available.
@
text
@d57 1
a57 1
      <small>(PC users, select "All Files" to display all file types.)</small>
@


1.8
log
@Remember description field value, in case there is a validition error
and the form must be reloaded.
@
text
@d26 1
a26 1
    <TD class="ProjectName"><A HREF="$download.getLocation();/$download.getName()">$download.getName()</A></TD>
d32 4
@


1.7
log
@Make use of newly added business object methods.
@
text
@d26 1
a26 1
    <TD class="ProjectName"><A HREF="project">$download.getName()</A></TD>
d46 2
a47 1
      Description: &nbsp;<input type="text" name="description" size="50">
@


1.6
log
@For some reason I can't get the action via
(String)context.get("action") in the servlet code.  This works in
other servlets when I name the submit button "Button".  I'm guessing
that it might have something to do with the encoding type.  At any
rate, just tacking it on to the form action attribute works, so I'm
going to proceed like that for now.
@
text
@d25 1
a25 1
    <TD class="PlainText"></TD>
d29 1
a29 1
    <TD class="PlainText">$download.getUploadedBy()</TD>
@


1.5
log
@The submit widget seems to like to be named "Button".
@
text
@d43 1
a43 1
    <form method="post" action="/servlets/ProjectDownload"
d54 1
a54 1
      <INPUT TYPE="submit" NAME="Button" VALUE="Upload File">
@


1.4
log
@Get in line!
@
text
@d54 1
a54 1
      <INPUT TYPE="submit" NAME="action" VALUE="Upload File">
@


1.3
log
@Removed extra closing form tag and repositioned other form tag pair.
@
text
@d43 2
a44 2
   <form method="post" action="/servlets/ProjectDownload"
         enctype="multipart/form-data">
@


1.2
log
@Refactored to work w/ file uploads.
@
text
@d43 2
a45 2
      <form method="post" action="/servlets/ProjectDownload"
            enctype="multipart/form-data">
d54 1
a54 1
      <INPUT TYPE="submit" NAME="Button" VALUE="Upload File">
a58 2

</form>
@


1.1
log
@Initial revision
@
text
@a0 2
<form name="DomainDownloadForm" method="post" action="">

d4 2
a5 2
    #if ($acl.hasPermissionForProject("Project Download - Delete", $currentProject.getID()))
    {
d7 1
a7 1
    }
d20 4
a23 2
 #foreach $download in $downloads
 {
d32 1
d44 2
d47 1
a47 1
<P>
d49 3
a51 2
      <small>If you do not see a "Browse" button, your browser does not support file uploads.</small><br>
      <input type="text" name="userFile" size="20"><input type="Submit" value="Browse"><br>
d53 2
a54 2
      <p>
      <input type="submit" name="UploadFile" value="Upload File">
d56 1
a60 5





@


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