]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
These pages can also be accessed by a logged-in user.
authorRoland Haeder <roland@mxchange.org>
Wed, 2 Mar 2016 18:37:32 +0000 (19:37 +0100)
committerRoland Haeder <roland@mxchange.org>
Wed, 2 Mar 2016 18:37:32 +0000 (19:37 +0100)
Signed-off-by: Roland Häder <roland@mxchange.org>
web/WEB-INF/templates.dist/guest_login_page.xhtml [new file with mode: 0644]
web/imprint.xhtml
web/privacy.xhtml
web/terms.xhtml

diff --git a/web/WEB-INF/templates.dist/guest_login_page.xhtml b/web/WEB-INF/templates.dist/guest_login_page.xhtml
new file mode 100644 (file)
index 0000000..cc7f87e
--- /dev/null
@@ -0,0 +1,20 @@
+<?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 xmlns="http://www.w3.org/1999/xhtml"
+         xmlns:ui="http://java.sun.com/jsf/facelets"
+         xmlns:h="http://xmlns.jcp.org/jsf/html"
+         xmlns:f="http://xmlns.jcp.org/jsf/core"
+         >
+
+       <ui:composition template="/WEB-INF/templates/#{loginController.templateType}/#{loginController.templateType}_base.tpl">
+               <ui:define name="guest_title">#{msg.PAGE_TITLE_INDEX_FOO}</ui:define>
+
+               <ui:define name="content_header">
+                       #{msg.CONTENT_TITLE_INDEX_FOO}
+               </ui:define>
+
+               <ui:define name="content">
+                       Here goes your content.
+               </ui:define>
+       </ui:composition>
+</html>
index e5cd571521f3c45f7927e52b445ba4a43af6c12b..c93385c8c7da065bbcaa86f6cff4e0be0372e9bd 100644 (file)
@@ -6,7 +6,7 @@
          xmlns:f="http://xmlns.jcp.org/jsf/core"
          >
 
-       <ui:composition template="/WEB-INF/templates/guest/guest_base.tpl">
+       <ui:composition template="/WEB-INF/templates/#{loginController.templateType}/#{loginController.templateType}_base.tpl">
                <ui:define name="guest_title">#{msg.PAGE_TITLE_INDEX_IMPRINT}</ui:define>
 
                <ui:define name="content_header">
index 235c0e64addf778365e028e3fcbf3fca64018ce4..babc3643a1948a3acf102d3e54743342f10e13cd 100644 (file)
@@ -6,7 +6,7 @@
          xmlns:f="http://xmlns.jcp.org/jsf/core"
          >
 
-       <ui:composition template="/WEB-INF/templates/guest/guest_base.tpl">
+       <ui:composition template="/WEB-INF/templates/#{loginController.templateType}/#{loginController.templateType}_base.tpl">
                <ui:define name="guest_title">#{msg.PAGE_TITLE_INDEX_PRIVACY}</ui:define>
 
                <ui:define name="content_header">
index ba7d66db9e7a62257d079bbdd59528fcb898cd0a..d9df5b5b2fe2537065f22ab964d0233bce7562c7 100644 (file)
@@ -6,7 +6,7 @@
          xmlns:f="http://xmlns.jcp.org/jsf/core"
          >
 
-       <ui:composition template="/WEB-INF/templates/guest/guest_base.tpl">
+       <ui:composition template="/WEB-INF/templates/#{loginController.templateType}/#{loginController.templateType}_base.tpl">
                <ui:define name="guest_title">#{msg.PAGE_TITLE_INDEX_TERMS}</ui:define>
 
                <ui:define name="content_header">