mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
(Robert Tansley)
- Removed a couple of obsolete JSPs git-svn-id: http://scm.dspace.org/svn/repo/trunk@1271 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -163,10 +163,6 @@ jsp.dspace-admin.confirm-delete-dctype.heading = Delete Dublin Core Format: <cod
|
||||
jsp.dspace-admin.confirm-delete-dctype.title = Delete Dublin Core Type
|
||||
jsp.dspace-admin.confirm-delete-dctype.warning = This will result in an error if any DC values have this type.
|
||||
|
||||
jsp.dspace-admin.confirm-delete-eperson.confirm = Are you sure this e-person should be deleted?
|
||||
jsp.dspace-admin.confirm-delete-eperson.heading = Delete e-person: {0} ({1})
|
||||
jsp.dspace-admin.confirm-delete-eperson.title = Delete E-Person
|
||||
|
||||
jsp.dspace-admin.confirm-delete-format.confirm = Are you sure the format <strong>{0}</strong> should be deleted?
|
||||
jsp.dspace-admin.confirm-delete-format.heading = Delete Bitstream Format: {0}
|
||||
jsp.dspace-admin.confirm-delete-format.title = Delete Bitstream Format
|
||||
@@ -223,13 +219,6 @@ jsp.dspace-admin.item-select.id = Internal ID:
|
||||
jsp.dspace-admin.item-select.text = <strong>The ID you entered isn't a valid item ID.</strong> If you're trying to edit a community or collection, you need to use the <a href="{0}">communities/collections admin page</a>.
|
||||
jsp.dspace-admin.item-select.title = Select Item
|
||||
|
||||
jsp.dspace-admin.list-communities.create1 = Create Top Community...
|
||||
jsp.dspace-admin.list-communities.create2 = Create Collection...
|
||||
jsp.dspace-admin.list-communities.create3 = Create Sub-community...
|
||||
jsp.dspace-admin.list-communities.delete = Delete...
|
||||
jsp.dspace-admin.list-communities.edit = Edit...
|
||||
jsp.dspace-admin.list-communities.title = Edit Communities and Collections
|
||||
|
||||
jsp.dspace-admin.list-dc-types.element = Element
|
||||
jsp.dspace-admin.list-dc-types.note = Note: Adding a new element to the DC Registry does not add a corresponding input field to the submit forms!
|
||||
jsp.dspace-admin.list-dc-types.qualifier = Qualifier
|
||||
|
@@ -1,95 +0,0 @@
|
||||
<%--
|
||||
- confirm-delete-eperson.jsp
|
||||
-
|
||||
- Version: $Revision$
|
||||
-
|
||||
- Date: $Date$
|
||||
-
|
||||
- Copyright (c) 2002, Hewlett-Packard Company and Massachusetts
|
||||
- Institute of Technology. All rights reserved.
|
||||
-
|
||||
- Redistribution and use in source and binary forms, with or without
|
||||
- modification, are permitted provided that the following conditions are
|
||||
- met:
|
||||
-
|
||||
- - Redistributions of source code must retain the above copyright
|
||||
- notice, this list of conditions and the following disclaimer.
|
||||
-
|
||||
- - Redistributions in binary form must reproduce the above copyright
|
||||
- notice, this list of conditions and the following disclaimer in the
|
||||
- documentation and/or other materials provided with the distribution.
|
||||
-
|
||||
- - Neither the name of the Hewlett-Packard Company nor the name of the
|
||||
- Massachusetts Institute of Technology nor the names of their
|
||||
- contributors may be used to endorse or promote products derived from
|
||||
- this software without specific prior written permission.
|
||||
-
|
||||
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
- ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
- HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
- INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
- BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
||||
- OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||
- ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
||||
- TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
- USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
|
||||
- DAMAGE.
|
||||
--%>
|
||||
|
||||
<%--
|
||||
- Confirm deletion of an e-person
|
||||
-
|
||||
- Attributes:
|
||||
- eperson - eperson we may delete
|
||||
--%>
|
||||
|
||||
<%@ page contentType="text/html;charset=UTF-8" %>
|
||||
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt"
|
||||
prefix="fmt" %>
|
||||
|
||||
<%@ page import="org.dspace.eperson.EPerson" %>
|
||||
|
||||
<%@ taglib uri="http://www.dspace.org/dspace-tags.tld" prefix="dspace" %>
|
||||
|
||||
<%
|
||||
EPerson eperson = (EPerson) request.getAttribute("eperson");
|
||||
%>
|
||||
|
||||
<dspace:layout titlekey="jsp.dspace-admin.confirm-delete-eperson.title"
|
||||
navbar="admin"
|
||||
locbar="link"
|
||||
parenttitlekey="jsp.administer"
|
||||
parentlink="/dspace-admin">
|
||||
|
||||
<%-- <H1>Delete e-person: <%= eperson.getFullName() %> (<%= eperson.getEmail() %>)</H1> --%>
|
||||
<H1><fmt:message key="jsp.dspace-admin.confirm-delete-eperson.heading">
|
||||
<fmt:param><%= eperson.getFullName() %></fmt:param>
|
||||
<fmt:param><%= eperson.getEmail() %></fmt:param>
|
||||
</fmt:message></H1>
|
||||
|
||||
<%-- <P>Are you sure this e-person should be deleted?</P> --%>
|
||||
<P><fmt:message key="jsp.dspace-admin.confirm-delete-eperson.confirm"/></P>
|
||||
|
||||
<form method=POST>
|
||||
<input type="hidden" name="eperson_id" value="<%= eperson.getID() %>">
|
||||
|
||||
<center>
|
||||
<table width="70%">
|
||||
<tr>
|
||||
<td align="left">
|
||||
<%-- <input type="submit" name="submit_confirm_delete" value="Delete"> --%>
|
||||
<input type="submit" name="submit_confirm_delete" value="<fmt:message key="jsp.dspace-admin.general.delete"/>">
|
||||
</td>
|
||||
<td align="right">
|
||||
<%-- <input type="submit" name="submit_cancel" value="Cancel"> --%>
|
||||
<input type="submit" name="submit_cancel" value="<fmt:message key="jsp.dspace-admin.general.cancel"/>">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center>
|
||||
</form>
|
||||
</dspace:layout>
|
||||
|
@@ -1,165 +0,0 @@
|
||||
<%--
|
||||
- list-communities.jsp
|
||||
-
|
||||
- Version: $Revision$
|
||||
-
|
||||
- Date: $Date$
|
||||
-
|
||||
- Copyright (c) 2002, Hewlett-Packard Company and Massachusetts
|
||||
- Institute of Technology. All rights reserved.
|
||||
-
|
||||
- Redistribution and use in source and binary forms, with or without
|
||||
- modification, are permitted provided that the following conditions are
|
||||
- met:
|
||||
-
|
||||
- - Redistributions of source code must retain the above copyright
|
||||
- notice, this list of conditions and the following disclaimer.
|
||||
-
|
||||
- - Redistributions in binary form must reproduce the above copyright
|
||||
- notice, this list of conditions and the following disclaimer in the
|
||||
- documentation and/or other materials provided with the distribution.
|
||||
-
|
||||
- - Neither the name of the Hewlett-Packard Company nor the name of the
|
||||
- Massachusetts Institute of Technology nor the names of their
|
||||
- contributors may be used to endorse or promote products derived from
|
||||
- this software without specific prior written permission.
|
||||
-
|
||||
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
- ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
- HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
- INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
- BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
||||
- OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||
- ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
||||
- TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
- USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
|
||||
- DAMAGE.
|
||||
--%>
|
||||
|
||||
|
||||
<%--
|
||||
- Display hierarchical list of communities and collections for admin editing
|
||||
-
|
||||
- Attributes to be passed in:
|
||||
- communities - array of communities
|
||||
- collections.map - Map where a keys is a community IDs and the value is
|
||||
- the array of collections in that community.
|
||||
--%>
|
||||
|
||||
<%@ page contentType="text/html;charset=UTF-8" %>
|
||||
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt"
|
||||
prefix="fmt" %>
|
||||
|
||||
<%@ page import="java.util.Map" %>
|
||||
|
||||
<%@ page import="org.dspace.app.webui.servlet.admin.EditCommunitiesServlet" %>
|
||||
<%@ page import="org.dspace.content.Community" %>
|
||||
<%@ page import="org.dspace.content.Collection" %>
|
||||
|
||||
<%@ taglib uri="http://www.dspace.org/dspace-tags.tld" prefix="dspace" %>
|
||||
|
||||
<%
|
||||
Community[] communities = (Community[]) request.getAttribute("communities");
|
||||
Map collectionMap = (Map) request.getAttribute("collections.map");
|
||||
%>
|
||||
|
||||
<dspace:layout titlekey="jsp.dspace-admin.list-communities.title"
|
||||
navbar="admin"
|
||||
locbar="link"
|
||||
parenttitlekey="jsp.administer"
|
||||
parentlink="/dspace-admin">
|
||||
|
||||
<%-- <H1>Edit Communities and Collections</H1> --%>
|
||||
<H1><fmt:message key="jsp.dspace-admin.list-communities.title"/></H1>
|
||||
|
||||
<form method=POST>
|
||||
<input type="hidden" name="action" value="<%= EditCommunitiesServlet.START_CREATE_COMMUNITY %>">
|
||||
<%-- <P align="center"><input type="submit" name="submit" value="Create Top Community..."></P> --%>
|
||||
<P align="center"><input type="submit" name="submit" value="<fmt:message key="jsp.dspace-admin.list-communities.create1"/>"></P>
|
||||
</form>
|
||||
|
||||
<table class="miscTable" align="center">
|
||||
<%
|
||||
for (int i = 0; i < communities.length; i++)
|
||||
{
|
||||
%>
|
||||
<tr class="evenRowEvenCol">
|
||||
<td>
|
||||
<strong><A HREF="<%= request.getContextPath() %>/handle/<%= communities[i].getHandle() %>"><%= communities[i].getMetadata("name") %></A></strong>
|
||||
<small><%= communities[i].getHandle() %> (DB ID: <%= communities[i].getID()%>)</small>
|
||||
</td>
|
||||
<form method=POST>
|
||||
<td>
|
||||
<input type="hidden" name="action" value="<%= EditCommunitiesServlet.START_EDIT_COMMUNITY %>">
|
||||
<input type="hidden" name="community_id" value="<%= communities[i].getID() %>">
|
||||
<%-- <input type="submit" name="submit" value="Edit..."> --%>
|
||||
<input type="submit" name="submit" value="<fmt:message key="jsp.dspace-admin.list-communities.edit"/>">
|
||||
</td>
|
||||
</form>
|
||||
<form method=POST>
|
||||
<td>
|
||||
<input type="hidden" name="action" value="<%= EditCommunitiesServlet.START_DELETE_COMMUNITY %>">
|
||||
<input type="hidden" name="community_id" value="<%= communities[i].getID() %>">
|
||||
<%-- <input type="submit" name="submit" value="Delete..."> --%>
|
||||
<input type="submit" name="submit" value="<fmt:message key="jsp.dspace-admin.list-communities.delete"/>">
|
||||
</td>
|
||||
</form>
|
||||
<form method=POST>
|
||||
<td>
|
||||
<input type="hidden" name="action" value="<%= EditCommunitiesServlet.START_CREATE_COLLECTION %>">
|
||||
<input type="hidden" name="community_id" value="<%= communities[i].getID() %>">
|
||||
<%-- <input type="submit" name="submit" value="Create Collection..."> --%>
|
||||
<input type="submit" name="submit" value="<fmt:message key="jsp.dspace-admin.list-communities.create2"/>">
|
||||
</td>
|
||||
</form>
|
||||
<form method=POST>
|
||||
<td>
|
||||
<input type="hidden" name="action" value="<%= EditCommunitiesServlet.START_CREATE_COMMUNITY %>">
|
||||
<input type="hidden" name="parent_community_id" value="<%= communities[i].getID() %>">
|
||||
<%-- <input type="submit" name="submit" value="Create Sub-community..."> --%>
|
||||
<input type="submit" name="submit" value="<fmt:message key="jsp.dspace-admin.list-communities.create3"/>">
|
||||
</td>
|
||||
</form>
|
||||
</tr>
|
||||
<%
|
||||
Collection[] collections =
|
||||
(Collection[]) collectionMap.get(new Integer(communities[i].getID()));
|
||||
|
||||
for (int j = 0; j < collections.length; j++)
|
||||
{
|
||||
%>
|
||||
<tr class="oddRowOddCol">
|
||||
<td>
|
||||
<A HREF="<%= request.getContextPath() %>/handle/<%= collections[j].getHandle() %>"><%= collections[j].getMetadata("name") %></A>
|
||||
<small><%= collections[j].getHandle() %> (DB ID: <%= collections[j].getID()%>)</small>
|
||||
</td>
|
||||
<form method=POST>
|
||||
<td>
|
||||
<input type="hidden" name="action" value="<%= EditCommunitiesServlet.START_EDIT_COLLECTION %>">
|
||||
<input type="hidden" name="collection_id" value="<%= collections[j].getID() %>">
|
||||
<%-- <input type="submit" name="submit" value="Edit..."> --%>
|
||||
<input type="submit" name="submit" value="<fmt:message key="jsp.dspace-admin.list-communities.edit"/>">
|
||||
</td>
|
||||
</form>
|
||||
<form method=POST>
|
||||
<td>
|
||||
<input type="hidden" name="action" value="<%= EditCommunitiesServlet.START_DELETE_COLLECTION %>">
|
||||
<input type="hidden" name="collection_id" value="<%= collections[j].getID() %>">
|
||||
<input type="hidden" name="community_id" value="<%= communities[i].getID() %>">
|
||||
<%-- <input type="submit" name="submit" value="Delete..."> --%>
|
||||
<input type="submit" name="submit" value="<fmt:message key="jsp.dspace-admin.list-communities.delete"/>">
|
||||
</td>
|
||||
</form>
|
||||
</tr>
|
||||
<%
|
||||
}
|
||||
%>
|
||||
<tr></tr>
|
||||
<%
|
||||
}
|
||||
%>
|
||||
</table>
|
||||
</dspace:layout>
|
Reference in New Issue
Block a user