]> git.mxchange.org Git - pizzaservice-war.git/blob - web/guest/user/login.xhtml
Please cherry-pick:
[pizzaservice-war.git] / web / guest / user / login.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/guest/guest_base.tpl" id="user_login">
11                 <ui:define name="guest_title">
12                         <h:outputText value="#{msg.PAGE_TITLE_USER_LOGIN}" />
13                 </ui:define>
14
15                 <ui:define name="content_header">
16                         <h:outputText value="#{msg.CONTENT_TITLE_USER_LOGIN}" />
17                 </ui:define>
18
19                 <ui:define name="content">
20                         <ui:fragment rendered="#{featureController.isFeatureEnabled('user_name_required')}">
21                                 <ui:fragment rendered="#{featureController.isFeatureEnabled('user_registration')}">
22                                         <div class="para">
23                                                 <h:outputText value="#{msg.GUEST_USER_NO_ACCOUNT_YET_QUESTION}" />
24                                                 <h:outputText value="&#160;" />
25                                                 <h:link id="user_register" outcome="user_register" title="#{msg.LINK_GUEST_USER_NO_ACCOUNT_TITLE}" value="#{msg.LINK_GUEST_USER_NO_ACCOUNT_YET}" />
26                                         </div>
27                                 </ui:fragment>
28
29                                 <div class="para">
30                                         <ui:include src="/WEB-INF/templates/guest/user/guest_login_form.tpl" />
31                                 </div>
32
33                                 <ui:fragment rendered="#{featureController.isFeatureEnabled('user_name_required') and featureController.isFeatureEnabled('user_password_recovery')}">
34                                         <div class="para">
35                                                 <h:link id="user_lost_password" outcome="user_lost_passwd" title="#{msg.LINK_TITLE_GUEST_LOGIN_LOST_PASSWORD}" value="#{msg.LINK_GUEST_LOGIN_LOST_PASSWORD}" />
36                                         </div>
37                                 </ui:fragment>
38                         </ui:fragment>
39
40                         <ui:fragment rendered="#{not featureController.isFeatureEnabled('user_name_required')}">
41                                 <h:outputText styleClass="errors" value="#{msg.ERROR_GUEST_USER_LOGIN_DEACTIVATED}" />
42                         </ui:fragment>
43                 </ui:define>
44         </ui:composition>
45 </html>