]> git.mxchange.org Git - jjobs-war.git/blob - web/guest/user/login.xhtml
Some fixes (careful with cherry-picking):
[jjobs-war.git] / web / guest / user / login.xhtml
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">
3 <html
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"
9           >
10
11         <ui:composition template="/WEB-INF/templates/guest/guest_base.tpl" id="user_login">
12                 <ui:define name="guest_title">#{msg.PAGE_TITLE_USER_LOGIN}</ui:define>
13
14                 <ui:define name="content_header">
15                         #{msg.CONTENT_TITLE_USER_LOGIN}
16                 </ui:define>
17
18                 <ui:define name="content">
19 <<<<<<< HEAD
20                         <div class="para">
21                                 <!-- TODO Internatialize this somehow //-->
22                                 Noch kein Benutzerkonto? Einfach <h:link id="user_register" outcome="user_register" title="Als Benutzer anmelden">hier</h:link> anmelden.
23                         </div>
24
25                         <div class="para">
26                                 <ui:include src="/WEB-INF/templates/guest/user/guest_login_form.tpl" />
27                         </div>
28
29                         <div class="para">
30                                 <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}" />
31                         </div>
32 =======
33                         <ui:fragment rendered="#{userController.isUserNameRequired()}">
34                                 <div class="para">
35                                         <!-- TODO Internatialize this somehow //-->
36                                         Noch kein Benutzerkonto? Einfach <h:link id="user_register" outcome="user_register" title="Als Benutzer anmelden">hier</h:link> anmelden.
37                                 </div>
38
39                                 <div class="para">
40                                         <ui:include src="/WEB-INF/templates/guest/user/guest_login_form.tpl" />
41                                 </div>
42
43                                 <div class="para">
44                                         <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}" />
45                                 </div>
46                         </ui:fragment>
47
48                         <ui:fragment rendered="#{not userController.isUserNameRequired()}">
49                                 <h:outputText styleClass="errors" value="#{msg.ERROR_GUEST_USER_LOGIN_DEACTIVATED}" />
50                         </ui:fragment>
51 >>>>>>> 4a789c7... Rewritten a lot:
52                 </ui:define>
53         </ui:composition>
54 </html>