]> git.mxchange.org Git - pizzaservice-war.git/blob - web/index.xhtml
Please cherry-pick:
[pizzaservice-war.git] / web / index.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         <!--
11         TODO: Not used:
12         xmlns:basket="http://mxchange.org/jshop/tags/basket"
13         //-->
14
15         <ui:composition template="/WEB-INF/templates/guest/guest_base.tpl">
16                 <ui:define name="guest_title">
17                         <h:outputText value="#{msg.PAGE_TITLE_INDEX_WELCOME}" />
18                 </ui:define>
19
20                 <ui:define name="content_header">
21                         <h:outputText value="#{msg.CONTENT_TITLE_INDEX_WELCOME}" />
22                 </ui:define>
23
24                 <ui:define name="content">
25                         <ui:fragment rendered="#{featureController.isFeatureEnabled('user_registration_in_index')}">
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                                 </h:panelGroup>
31
32                                 <div class="para">
33                                         <h:outputText value="#{msg.CONTENT_PAGE_INDEX_PARA3}" />
34                                 </div>
35                         </ui:fragment>
36
37                         <ui:fragment rendered="#{not featureController.isFeatureEnabled('user_registration_in_index')}">
38                                 <ui:include src="/WEB-INF/templates/guest/guest_index.tpl" />
39                         </ui:fragment>
40                 </ui:define>
41         </ui:composition>
42 </html>