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">
13 <h:outputText value="#{msg.PAGE_TITLE_USER_LOGIN_CHANGE_EMAIL_ADDRESS}" />
16 <ui:define name="content_header">
17 <h:outputText value="#{msg.CONTENT_TITLE_LOGIN_USER_CHANGE_EMAIL_ADDRESS}" />
20 <ui:define name="content">
21 <h:panelGroup styleClass="table" layout="block" rendered="#{userLoginController.isUserLoggedIn() and featureController.isFeatureEnabled('user_change_email_address')}">
22 <div class="table_header">
23 <h:outputText value="#{msg.LOGIN_CHANGE_EMAIL_ADDRESS_TITLE}" />
26 <h:form id="form_user_change_email_address">
28 <fieldset class="fieldset" id="change_email">
29 <legend title="#{msg.LOGIN_CHANGE_EMAIL_LEGEND_TITLE}">
30 <h:outputText value="#{msg.LOGIN_CHANGE_EMAIL_LEGEND}" />
33 <div class="table_row">
34 <div class="table_left">
35 <h:outputText value="#{msg.LOGIN_CHANGE_EMAIL_OLD_ADDRESS}" />
38 <div class="table_right">
39 <h:outputText value="#{contactController.emailAddress}" />
42 <div class="clear"></div>
45 <ui:include src="/WEB-INF/templates/login/user/user_change_email_address_repeat_fields.tpl" />
49 <ui:include src="/WEB-INF/templates/login/login_enter_current_password.tpl" />
51 <div class="table_footer">
52 <h:commandButton class="reset right_space" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
53 <h:commandButton class="submit" type="submit" id="change_email" value="#{msg.BUTTON_CHANGE_EMAIL_ADDRESS}" action="#{emailChangeController.doChangeEmailAddress()}" />
58 <ui:fragment rendered="#{not featureController.isFeatureEnabled('user_change_email_address')}">
59 <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
60 <ui:param name="message" value="#{msg.ERROR_LOGIN_USER_CHANGE_EMAIL_ADDRESS_DISABLED}" />
61 <ui:param name="styleClass" value="errors" />
65 <ui:fragment rendered="#{not userLoginController.isUserLoggedIn()}">
66 <ui:include id="login_only" src="/WEB-INF/templates/user/user_not_logged_in.tpl" />