3 Copyright 2010 Electronic Business Systems Ltd.
5 This file is part of GSS.
7 GSS is free software: you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation, either version 3 of the License, or
10 (at your option) any later version.
12 GSS is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with GSS. If not, see <http://www.gnu.org/licenses/>.
21 <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
22 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
24 <%@page import="gr.ebs.gss.server.configuration.GSSConfigurationFactory"%>
25 <%@page import="java.net.URLDecoder"%>
28 <title><%= GSSConfigurationFactory.getConfiguration().getString("serviceName") %> Registration</title>
29 <link href="/pithos/gss.css" rel="stylesheet" type="text/css">
30 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
34 Welcome to <%= GSSConfigurationFactory.getConfiguration().getString("serviceName") %>.
35 You may sign up for the service by filling and submitting the following form. All fields are required.
37 <form method="post" action="/pithos/register">
38 <%= request.getParameter("error") != null? URLDecoder.decode(request.getParameter("error"), "UTF-8"): "" %>
42 <td><input type="text" name="name" title="Enter a name" value="<%= request.getParameter("name") != null? request.getParameter("name"): "" %>"/></td>
46 <td><input type="text" name="email" title="Enter an e-mail address" value="<%= request.getParameter("email") != null? request.getParameter("email"): "" %>"/></td>
50 <td><input type="text" name="username" title="Enter a username" value="<%= request.getParameter("username") != null? request.getParameter("username"): "" %>"/></td>
54 <td><input type="password" name="password" title="Enter a password"/></td>
57 <td>Confirm Password:</td>
58 <td><input type="password" name="password2" title="Enter the password again to confirm"/></td>
62 <input type="checkbox" name="accept" title="Accept terms and conditions"/>
63 I have read and understood the <a href='/terms' target='_blank'>
64 Terms and Conditions</a> of the Service and agree to abide by them
68 <td colspan="2" align="center">
69 <input type="submit" value="Sign Up" />