]> git.mxchange.org Git - jjobs-war.git/blobdiff - web/index.xhtml
Continued:
[jjobs-war.git] / web / index.xhtml
index 16cdb7ce2583e066444d24288cfb6024e58e5700..a2025f049dce42b9d78d0e763ac8c37ea7642f8f 100644 (file)
@@ -1,20 +1,34 @@
 <?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html
+<ui:composition
+       template="/WEB-INF/templates/guest/guest_base.tpl"
        xmlns="http://www.w3.org/1999/xhtml"
-       xmlns:ui="http://java.sun.com/jsf/facelets"
+       xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
        xmlns:h="http://xmlns.jcp.org/jsf/html"
-       xmlns:f="http://xmlns.jcp.org/jsf/core"
        >
 
-       <ui:composition template="/WEB-INF/templates/guest/guest_base.tpl">
-               <ui:define name="guest_title">#{msg.PAGE_TITLE_INDEX_WELCOME}</ui:define>
+       <ui:define name="document_guest_title">
+               <h:outputText value="#{msg.PAGE_TITLE_INDEX_WELCOME}" />
+       </ui:define>
 
-               <ui:define name="content_header">
-                       #{msg.CONTENT_TITLE_INDEX_WELCOME}
-               </ui:define>
+       <ui:define name="content_header">
+               <h:outputText value="#{msg.CONTENT_TITLE_INDEX_WELCOME}" />
+       </ui:define>
 
-               <ui:define name="content">
-               </ui:define>
-       </ui:composition>
-</html>
+       <ui:define name="content">
+               <ui:fragment rendered="#{featureController.isFeatureEnabled('user_registration_in_index')}">
+                       <h:panelGroup layout="block" styleClass="registration_form">
+                               <ui:fragment rendered="#{featureController.isFeatureEnabled('user_register_multiple_page')}">
+                                       <ui:include src="/WEB-INF/templates/guest/user/register/guest_form_register_page1.tpl" />
+                               </ui:fragment>
+                       </h:panelGroup>
+
+                       <h:panelGroup styleClass="para" layout="block">
+                               <h:outputText value="#{msg.CONTENT_PAGE_INDEX_PARA3}" />
+                       </h:panelGroup>
+               </ui:fragment>
+
+               <ui:fragment rendered="#{featureController.isFeatureEnabled('guest_index_content')}">
+                       <ui:include src="/WEB-INF/templates/guest/guest_index.tpl" />
+               </ui:fragment>
+       </ui:define>
+</ui:composition>