]> git.mxchange.org Git - jjobs-war.git/blob - web/WEB-INF/templates/guest/user/register/guest_form_register_page1.tpl
Updated copyright year
[jjobs-war.git] / web / WEB-INF / templates / guest / user / register / guest_form_register_page1.tpl
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <ui:composition
3         xmlns="http://www.w3.org/1999/xhtml"
4         xmlns:f="http://java.sun.com/jsf/core"
5         xmlns:h="http://java.sun.com/jsf/html"
6         xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
7         xmlns:p="http://primefaces.org/ui"
8         >
9
10         <h:form rendered="#{featureController.isFeatureEnabled('user_registration')}">
11                 <h:panelGroup layout="block">
12                         <div class="table-header">
13                                 <h:outputText value="#{msg.GUEST_REGISTRATION_PAGE1_TITLE}" />
14                         </div>
15
16                         <div class="para">
17                                 <fieldset class="fieldset">
18                                         <legend title="#{msg.GUEST_REGISTRATION_EMAIL_LEGEND_TITLE}">
19                                                 <h:outputText value="#{msg.GUEST_REGISTRATION_EMAIL_LEGEND}" />
20                                         </legend>
21
22                                         <ui:fragment rendered="#{featureController.isFeatureEnabled('user_login_require_user_name')}">
23                                                 <h:panelGroup styleClass="table-row" layout="block">
24                                                         <div class="table-left-medium">
25                                                                 <p:outputLabel for="userName" value="#{msg.GUEST_REGISTRATION_ENTER_USER_NAME}" />
26                                                         </div>
27
28                                                         <div class="table-right-medium">
29                                                                 <p:inputText
30                                                                         id="userName"
31                                                                         size="20"
32                                                                         maxlength="255"
33                                                                         value="#{userRegistrationController.userName}"
34                                                                         required="true"
35                                                                         requiredMessage="#{msg.GUEST_REGISTRATION_USER_NAME_NOT_ENTERED}"
36                                                                         />
37                                                         </div>
38                                                 </h:panelGroup>
39
40                                                 <h:panelGroup styleClass="error-container" layout="block">
41                                                         <p:message for="userName" />
42                                                 </h:panelGroup>
43                                         </ui:fragment>
44
45                                         <ui:include src="/WEB-INF/templates/guest/guest_email_address_repeat_fields.tpl" />
46
47                                         <ui:fragment rendered="#{featureController.isFeatureEnabled('user_login_require_user_name')}">
48                                                 <div class="para"></div>
49
50                                                 <h:panelGroup styleClass="table-row" layout="block">
51                                                         <div class="table-left-medium">
52                                                                 <p:outputLabel for="userPassword" value="#{msg.GUEST_REGISTRATION_ENTER_PASSWORD}" />
53                                                         </div>
54
55                                                         <div class="table-right-medium">
56                                                                 <p:inputText type="secret" id="userPassword" size="10" maxlength="255" value="#{userRegistrationController.userPassword}" required="#{not featureController.isFeatureEnabled('allow_user_registration_empty_password')}" requiredMessage="#{msg.GUEST_REGISTRATION_PASSWORD_NOT_ENTERED}" />
57                                                         </div>
58                                                 </h:panelGroup>
59
60                                                 <h:panelGroup styleClass="error-container" layout="block">
61                                                         <p:message for="userPassword" />
62                                                 </h:panelGroup>
63
64                                                 <h:panelGroup styleClass="table-row" layout="block">
65                                                         <div class="table-left-medium">
66                                                                 <p:outputLabel for="userPasswordRepeat" value="#{msg.GUEST_REGISTRATION_ENTER_PASSWORD_REPEAT}" />
67                                                         </div>
68
69                                                         <div class="table-right-medium">
70                                                                 <p:inputText type="secret" id="userPasswordRepeat" size="10" maxlength="255" value="#{userRegistrationController.userPasswordRepeat}" required="#{not featureController.isFeatureEnabled('allow_user_registration_empty_password')}" requiredMessage="#{msg.GUEST_REGISTRATION_PASSWORD_REPEAT_NOT_ENTERED}" />
71                                                         </div>
72                                                 </h:panelGroup>
73
74                                                 <h:panelGroup styleClass="error-container" layout="block">
75                                                         <p:message for="userPasswordRepeat" />
76                                                 </h:panelGroup>
77
78                                                 <div class="para notice">
79                                                         <ul>
80                                                                 <li><h:outputText value="#{msg.GUEST_REGISTRATION_USER_NAME_NOTICE}" /></li>
81                                                                 <ui:fragment rendered="#{featureController.isFeatureEnabled('allow_user_registration_empty_password')}">
82                                                                         <li><h:outputText value="#{msg.GUEST_REGISTRATION_USER_PASSWORDS_EMPTY_ALLOWED}" /></li>
83                                                                 </ui:fragment>
84                                                                 <ui:fragment rendered="#{not featureController.isFeatureEnabled('allow_user_registration_empty_password')}">
85                                                                         <li><h:outputText value="#{msg.GUEST_REGISTRATION_USER_PASSWORDS_EMPTY_NOT_ALLOWED}" /></li>
86                                                                 </ui:fragment>
87                                                         </ul>
88                                                 </div>
89                                         </ui:fragment>
90                                 </fieldset>
91                         </div>
92
93                         <ui:include src="/WEB-INF/templates/guest/guest_privacy_terms.tpl" />
94
95                         <p:panelGrid columns="2" layout="grid">
96                                 <p:commandButton
97                                         type="reset"
98                                         value="#{msg.BUTTON_RESET_FORM}"
99                                         />
100
101                                 <p:commandButton
102                                         type="submit"
103                                         value="#{msg.BUTTON_CONTINUE_REGISTER_PAGE2}"
104                                         action="#{userRegistrationController.doRegisterMultiPage1()}"
105                                         />
106                         </p:panelGrid>
107                 </h:panelGroup>
108         </h:form>
109 </ui:composition>