]> git.mxchange.org Git - jjobs-war.git/blob - web/user/login_change_email_address.xhtml
updated jar(s)
[jjobs-war.git] / web / user / login_change_email_address.xhtml
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html
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"
8         >
9
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>
12
13                 <ui:define name="content_header">
14                         #{msg.CONTENT_TITLE_LOGIN_CHANGE_EMAIL_ADDRESS}
15                 </ui:define>
16
17                 <ui:define name="content">
18                         <h:panelGroup styleClass="table" layout="block" rendered="#{userLoginController.isUserLoggedIn() and featureController.isFeatureEnabled('edit_user_data') and (not userLoginController.ifUserMustChangePassword() or not featureController.isFeatureEnabled('user_must_change_password'))}">
19                                 <div class="table_header">
20                                         <h:outputText value="#{msg.LOGIN_CHANGE_EMAIL_ADDRESS_TITLE}" />
21                                 </div>
22
23                                 <h:form id="form_login_change_email_address">
24                                         <div class="para">
25                                                 <fieldset class="fieldset" id="change_email">
26                                                         <legend title="#{msg.LOGIN_CHANGE_EMAIL_LEGEND_TITLE}">
27                                                                 <h:outputText value="#{msg.LOGIN_CHANGE_EMAIL_LEGEND}" />
28                                                         </legend>
29
30                                                         <div class="table_row">
31                                                                 <div class="table_left">
32                                                                         <h:outputText value="#{msg.LOGIN_CHANGE_EMAIL_OLD_ADDRESS}" />
33                                                                 </div>
34
35                                                                 <div class="table_right">
36                                                                         <h:outputText value="#{contactController.emailAddress}" />
37                                                                 </div>
38
39                                                                 <div class="clear"></div>
40                                                         </div>
41
42                                                         <ui:include src="/WEB-INF/templates/login/user/user_change_email_address_repeat_fields.tpl" />
43                                                 </fieldset>
44                                         </div>
45
46                                         <ui:include src="/WEB-INF/templates/login/login_enter_current_password.tpl" />
47
48                                         <div class="table_footer">
49                                                 <h:commandButton class="reset right_space" 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()}" />
51                                         </div>
52                                 </h:form>
53                         </h:panelGroup>
54
55                         <h:outputText styleClass="errors" value="#{msg.ERROR_LOGIN_USER_EDIT_DATA_DISABLED}" rendered="#{not featureController.isFeatureEnabled('edit_user_data')}" />
56
57                         <ui:fragment rendered="#{userLoginController.ifUserMustChangePassword()}">
58                                 <h:link outcome="user_change_password" value="#{msg.USER_LOGIN_MUST_CHANGE_PASSWORD}" />
59                         </ui:fragment>
60
61                         <ui:fragment rendered="#{not loginController.isUserLoggedIn()}">
62                                 <ui:include id="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
63                         </ui:fragment>
64                 </ui:define>
65         </ui:composition>
66 </html>