]> 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:outputText value="&nbsp;" />
22                                         <h:link outcome="user_login" value="#{msg.CLICK_HERE}" />
23                                         <h:outputText value="&nbsp;" />
24                                         <h:outputText value="#{msg.GUEST_ALREADY_USER_CONTINUE_LOGIN_2}" />
25                                 </h:panelGroup>
26                         </ui:fragment>
27
28                         <h:panelGroup layout="block" styleClass="registration_form">
29                                 <ui:fragment rendered="#{featureController.isFeatureEnabled('user_register_multiple_page')}">
30                                         <ui:include src="/WEB-INF/templates/guest/user/register/guest_form_register_page1.tpl" />
31                                 </ui:fragment>
32
33                                 <ui:fragment rendered="#{not featureController.isFeatureEnabled('user_register_multiple_page')}">
34                                         <ui:include src="/WEB-INF/templates/guest/user/register/guest_form_register_single.tpl" />
35                                 </ui:fragment>
36                         </h:panelGroup>
37                 </ui:fragment>
38
39                 <ui:fragment rendered="#{not featureController.isFeatureEnabled('user_registration')}">
40                         <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
41                                 <ui:param name="message" value="#{msg.ERROR_GUEST_REGISTRATION_DISABLED}" />
42                                 <ui:param name="styleClass" value="errors" />
43                         </ui:include>
44                 </ui:fragment>
45
46                 <ui:fragment rendered="#{featureController.isFeatureEnabled('user_registration_in_index')}">
47                         <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
48                                 <ui:param name="message" value="#{msg.ERROR_GUEST_REGISTRATION_IN_INDEX_ENABLED}" />
49                                 <ui:param name="styleClass" value="errors" />
50                         </ui:include>
51                 </ui:fragment>
52         </ui:define>
53
54         <ui:define name="content" rendered="#{featureController.isFeatureEnabled('user_registration_in_index')}">
55                 <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
56                         <ui:param name="message" value="#{msg.ERROR_GUEST_REGISTRATION_IN_INDEX_ENABLED}" />
57                         <ui:param name="styleClass" value="errors" />
58                 </ui:include>
59         </ui:define>
60 </ui:composition>