mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 07:23:08 +00:00
fix typos
This commit is contained in:
@@ -113,8 +113,8 @@ public interface SearchService {
|
|||||||
* If a user has the appropriate rights to administrate communities and/or
|
* If a user has the appropriate rights to administrate communities and/or
|
||||||
* collections we want to look up all contents of those communities and/or
|
* collections we want to look up all contents of those communities and/or
|
||||||
* collections, ignoring the read policies of the items (e.g. to list all
|
* collections, ignoring the read policies of the items (e.g. to list all
|
||||||
* private items of communities/collections the user administrate). This
|
* private items of communities/collections the user administrates). This
|
||||||
* method returns a query to filter for items that belongs to those
|
* method returns a query to filter for items that belong to those
|
||||||
* communities/collections only.
|
* communities/collections only.
|
||||||
*
|
*
|
||||||
* @param context
|
* @param context
|
||||||
|
@@ -35,7 +35,7 @@
|
|||||||
boolean withdrawn = false;
|
boolean withdrawn = false;
|
||||||
boolean privateitems = false;
|
boolean privateitems = false;
|
||||||
|
|
||||||
// Is the logged in user an admin or community admin or cllection admin
|
// Is the logged in user an admin or community admin or collection admin
|
||||||
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
||||||
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
||||||
|
|
||||||
|
@@ -35,7 +35,7 @@
|
|||||||
{
|
{
|
||||||
layoutNavbar = "admin";
|
layoutNavbar = "admin";
|
||||||
|
|
||||||
// Is the logged in user an admin or community admin or cllection admin
|
// Is the logged in user an admin or community admin or collection admin
|
||||||
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
||||||
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
||||||
|
|
||||||
|
@@ -46,7 +46,7 @@
|
|||||||
List<Collection> collections= (List<Collection>) request.getAttribute("collections");
|
List<Collection> collections= (List<Collection>) request.getAttribute("collections");
|
||||||
request.setAttribute("LanguageSwitch", "hide");
|
request.setAttribute("LanguageSwitch", "hide");
|
||||||
|
|
||||||
// Is the logged in user an admin or community admin or cllection admin
|
// Is the logged in user an admin or community admin or collection admin
|
||||||
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
||||||
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
||||||
|
|
||||||
|
@@ -51,7 +51,7 @@
|
|||||||
List<ResourcePolicy> policies =
|
List<ResourcePolicy> policies =
|
||||||
(List<ResourcePolicy>) request.getAttribute("policies");
|
(List<ResourcePolicy>) request.getAttribute("policies");
|
||||||
|
|
||||||
// Is the logged in user an admin or community admin or cllection admin
|
// Is the logged in user an admin or community admin or collection admin
|
||||||
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
||||||
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
||||||
|
|
||||||
|
@@ -51,7 +51,7 @@
|
|||||||
List<ResourcePolicy> policies =
|
List<ResourcePolicy> policies =
|
||||||
(List<ResourcePolicy>) request.getAttribute("policies");
|
(List<ResourcePolicy>) request.getAttribute("policies");
|
||||||
|
|
||||||
// Is the logged in user an admin or community admin or cllection admin
|
// Is the logged in user an admin or community admin or collection admin
|
||||||
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
||||||
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
||||||
|
|
||||||
|
@@ -70,7 +70,7 @@
|
|||||||
Map bundle_policies = (Map)request.getAttribute("bundle_policies" );
|
Map bundle_policies = (Map)request.getAttribute("bundle_policies" );
|
||||||
Map bitstream_policies = (Map)request.getAttribute("bitstream_policies");
|
Map bitstream_policies = (Map)request.getAttribute("bitstream_policies");
|
||||||
|
|
||||||
// Is the logged in user an admin or community admin or cllection admin
|
// Is the logged in user an admin or community admin or collection admin
|
||||||
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
||||||
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
||||||
|
|
||||||
|
@@ -38,7 +38,7 @@
|
|||||||
<% request.setAttribute("LanguageSwitch", "hide"); %>
|
<% request.setAttribute("LanguageSwitch", "hide"); %>
|
||||||
|
|
||||||
<%
|
<%
|
||||||
// Is the logged in user an admin or community admin or cllection admin
|
// Is the logged in user an admin or community admin or collection admin
|
||||||
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
||||||
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
||||||
|
|
||||||
|
@@ -66,7 +66,7 @@
|
|||||||
|
|
||||||
request.setAttribute("LanguageSwitch", "hide");
|
request.setAttribute("LanguageSwitch", "hide");
|
||||||
|
|
||||||
// Is the logged in user an admin or community admin or cllection admin
|
// Is the logged in user an admin or community admin or collection admin
|
||||||
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
||||||
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
||||||
|
|
||||||
|
@@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
request.setAttribute("LanguageSwitch", "hide");
|
request.setAttribute("LanguageSwitch", "hide");
|
||||||
|
|
||||||
// Is the logged in user an admin or community admin or cllection admin
|
// Is the logged in user an admin or community admin or collection admin
|
||||||
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
||||||
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
||||||
|
|
||||||
|
@@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
request.setAttribute("LanguageSwitch", "hide");
|
request.setAttribute("LanguageSwitch", "hide");
|
||||||
|
|
||||||
// Is the logged in user an admin or community admin or cllection admin
|
// Is the logged in user an admin or community admin or collection admin
|
||||||
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
||||||
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
||||||
|
|
||||||
|
@@ -37,7 +37,7 @@
|
|||||||
// Obtain a context so that the location bar can display log in status
|
// Obtain a context so that the location bar can display log in status
|
||||||
Context context = null;
|
Context context = null;
|
||||||
|
|
||||||
// Is the logged in user an admin or community admin or cllection admin
|
// Is the logged in user an admin or community admin or collection admin
|
||||||
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
||||||
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
||||||
|
|
||||||
|
@@ -27,7 +27,7 @@
|
|||||||
<%@ page import="org.dspace.core.ConfigurationManager" %>
|
<%@ page import="org.dspace.core.ConfigurationManager" %>
|
||||||
|
|
||||||
<%
|
<%
|
||||||
// Is the logged in user an admin or community admin or cllection admin
|
// Is the logged in user an admin or community admin or collection admin
|
||||||
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
||||||
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
||||||
|
|
||||||
|
@@ -31,7 +31,7 @@
|
|||||||
Collection collection = (Collection) request.getAttribute("collection");
|
Collection collection = (Collection) request.getAttribute("collection");
|
||||||
Community community = (Community) request.getAttribute("community");
|
Community community = (Community) request.getAttribute("community");
|
||||||
|
|
||||||
// Is the logged in user an admin or community admin or cllection admin
|
// Is the logged in user an admin or community admin or collection admin
|
||||||
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
||||||
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
||||||
|
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
Item item = (Item) request.getAttribute("item");
|
Item item = (Item) request.getAttribute("item");
|
||||||
request.setAttribute("LanguageSwitch", "hide");
|
request.setAttribute("LanguageSwitch", "hide");
|
||||||
|
|
||||||
// Is the logged in user an admin or community admin or cllection admin
|
// Is the logged in user an admin or community admin or collection admin
|
||||||
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
||||||
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
||||||
|
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
Item item = (Item) request.getAttribute("item");
|
Item item = (Item) request.getAttribute("item");
|
||||||
request.setAttribute("LanguageSwitch", "hide");
|
request.setAttribute("LanguageSwitch", "hide");
|
||||||
|
|
||||||
// Is the logged in user an admin or community admin or cllection admin
|
// Is the logged in user an admin or community admin or collection admin
|
||||||
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
||||||
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
||||||
|
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
Item item = (Item) request.getAttribute("item");
|
Item item = (Item) request.getAttribute("item");
|
||||||
request.setAttribute("LanguageSwitch", "hide");
|
request.setAttribute("LanguageSwitch", "hide");
|
||||||
|
|
||||||
// Is the logged in user an admin or community admin or cllection admin
|
// Is the logged in user an admin or community admin or collection admin
|
||||||
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
||||||
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
||||||
|
|
||||||
|
@@ -47,7 +47,7 @@
|
|||||||
String title = (collection != null ? collection.getName() : "Unknown Collection");
|
String title = (collection != null ? collection.getName() : "Unknown Collection");
|
||||||
String groupOptions = (String)request.getAttribute("curate_group_options");
|
String groupOptions = (String)request.getAttribute("curate_group_options");
|
||||||
String taskOptions = (String)request.getAttribute("curate_task_options");
|
String taskOptions = (String)request.getAttribute("curate_task_options");
|
||||||
// Is the logged in user an admin or community admin or cllection admin
|
// Is the logged in user an admin or community admin or collection admin
|
||||||
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
||||||
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
||||||
|
|
||||||
|
@@ -41,7 +41,7 @@
|
|||||||
String groupOptions = (String)request.getAttribute("curate_group_options");
|
String groupOptions = (String)request.getAttribute("curate_group_options");
|
||||||
String taskOptions = (String)request.getAttribute("curate_task_options");
|
String taskOptions = (String)request.getAttribute("curate_task_options");
|
||||||
|
|
||||||
// Is the logged in user an admin or community admin or cllection admin
|
// Is the logged in user an admin or community admin or collection admin
|
||||||
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
||||||
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
||||||
|
|
||||||
|
@@ -42,7 +42,7 @@
|
|||||||
String groupOptions = (String)request.getAttribute("curate_group_options");
|
String groupOptions = (String)request.getAttribute("curate_group_options");
|
||||||
String taskOptions = (String)request.getAttribute("curate_task_options");
|
String taskOptions = (String)request.getAttribute("curate_task_options");
|
||||||
|
|
||||||
// Is the logged in user an admin or community admin or cllection admin
|
// Is the logged in user an admin or community admin or collection admin
|
||||||
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
||||||
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
||||||
|
|
||||||
|
@@ -63,7 +63,7 @@
|
|||||||
Boolean deleteButton = (Boolean)request.getAttribute("delete_button");
|
Boolean deleteButton = (Boolean)request.getAttribute("delete_button");
|
||||||
boolean bDeleteButton = (deleteButton == null ? false : deleteButton.booleanValue());
|
boolean bDeleteButton = (deleteButton == null ? false : deleteButton.booleanValue());
|
||||||
|
|
||||||
// Is the logged in user an admin or community admin or cllection admin
|
// Is the logged in user an admin or community admin or collection admin
|
||||||
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
||||||
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
||||||
|
|
||||||
|
@@ -38,7 +38,7 @@
|
|||||||
Community parentCommunity = (Community) request.getAttribute("parent");
|
Community parentCommunity = (Community) request.getAttribute("parent");
|
||||||
UUID parentID = (parentCommunity != null ? parentCommunity.getID() : null);
|
UUID parentID = (parentCommunity != null ? parentCommunity.getID() : null);
|
||||||
|
|
||||||
// Is the logged in user an admin or community admin or cllection admin
|
// Is the logged in user an admin or community admin or collection admin
|
||||||
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
||||||
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
||||||
|
|
||||||
|
@@ -61,7 +61,7 @@
|
|||||||
Boolean itemAdmin = (Boolean)request.getAttribute("admin_button");
|
Boolean itemAdmin = (Boolean)request.getAttribute("admin_button");
|
||||||
boolean isItemAdmin = (itemAdmin == null ? false : itemAdmin.booleanValue());
|
boolean isItemAdmin = (itemAdmin == null ? false : itemAdmin.booleanValue());
|
||||||
|
|
||||||
// Is the logged in user an admin or community admin or cllection admin
|
// Is the logged in user an admin or community admin or collection admin
|
||||||
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
||||||
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
||||||
|
|
||||||
|
@@ -27,7 +27,7 @@
|
|||||||
<%@ page import="org.dspace.core.ConfigurationManager" %>
|
<%@ page import="org.dspace.core.ConfigurationManager" %>
|
||||||
|
|
||||||
<%
|
<%
|
||||||
// Is the logged in user an admin or community admin or cllection admin
|
// Is the logged in user an admin or community admin or collection admin
|
||||||
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
||||||
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
||||||
|
|
||||||
|
@@ -42,7 +42,7 @@
|
|||||||
List<Group> groups = (List<Group>) request.getAttribute("membergroups");
|
List<Group> groups = (List<Group>) request.getAttribute("membergroups");
|
||||||
request.setAttribute("LanguageSwitch", "hide");
|
request.setAttribute("LanguageSwitch", "hide");
|
||||||
|
|
||||||
// Is the logged in user an admin or community admin or cllection admin
|
// Is the logged in user an admin or community admin or collection admin
|
||||||
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
||||||
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
||||||
|
|
||||||
|
@@ -33,7 +33,7 @@
|
|||||||
List<Group> groups =
|
List<Group> groups =
|
||||||
(List<Group>) request.getAttribute("groups");
|
(List<Group>) request.getAttribute("groups");
|
||||||
|
|
||||||
// Is the logged in user an admin or community admin or cllection admin
|
// Is the logged in user an admin or community admin or collection admin
|
||||||
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
||||||
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
||||||
|
|
||||||
|
@@ -37,7 +37,7 @@
|
|||||||
// Obtain a context so that the location bar can display log in status
|
// Obtain a context so that the location bar can display log in status
|
||||||
Context context = null;
|
Context context = null;
|
||||||
|
|
||||||
// Is the logged in user an admin or community admin or cllection admin
|
// Is the logged in user an admin or community admin or collection admin
|
||||||
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
Boolean admin = (Boolean)request.getAttribute("is.admin");
|
||||||
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user