From 4d92f0447ae24522226bfe18a48341b7ffd09b9f Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Tue, 11 Feb 2014 18:43:38 +0100 Subject: [PATCH] Header und Footer editierbar gemacht MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Nötig, damit Sonderseiten wie die Startseite, oder das Impressum oder die About-Seite die Spezial-Links im Header und/oder Footer todschalten können. --- src/main/webapp/WEB-INF/spring/tiles.xml | 2 ++ src/main/webapp/WEB-INF/templates/footer.jsp | 8 ++++++++ src/main/webapp/WEB-INF/templates/html5page.jsp | 6 ++---- 3 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 src/main/webapp/WEB-INF/templates/footer.jsp diff --git a/src/main/webapp/WEB-INF/spring/tiles.xml b/src/main/webapp/WEB-INF/spring/tiles.xml index da757274..03c04d7f 100644 --- a/src/main/webapp/WEB-INF/spring/tiles.xml +++ b/src/main/webapp/WEB-INF/spring/tiles.xml @@ -7,11 +7,13 @@ + + diff --git a/src/main/webapp/WEB-INF/templates/footer.jsp b/src/main/webapp/WEB-INF/templates/footer.jsp new file mode 100644 index 00000000..25d4ea3a --- /dev/null +++ b/src/main/webapp/WEB-INF/templates/footer.jsp @@ -0,0 +1,8 @@ +<%@page contentType="text/html;charset=UTF-8"%> +<%@page pageEncoding="UTF-8"%> +<%@page session="false" %> +<%@taglib uri="http://www.springframework.org/tags" prefix="s"%> + + +
  • Contact
  • +
  • Impressum
  • diff --git a/src/main/webapp/WEB-INF/templates/html5page.jsp b/src/main/webapp/WEB-INF/templates/html5page.jsp index 1ccd625a..e15516e7 100644 --- a/src/main/webapp/WEB-INF/templates/html5page.jsp +++ b/src/main/webapp/WEB-INF/templates/html5page.jsp @@ -15,7 +15,7 @@
    @@ -46,9 +46,7 @@
    -- 2.20.1