Index: lams_contentrepository/web/addNode.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/web/addNode.jsp,v diff -u -r1.2 -r1.3 --- lams_contentrepository/web/addNode.jsp 20 Jan 2005 08:00:29 -0000 1.2 +++ lams_contentrepository/web/addNode.jsp 25 Jan 2005 00:02:14 -0000 1.3 @@ -24,20 +24,30 @@ if ( uuid != null && uuid.length() > 0 ) { %>

Adding a new version for Node <%=uuid%>. If the original node was a package, - then please upload another package. If the original node was a file, please - upload a file. + then you can only upload another package. If the original node was a file, you can + only upload a file.

<% } %>

Version Description (Required for both):

-

Single File:

-

File to upload?  - -

Package:

-

Directory name:  - Name of initial file in directory.  - + <% String type = request.getParameter("type"); + if ( type == null || type.equals("FILENODE") ) { + %> +

Single File:

+

File to upload?  + + <% + } + if ( type == null || type.equals("PACKAGENODE") ) { + %> +

Package:

+

Directory name:  + Name of initial file in directory.  + + <% + } + %>