<%-- The contents of this file are subject to the license and copyright detailed in the LICENSE and NOTICE files at the root of the source tree and available online at http://www.dspace.org/license/ --%> <%-- - initial questions page for collection creation wizard - - attributes: - collection - collection we're creating --%> <%@ page contentType="text/html;charset=UTF-8" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> <%@ taglib uri="http://www.dspace.org/dspace-tags.tld" prefix="dspace" %> <%@ page import="javax.servlet.jsp.jstl.fmt.LocaleSupport" %> <%@ page import="org.dspace.app.webui.servlet.admin.CollectionWizardServlet" %> <%@ page import="org.dspace.content.Collection" %> <% Collection collection = (Collection) request.getAttribute("collection"); %> <% Boolean sysadmin_b = (Boolean)request.getAttribute("sysadmin_button"); boolean sysadmin_button = (sysadmin_b == null ? false : sysadmin_b.booleanValue()); Boolean adminCreateGroup = (Boolean)request.getAttribute("admin_create_button"); boolean bAdminCreateGroup = (adminCreateGroup == null ? false : adminCreateGroup.booleanValue()); Boolean workflowsButton = (Boolean)request.getAttribute("workflows_button"); boolean bWorkflowsButton = (workflowsButton == null ? false : workflowsButton.booleanValue()); Boolean submittersButton = (Boolean)request.getAttribute("submitters_button"); boolean bSubmittersButton = (submittersButton == null ? false : submittersButton.booleanValue()); Boolean templateButton = (Boolean)request.getAttribute("template_button"); boolean bTemplateButton = (templateButton == null ? false : templateButton.booleanValue()); %> <%--

Describe the Collection

--%>

">

<%--

Please check the boxes next to the statements that apply to the collection. --%>

<% if(!sysadmin_button ) { %> <% } else { %> <% } %> <%-- New items should be publicly readable --%>
<% if(!bSubmittersButton) { %> <% } else { %> <% } %>
<% if(!bWorkflowsButton) { %> <% } else { %> <% } %>
<% if(!bWorkflowsButton) { %> <% } else { %> <% } %>
<% if(!bWorkflowsButton) { %> <% } else { %> <% } %>
<% if(!bAdminCreateGroup) { %> <% } else { %> <% } %>
<% if(!bTemplateButton) { %> <% } else { %> <% } %>
<%-- Hidden fields needed for servlet to know which collection and page to deal with --%> " /> " />