From b9747892af67e8678fac6177509776d14cde2e3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Gro=C3=9Fe?= Date: Thu, 23 Feb 2017 16:11:28 +0100 Subject: [PATCH 1/4] Add wikipagefooter implements SPR-762 --- main.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/main.php b/main.php index 2d64a12..5787212 100755 --- a/main.php +++ b/main.php @@ -14,6 +14,8 @@ header('X-UA-Compatible: IE=edge,chrome=1'); $showTools = !tpl_getConf('hideTools') || ( tpl_getConf('hideTools') && !empty($_SERVER['REMOTE_USER']) ); $showSidebar = true; /* */ +$hasFooter = page_findnearest('pagefooter'); +$showFooter = $hasFooter && ($ACT === 'show'); /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ @@ -296,6 +298,13 @@ $classWideContent = ($ACT === "show") ? "": "wide-content "; tpl_content(false); /* the main content */ ?>
+ +
+
+ +
+
+ From 5370d9e9af6fbecbf329aa803a83f4f6e432be3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Gro=C3=9Fe?= Date: Thu, 23 Feb 2017 16:15:48 +0100 Subject: [PATCH 2/4] Add styling for hr in wikipagefooter SPR-762 --- css/area_main-content.less | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/css/area_main-content.less b/css/area_main-content.less index 3b9e403..ed96763 100755 --- a/css/area_main-content.less +++ b/css/area_main-content.less @@ -20,6 +20,15 @@ } } + + .wikipagefooter { + > hr { + margin-top: 3em; + margin-bottom: 0.5em; + border-top: dashed grey 3px; + border-bottom: none; + } + } } /* + + + + + + + + + + + + + + + + + + + + + + + + + + */ From 9ae158894f8370eb190cc73b4fe42f12b7a31921 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jana=20Deutschla=CC=88nder?= Date: Thu, 23 Feb 2017 16:50:46 +0100 Subject: [PATCH 3/4] php comments added --- main.php | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/main.php b/main.php index 5787212..8a15db7 100755 --- a/main.php +++ b/main.php @@ -298,7 +298,13 @@ $classWideContent = ($ACT === "show") ? "": "wide-content "; tpl_content(false); /* the main content */ ?>
- +

@@ -310,6 +316,11 @@ $classWideContent = ($ACT === "show") ? "": "wide-content ";