64 lines
2.3 KiB
PHP
64 lines
2.3 KiB
PHP
|
<?php
|
||
|
/**
|
||
|
* DokuWiki Default Template 2012
|
||
|
*
|
||
|
* @author Ruediger Marwein <henryxiv@hotmail.com>
|
||
|
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||
|
*/
|
||
|
|
||
|
if (!defined('DOKU_INC')) die();
|
||
|
|
||
|
$hasSidebar = page_findnearest($conf['sidebar']);
|
||
|
$showSidebar = $hasSidebar && ($ACT=='show');
|
||
|
|
||
|
?><!DOCTYPE html>
|
||
|
<html lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>" class="no-js">
|
||
|
<head>
|
||
|
<meta charset="utf-8" />
|
||
|
<title><?php tpl_pagetitle() ?> [<?php echo strip_tags($conf['title']) ?>]</title>
|
||
|
<script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script>
|
||
|
<?php tpl_metaheaders() ?>
|
||
|
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
||
|
<?php echo tpl_favicon(array('favicon', 'mobile')) ?>
|
||
|
<?php tpl_includeFile('meta.html') ?>
|
||
|
</head>
|
||
|
|
||
|
<body>
|
||
|
<div id="wrapper">
|
||
|
<div class="overlay"></div>
|
||
|
<div id="dokuwiki__site">
|
||
|
<div id="dokuwiki__top" class="site <?php echo tpl_classes(); ?>">
|
||
|
<article>
|
||
|
<?php tpl_content() ?>
|
||
|
</article>
|
||
|
|
||
|
<aside id="dokuwiki__pagetools">
|
||
|
<div class="container">
|
||
|
<h3 class="a11y"><?php echo $lang['page_tools']; ?></h3>
|
||
|
<div class="tools">
|
||
|
<ul class="list-group">
|
||
|
<?php echo (new \dokuwiki\Menu\PageMenu())->getListItems("list-group-item "); ?>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|
||
|
</aside>
|
||
|
<footer class="text-center">
|
||
|
<?php tpl_include_page("footer", true, true) ?>
|
||
|
</footer>
|
||
|
<?php tpl_flush() ?>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
<div class="no"><?php tpl_indexerWebBug() ?></div>
|
||
|
<div id="screen__mode" class="no"></div>
|
||
|
</div>
|
||
|
<nav class="navbar navbar-inverse navbar-fixed-top sidebar-offcanvas" id="sidebar-wrapper" role="navigation">
|
||
|
<?php tpl_include_page("sidebar", true, true) ?>
|
||
|
</nav>
|
||
|
<button type="button" class="hamburger is-closed" data-toggle="offcanvas">
|
||
|
<i class="hamburger-icon dw-icons fa-fw fa fa-bars" style=""></i>
|
||
|
</button>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|