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] 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 */ ?>
+ +
+
+ +
+
+