com web/wiki: Remove breadcrumbs and move the toc into secondscreen: dokuwiki/lib/tpl/phpnet/main.php
| From: | Hannes Magnusson | Date: | Tue, 17 Dec 2013 07:41:35 +0000 |
| Subject: | com web/wiki: Remove breadcrumbs and move the toc into secondscreen: dokuwiki/lib/tpl/phpnet/main.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-17698@lists.php.net to get a copy of this message | ||
Commit: b189eb22dc5a13cf71e407797d62c3e18b0cdbe1
Author: Hannes Magnusson <bjori@mongodb.com> Mon, 16 Dec 2013 23:41:35 -0800
Parents: 15c946263fdb0d27cfa0f542e8f646ee18a4c888
Branches: master
Link: http://git.php.net/?p=web/wiki.git;a=commitdiff;h=b189eb22dc5a13cf71e407797d62c3e18b0cdbe1
Log:
Remove breadcrumbs and move the toc into secondscreen
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 94cfedf..b864fb9 100644
--- a/dokuwiki/lib/tpl/phpnet/main.php
+++ b/dokuwiki/lib/tpl/phpnet/main.php
@@ -50,11 +50,11 @@ EXTRA;
include __DIR__ . "/../../../shared/templates/header.inc";
?>
+<section class="mainscreen">
<!--[if lte IE 7 ]><div id="IE7"><![endif]--><!--[if IE 8
]><div id="IE8"><![endif]-->
<div id="dokuwiki__site"><div id="dokuwiki__top" class="site
<?php echo tpl_classes(); ?> <?php
echo ($showSidebar) ? 'showSidebar' : ''; ?> <?php echo
($hasSidebar) ? 'hasSidebar' : ''; ?>">
- <?php include('tpl_header.php') ?>
<div class="wrapper group">
@@ -80,7 +80,7 @@ include __DIR__ . "/../../../shared/templates/header.inc";
<?php tpl_flush() ?>
<?php tpl_includeFile('pageheader.html') ?>
<!-- wikipage start -->
- <?php tpl_content() ?>
+ <?php tpl_content(false) ?>
<!-- wikipage stop -->
<?php tpl_includeFile('pagefooter.html') ?>
</div>
@@ -130,6 +130,10 @@ include __DIR__ . "/../../../shared/templates/header.inc";
<div class="no"><?php tpl_indexerWebBug() /* provide DokuWiki housekeeping,
required in all templates */ ?></div>
<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
include __DIR__ . "/../../../shared/templates/footer.inc";