<%-- 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/ --%> <%-- - Registration information form - - Form where new users enter their personal information and select a - password. - - Attributes to pass in: - - eperson - the EPerson who's registering - token - the token key they've been given for registering - set.password - if Boolean true, the user can set a password - missing.fields - if a Boolean true, the user hasn't entered enough - information on the form during a previous attempt - password.problem - if a Boolean true, there's a problem with password --%> <%@ 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="org.dspace.app.webui.servlet.RegisterServlet" %> <%@ page import="org.dspace.eperson.EPerson" %> <% EPerson eperson = (EPerson) request.getAttribute( "eperson" ); String token = (String) request.getAttribute("token"); String netid = (String) request.getParameter("netid"); String email = (String) request.getParameter("email"); Boolean attr = (Boolean) request.getAttribute("missing.fields"); boolean missingFields = (attr != null && attr.booleanValue()); attr = (Boolean) request.getAttribute("password.problem"); boolean passwordProblem = (attr != null && attr.booleanValue()); attr = (Boolean) request.getAttribute("set.password"); boolean setPassword = (attr != null && attr.booleanValue()); %> <%--

Registration Information

--%>

<% if (missingFields) { %> <%--

Please fill out all of the required fields.

--%>

<% } if( passwordProblem) { %> <%--

The passwords you enter below must match, and need to be at least 6 characters long.

--%>

<% } %> <%--

Please enter the following information. The fields marked with a * are required.

--%>

<% if (netid!=null) { %> <% } %> <% if (email!=null) { %> <% } %> <% if (setPassword) { %> <%--

Please choose a password and enter it into the box below, and confirm it by typing it again into the second box. It should be at least six characters long.

--%>

<%-- New Password: --%>
<%-- Again to Confirm: --%>
<% } %> <%--

--%>
" />