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">
4 lang="#{localizationController.language}" xml:lang="#{localizationController.language}"
5 xmlns="http://www.w3.org/1999/xhtml"
6 xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
7 xmlns:h="http://xmlns.jcp.org/jsf/html"
8 xmlns:f="http://xmlns.jcp.org/jsf/core"
11 <ui:composition template="/WEB-INF/templates/login/user/user_base.tpl">
12 <ui:define name="login_title">#{msg.PAGE_TITLE_LOGIN_CHANGE_EMAIL_ADDRESS}</ui:define>
14 <ui:define name="content_header">
15 #{msg.CONTENT_TITLE_LOGIN_CHANGE_EMAIL_ADDRESS}
18 <ui:define name="content">
19 <ui:fragment rendered="#{userLoginController.isUserLoggedIn()}">
21 <div class="table_header">
22 #{msg.LOGIN_CHANGE_EMAIL_ADDRESS_TITLE}
25 <h:form id="login_form">
27 <fieldset id="change_email">
28 <legend title="#{msg.LOGIN_CHANGE_EMAIL_LEGEND_TITLE}">#{msg.LOGIN_CHANGE_EMAIL_LEGEND}</legend>
30 <div class="table_row">
31 <div class="table_left">
32 #{msg.LOGIN_CHANGE_EMAIL_OLD_ADDRESS}
35 <div class="table_right">
36 #{contactController.emailAddress}
39 <div class="clear"></div>
42 <div class="table_row">
43 <div class="table_left">
44 <h:outputLabel for="emailAddress" value="#{msg.LOGIN_CHANGE_EMAIL_ENTER_EMAIL}" />
47 <div class="table_right">
48 <h:inputText styleClass="input" id="emailAddress" size="20" maxlength="255" value="#{emailChangeController.emailAddress}" required="true" />
51 <div class="clear"></div>
54 <div class="table_row">
55 <div class="table_left">
56 <h:outputLabel for="emailAddressRepeat" value="#{msg.LOGIN_CHANGE_EMAIL_ENTER_EMAIL_REPEAT}" />
59 <div class="table_right">
60 <h:inputText styleClass="input" id="emailAddressRepeat" size="20" maxlength="255" value="#{emailChangeController.emailAddressRepeat}" required="true" />
63 <div class="clear"></div>
68 <ui:include src="/WEB-INF/templates/login/user/user_enter_current_password.tpl" />
70 <div class="table_footer">
71 <h:commandButton styleClass="reset" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
72 <h:commandButton styleClass="submit" type="submit" id="change_email" value="#{msg.BUTTON_CHANGE_EMAIL_ADDRESS}" action="#{emailChangeController.doChangeEmailAddress()}" />
78 <ui:fragment rendered="#{not userLoginController.isUserLoggedIn()}">
79 <ui:include src="/WEB-INF/templates/user/user_not_logged_in.tpl" />