1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 lang="#{localizationController.language}" xml:lang="#{localizationController.language}"
4 xmlns="http://www.w3.org/1999/xhtml"
5 xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
6 xmlns:h="http://xmlns.jcp.org/jsf/html"
7 xmlns:f="http://xmlns.jcp.org/jsf/core"
10 <ui:composition template="/WEB-INF/templates/login/login_base.tpl">
11 <ui:define name="login_title">#{msg.PAGE_TITLE_LOGIN_CHANGE_EMAIL_ADDRESS}</ui:define>
13 <ui:define name="content_header">
14 #{msg.CONTENT_TITLE_LOGIN_CHANGE_EMAIL_ADDRESS}
17 <ui:define name="content">
18 <ui:fragment rendered="#{userLoginController.isUserLoggedIn()}">
19 <ui:fragment rendered="#{featureController.isFeatureEnabled('edit_user_data')}">
21 <div class="table_header">
22 <h:outputText value="#{msg.LOGIN_CHANGE_EMAIL_ADDRESS_TITLE}" />
25 <h:form id="login_change_email_address_form">
27 <fieldset id="change_email">
28 <legend title="#{msg.LOGIN_CHANGE_EMAIL_LEGEND_TITLE}">
29 <h:outputText value="#{msg.LOGIN_CHANGE_EMAIL_LEGEND}" />
32 <div class="table_row">
33 <div class="table_left">
34 <h:outputText value="#{msg.LOGIN_CHANGE_EMAIL_OLD_ADDRESS}" />
37 <div class="table_right">
38 <h:outputText value="#{contactController.emailAddress}" />
41 <div class="clear"></div>
44 <ui:include src="/WEB-INF/templates/login/user/user_change_email_address_repeat_fields.tpl" />
48 <ui:include src="/WEB-INF/templates/login/login_enter_current_password.tpl" />
52 <h:outputText styleClass="errors" value="#{msg.ERROR_LOGIN_USER_EDIT_DATA_DISABLED}" rendered="#{not featureController.isFeatureEnabled('edit_user_data')}" />
55 <ui:fragment rendered="#{not loginController.isUserLoggedIn()}">
56 <ui:include id="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />