]> git.mxchange.org Git - jjobs-war.git/blob - web/guest/user/user_register.xhtml
Please cherry-pick:
[jjobs-war.git] / web / guest / user / user_register.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">
11                 <ui:define name="guest_title">
12                         <h:outputText value="#{msg.PAGE_TITLE_USER_REGISTER}" />
13                 </ui:define>
14
15                 <ui:define name="content_header">
16                         <h:outputText value="#{msg.CONTENT_TITLE_USER_REGISTER}" />
17                 </ui:define>
18
19                 <ui:define name="content">
20                         <ui:fragment rendered="#{not featureController.isFeatureEnabled('user_registration_in_index') and featureController.isFeatureEnabled('user_registration')}">
21                                 <ui:fragment rendered="#{featureController.isFeatureEnabled('user_login_require_user_name')}">
22                                         <h:panelGroup styleClass="para" layout="block">
23                                                 <h:outputText value="#{msg.GUEST_ALREADY_USER_CONTINUE_LOGIN_1}" />
24                                                 <h:outputText value="&nbsp;" />
25                                                 <h:link outcome="user_login" value="#{msg.CLICK_HERE}" />
26                                                 <h:outputText value="&nbsp;" />
27                                                 <h:outputText value="#{msg.GUEST_ALREADY_USER_CONTINUE_LOGIN_2}" />
28                                         </h:panelGroup>
29                                 </ui:fragment>
30
31                                 <h:panelGroup layout="block" styleClass="registration_form">
32                                         <ui:fragment rendered="#{featureController.isFeatureEnabled('user_register_multiple_page')}">
33                                                 <ui:include src="/WEB-INF/templates/guest/user/register/guest_form_register_page1.tpl" />
34                                         </ui:fragment>
35
36                                         <ui:fragment rendered="#{not featureController.isFeatureEnabled('user_register_multiple_page')}">
37                                                 <ui:include src="/WEB-INF/templates/guest/user/register/guest_form_register_single.tpl" />
38                                         </ui:fragment>
39                                 </h:panelGroup>
40                         </ui:fragment>
41
42                         <ui:fragment rendered="#{not featureController.isFeatureEnabled('user_registration')}">
43                                 <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
44                                         <ui:param name="message" value="#{msg.ERROR_GUEST_REGISTRATION_DISABLED}" />
45                                         <ui:param name="styleClass" value="errors" />
46                                 </ui:include>
47                         </ui:fragment>
48
49                         <ui:fragment rendered="#{featureController.isFeatureEnabled('user_registration_in_index')}">
50                                 <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
51                                         <ui:param name="message" value="#{msg.ERROR_GUEST_REGISTRATION_IN_INDEX_ENABLED}" />
52                                         <ui:param name="styleClass" value="errors" />
53                                 </ui:include>
54                         </ui:fragment>
55                 </ui:define>
56         </ui:composition>
57 </html>