diff --git a/css/area_main-content.less b/css/area_main-content.less index 3b9e403..6db9048 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 @color-border-light 2px; + border-bottom: none; + } + } } /* + + + + + + + + + + + + + + + + + + + + + + + + + + */ diff --git a/main.php b/main.php index 2d64a12..8a15db7 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,11 +298,29 @@ $classWideContent = ($ACT === "show") ? "": "wide-content "; tpl_content(false); /* the main content */ ?>
+ + +