1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml"
4 xmlns:ui="http://java.sun.com/jsf/facelets"
5 xmlns:h="http://xmlns.jcp.org/jsf/html"
6 xmlns:f="http://xmlns.jcp.org/jsf/core"
9 <ui:composition template="/WEB-INF/templates/login/login_base.tpl">
10 <ui:define name="login_title">#{msg.PAGE_TITLE_LOGIN_EDIT_USER_DATA}</ui:define>
12 <ui:define name="content_header">
13 #{msg.CONTENT_TITLE_LOGIN_EDIT_USER_DATA}
16 <ui:define name="content">
17 <ui:fragment rendered="#{loginController.isUserLoggedIn()}">
19 <div class="table_header">
20 #{msg.LOGIN_EDIT_USER_DATA_TITLE}
23 <h:form id="login_form">
24 <div class="table_header2">
25 #{msg.LOGIN_CHANGE_EMAIL_ADDRESS_TITLE}
29 <fieldset id="change_email">
30 <legend title="#{msg.LOGIN_CHANGE_EMAIL_LEGEND_TITLE}">#{msg.LOGIN_CHANGE_EMAIL_LEGEND}</legend>
32 <div class="table_row">
33 <div class="table_left">
34 <h:outputLabel for="emailAddress1" value="#{msg.LOGIN_CHANGE_EMAIL_ENTER_EMAIL1}" />
37 <div class="table_right">
38 <h:inputText class="input" id="emailAddress1" size="20" maxlength="255" value="#{userController.emailAddress}" required="true" />
41 <div class="clear"></div>
44 <div class="table_row">
45 <div class="table_left">
46 <h:outputLabel for="emailAddress2" value="#{msg.LOGIN_CHANGE_EMAIL_ENTER_EMAIL2}" />
49 <div class="table_right">
50 <h:inputText class="input" id="emailAddress2" size="20" maxlength="255" value="#{userController.emailAddressRepeat}" required="true" />
53 <div class="clear"></div>
58 <ui:include src="/WEB-INF/templates/login/login_enter_current_password.tpl" />
60 <div class="table_footer">
61 <h:commandButton class="reset" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
62 <h:commandButton class="submit" type="submit" id="change_email" value="#{msg.BUTTON_CHANGE_EMAIL_ADDRESS}" action="#{userController.changeEmailAddress()}" />
68 <ui:fragment rendered="#{not loginController.isUserLoggedIn()}">
69 <ui:include id="login_only" class="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />