]> git.mxchange.org Git - addressbook-war.git/blob - web/guest/user/login.xhtml
closed TODO: internationalized this text
[addressbook-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">#{msg.PAGE_TITLE_USER_LOGIN}</ui:define>
12
13                 <ui:define name="content_header">
14                         #{msg.CONTENT_TITLE_USER_LOGIN}
15                 </ui:define>
16
17                 <ui:define name="content">
18                         <ui:fragment rendered="#{userController.isUserNameRequired()}">
19                                 <div class="para">
20                                         <h:outputText value="#{msg.GUEST_USER_NO_ACCOUNT_YET_QUESTION}" />
21                                         <h:link id="user_register" outcome="user_register" title="#{msg.LINK_GUEST_USER_NO_ACCOUNT_TITLE}" value="#{msg.LINK_GUEST_USER_NO_ACCOUNT_YET}" />
22                                 </div>
23
24                                 <div class="para">
25                                         <ui:include src="/WEB-INF/templates/guest/user/guest_login_form.tpl" />
26                                 </div>
27
28                                 <div class="para">
29                                         <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}" />
30                                 </div>
31                         </ui:fragment>
32
33                         <ui:fragment rendered="#{not userController.isUserNameRequired()}">
34                                 <h:outputText styleClass="errors" value="#{msg.ERROR_GUEST_USER_LOGIN_DEACTIVATED}" />
35                         </ui:fragment>
36                 </ui:define>
37         </ui:composition>
38 </html>