sidebar in footer for text mode browser
This commit is contained in:
parent
398079c841
commit
13a9f7b969
63
main.php
63
main.php
|
@ -52,6 +52,36 @@ $buffer = ob_get_clean();
|
|||
<?php tpl_searchform() ?>
|
||||
</div>
|
||||
|
||||
</header>
|
||||
<?php tpl_flush() ?>
|
||||
|
||||
<main id="dokuwiki__content">
|
||||
<!-- BREADCRUMBS -->
|
||||
<nav id="dokuwiki__breadcrumbs">
|
||||
<?php if($conf['breadcrumbs']){ ?>
|
||||
<div class="breadcrumbs"><?php tpl_breadcrumbs() ?></div>
|
||||
<?php } ?>
|
||||
<?php if($conf['youarehere']){ ?>
|
||||
<div class="breadcrumbs"><?php tpl_youarehere() ?></div>
|
||||
<?php } ?>
|
||||
</nav>
|
||||
|
||||
<?php tpl_flush() /* flush the output buffer */ ?>
|
||||
<?php tpl_includeFile('pageheader.html') ?>
|
||||
|
||||
<?php echo $buffer /* main content */ ?>
|
||||
|
||||
<?php tpl_flush() ?>
|
||||
<?php tpl_includeFile('pagefooter.html') ?>
|
||||
</main>
|
||||
|
||||
|
||||
<!-- ********** FOOTER ********** -->
|
||||
<footer>
|
||||
<div class="doc"><?php tpl_pageinfo() /* 'Last modified' etc */ ?></div>
|
||||
<?php tpl_license('button') /* content license, parameters: img=*badge|button|0, imgonly=*0|1, return=*0|1 */ ?>
|
||||
<?php tpl_includeFile('footer.html') ?>
|
||||
|
||||
<!-- TOC AND TOOLS IN SIDENAV -->
|
||||
<a id="dokuwiki__sidebar_show_btn" class="button" href="#dokuwiki__sidebar" class="button" >☰</a>
|
||||
<div id="dokuwiki__sidebar" aria-labelledby="dokuwiki__sitetools_heading">
|
||||
|
@ -96,39 +126,6 @@ $buffer = ob_get_clean();
|
|||
<?php tpl_toc()?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</header>
|
||||
<?php tpl_flush() ?>
|
||||
|
||||
<main id="dokuwiki__content">
|
||||
<!-- BREADCRUMBS -->
|
||||
<nav id="dokuwiki__breadcrumbs">
|
||||
<?php if($conf['breadcrumbs']){ ?>
|
||||
<div class="breadcrumbs"><?php tpl_breadcrumbs() ?></div>
|
||||
<?php } ?>
|
||||
<?php if($conf['youarehere']){ ?>
|
||||
<div class="breadcrumbs"><?php tpl_youarehere() ?></div>
|
||||
<?php } ?>
|
||||
</nav>
|
||||
|
||||
<?php tpl_flush() /* flush the output buffer */ ?>
|
||||
<?php tpl_includeFile('pageheader.html') ?>
|
||||
|
||||
<?php echo $buffer /* main content */ ?>
|
||||
|
||||
<?php tpl_flush() ?>
|
||||
<?php tpl_includeFile('pagefooter.html') ?>
|
||||
</main>
|
||||
|
||||
|
||||
<!-- ********** FOOTER ********** -->
|
||||
<footer>
|
||||
<div class="doc"><?php tpl_pageinfo() /* 'Last modified' etc */ ?></div>
|
||||
<?php tpl_license('button') /* content license, parameters: img=*badge|button|0, imgonly=*0|1, return=*0|1 */ ?>
|
||||
<?php tpl_includeFile('footer.html') ?>
|
||||
|
||||
|
||||
</footer>
|
||||
<div class="no"><?php tpl_indexerWebBug() /* provide DokuWiki housekeeping, required in all templates */ ?></div>
|
||||
</body>
|
||||
|
|
Loading…
Reference in New Issue