]> git.mxchange.org Git - jjobs-war.git/blobdiff - web/privacy.xhtml
Updated copyright year
[jjobs-war.git] / web / privacy.xhtml
index 4d2112831e09e82c951e177011837a369c8f3a85..7c6fb7733130647ee3661a7cbbde87f668053e79 100644 (file)
@@ -1,22 +1,26 @@
-<?xml version="1.0" encoding="UTF-8" ?>\r
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\r
-<html\r
-       lang="#{localizationController.language}" xml:lang="#{localizationController.language}"\r
-       xmlns="http://www.w3.org/1999/xhtml"\r
-       xmlns:ui="http://xmlns.jcp.org/jsf/facelets"\r
-       xmlns:h="http://xmlns.jcp.org/jsf/html"\r
-       xmlns:f="http://xmlns.jcp.org/jsf/core"\r
-       >\r
-\r
-       <ui:composition template="/WEB-INF/templates/#{userLoginController.templateType}/#{userLoginController.templateType}_base.tpl">\r
-               <ui:define name="guest_title">#{msg.PAGE_TITLE_INDEX_PRIVACY}</ui:define>\r
-\r
-               <ui:define name="content_header">\r
-                       #{msg.CONTENT_TITLE_INDEX_PRIVACY}\r
-               </ui:define>\r
-\r
-               <ui:define name="content">\r
-                       Hier kommen die Datenschutzbestimmungen hin.\r
-               </ui:define>\r
-       </ui:composition>\r
-</html>\r
+<?xml version="1.0" encoding="UTF-8" ?>
+<ui:composition
+       template="/WEB-INF/templates/#{userLoginController.baseTemplatePathName}_base.tpl"
+       xmlns="http://www.w3.org/1999/xhtml"
+       xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
+       xmlns:h="http://xmlns.jcp.org/jsf/html"
+       >
+
+       <ui:define name="document_guest_title">
+               <h:outputText value="#{msg.PAGE_TITLE_INDEX_PRIVACY}" />
+       </ui:define>
+
+       <ui:define name="user_title">
+               <h:outputText value="#{msg.PAGE_TITLE_INDEX_PRIVACY}" />
+       </ui:define>
+
+       <ui:define name="content_header">
+               <h:outputText value="#{msg.CONTENT_TITLE_INDEX_PRIVACY}" />
+       </ui:define>
+
+       <ui:define name="content">
+               <ui:fragment rendered="#{featureController.isFeatureEnabled('privacy')}">
+                       Hier kommen die Datenschutzbestimmungen hin.
+               </ui:fragment>
+       </ui:define>
+</ui:composition>