Add wikipagefooter
implements SPR-762
This commit is contained in:
parent
1b74bdc158
commit
b9747892af
1 changed files with 9 additions and 0 deletions
9
main.php
9
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 */
|
||||
?>
|
||||
<div class="clearer"></div>
|
||||
<?php if($showFooter): ?>
|
||||
<div class="wikipagefooter">
|
||||
<hr>
|
||||
<?php tpl_include_page('pagefooter', true, true) ?>
|
||||
<div class="clearer"></div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div><!-- .main-content -->
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue