com web/wiki: Use the magic footer var: dokuwiki/lib/tpl/phpnet/main.php
| From: | Hannes Magnusson | Date: | Wed, 18 Dec 2013 22:17:23 +0000 |
| Subject: | com web/wiki: Use the magic footer var: dokuwiki/lib/tpl/phpnet/main.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-17731@lists.php.net to get a copy of this message | ||
Commit: c229fd3edf1f61651b199ca98011ccd08b7c527b
Author: Hannes Magnusson <bjori@mongodb.com> Wed, 18 Dec 2013 14:17:23 -0800
Parents: 313042d4d83dec9f843e74508a9aad40b4408bdb
Branches: master
Link: http://git.php.net/?p=web/wiki.git;a=commitdiff;h=c229fd3edf1f61651b199ca98011ccd08b7c527b
Log:
Use the magic footer var
Changed paths:
M dokuwiki/lib/tpl/phpnet/main.php
Diff:
diff --git a/dokuwiki/lib/tpl/phpnet/main.php b/dokuwiki/lib/tpl/phpnet/main.php
index 78f7996..681e369 100644
--- a/dokuwiki/lib/tpl/phpnet/main.php
+++ b/dokuwiki/lib/tpl/phpnet/main.php
@@ -130,10 +130,7 @@ include __DIR__ . "/../../../shared/templates/header.inc";
<div id="screen__mode" class="no"></div><?php /* helper to
detect CSS media query in script.js */ ?>
<!--[if ( lte IE 7 | IE 8 ) ]></div><![endif]-->
</section>
-<section class="secondscreen">
-<?php tpl_toc() ?>
-</section>
-<?php
+<?php $SECONDSCREEN = tpl_toc(true);
include __DIR__ . "/../../../shared/templates/footer.inc";