]> 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 <?xml version="1.0" encoding="UTF-8" ?>
2 <ui:composition template="/WEB-INF/templates/guest/guest_base.tpl"
3                                 xmlns="http://www.w3.org/1999/xhtml"
4                                 xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
5                                 xmlns:h="http://xmlns.jcp.org/jsf/html"
6                                 xmlns:f="http://xmlns.jcp.org/jsf/core">
7
8         <ui:define name="guest_title">
9                 <h:outputText value="#{msg.PAGE_TITLE_USER_REGISTER}" />
10         </ui:define>
11
12         <ui:define name="content_header">
13                 <h:outputText value="#{msg.CONTENT_TITLE_USER_REGISTER}" />
14         </ui:define>
15
16         <ui:define name="content">
17                 <ui:fragment rendered="#{not featureController.isFeatureEnabled('user_registration_in_index') and featureController.isFeatureEnabled('user_registration')}">
18                         <ui:fragment rendered="#{featureController.isFeatureEnabled('user_login_require_user_name')}">
19                                 <h:panelGroup styleClass="para" layout="block">
20                                         <h:outputText value="#{msg.GUEST_ALREADY_USER_CONTINUE_LOGIN_1} " />
21                                         <h:link outcome="user_login" value="#{msg.CLICK_HERE}" />
22                                         <h:outputText value=" #{msg.GUEST_ALREADY_USER_CONTINUE_LOGIN_2}" />
23                                 </h:panelGroup>
24                         </ui:fragment>
25
26                         <h:panelGroup layout="block" styleClass="registration_form">
27                                 <ui:fragment rendered="#{featureController.isFeatureEnabled('user_register_multiple_page')}">
28                                         <ui:include src="/WEB-INF/templates/guest/user/register/guest_form_register_page1.tpl" />
29                                 </ui:fragment>
30
31                                 <ui:fragment rendered="#{not featureController.isFeatureEnabled('user_register_multiple_page')}">
32                                         <ui:include src="/WEB-INF/templates/guest/user/register/guest_form_register_single.tpl" />
33                                 </ui:fragment>
34                         </h:panelGroup>
35                 </ui:fragment>
36
37                 <ui:fragment rendered="#{not featureController.isFeatureEnabled('user_registration')}">
38                         <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
39                                 <ui:param name="message" value="#{msg.ERROR_GUEST_REGISTRATION_DISABLED}" />
40                                 <ui:param name="styleClass" value="errors" />
41                         </ui:include>
42                 </ui:fragment>
43
44                 <ui:fragment rendered="#{featureController.isFeatureEnabled('user_registration_in_index')}">
45                         <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
46                                 <ui:param name="message" value="#{msg.ERROR_GUEST_REGISTRATION_IN_INDEX_ENABLED}" />
47                                 <ui:param name="styleClass" value="errors" />
48                         </ui:include>
49                 </ui:fragment>
50         </ui:define>
51 </ui:composition>