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/login_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 <ui:include src="/WEB-INF/templates/login/user/user_change_email_address_repeat_fields.tpl" />
46 <ui:include src="/WEB-INF/templates/login/login_enter_current_password.tpl" />
48 <div class="table_footer">
49 <h:commandButton class="reset" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
50 <h:commandButton class="submit" type="submit" id="change_email" value="#{msg.BUTTON_CHANGE_EMAIL_ADDRESS}" action="#{emailChangeController.doChangeEmailAddress()}" />
56 <ui:fragment rendered="#{not loginController.isUserLoggedIn()}">
57 <ui:include id="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />