10e336ca8SAndreas Gohr<?php 20e336ca8SAndreas Gohr/** 30e336ca8SAndreas Gohr * DokuWiki Default Template 2012 40e336ca8SAndreas Gohr * 50e336ca8SAndreas Gohr * @link http://dokuwiki.org/template 60e336ca8SAndreas Gohr * @author Anika Henke <anika@selfthinker.org> 70e336ca8SAndreas Gohr * @author Clarence Lee <clarencedglee@gmail.com> 80e336ca8SAndreas Gohr * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) 90e336ca8SAndreas Gohr */ 100e336ca8SAndreas Gohr 110e336ca8SAndreas Gohrif (!defined('DOKU_INC')) die(); /* must be run from within DokuWiki */ 120e336ca8SAndreas Gohr 13*e66d3e6dSAndreas Gohr$showSidebar = page_findnearest($conf['sidebar']) && ($ACT=='show'); 140e336ca8SAndreas Gohr?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 150e336ca8SAndreas Gohr "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 160e336ca8SAndreas Gohr<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang'] ?>" 170e336ca8SAndreas Gohr lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>"> 180e336ca8SAndreas Gohr<head> 190e336ca8SAndreas Gohr <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 20e6014438SAnika Henke <!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /><![endif]--> 210e336ca8SAndreas Gohr <title><?php tpl_pagetitle() ?> [<?php echo strip_tags($conf['title']) ?>]</title> 220e336ca8SAndreas Gohr <?php tpl_metaheaders() ?> 230e336ca8SAndreas Gohr <meta name="viewport" content="width=device-width,initial-scale=1" /> 240e336ca8SAndreas Gohr <?php echo tpl_favicon(array('favicon', 'mobile')) ?> 25e5d4768dSAndreas Gohr <?php tpl_includeFile('meta.html') ?> 260e336ca8SAndreas Gohr</head> 270e336ca8SAndreas Gohr 280e336ca8SAndreas Gohr<body> 290e336ca8SAndreas Gohr <!--[if lte IE 7 ]><div id="IE7"><![endif]--><!--[if IE 8 ]><div id="IE8"><![endif]--> 300e336ca8SAndreas Gohr <div id="dokuwiki__site"><div id="dokuwiki__top" 310e336ca8SAndreas Gohr class="dokuwiki site mode_<?php echo $ACT ?> <?php echo ($showSidebar) ? 'hasSidebar' : ''; ?>"> 320e336ca8SAndreas Gohr 330e336ca8SAndreas Gohr <?php include('tpl_header.php') ?> 340e336ca8SAndreas Gohr 350e336ca8SAndreas Gohr <div class="wrapper group"> 360e336ca8SAndreas Gohr 370e336ca8SAndreas Gohr <?php if($showSidebar): ?> 380e336ca8SAndreas Gohr <!-- ********** ASIDE ********** --> 390e336ca8SAndreas Gohr <div id="dokuwiki__aside"><div class="pad include group"> 4048722ac8SAnika Henke <h3 class="toggle"><?php echo hsc(ucfirst($conf['sidebar'])) ?></h3> 4148722ac8SAnika Henke <div class="content"> 4257fc5eddSAnika Henke <?php tpl_flush() ?> 43e5d4768dSAndreas Gohr <?php tpl_includeFile('sidebarheader.html') ?> 44*e66d3e6dSAndreas Gohr <?php tpl_sidebar() ?> 45e5d4768dSAndreas Gohr <?php tpl_includeFile('sidebarfooter.html') ?> 46c8388e44SAndreas Gohr </div> 470e336ca8SAndreas Gohr </div></div><!-- /aside --> 480e336ca8SAndreas Gohr <?php endif; ?> 490e336ca8SAndreas Gohr 500e336ca8SAndreas Gohr <!-- ********** CONTENT ********** --> 510e336ca8SAndreas Gohr <div id="dokuwiki__content"><div class="pad group"> 520e336ca8SAndreas Gohr 530e336ca8SAndreas Gohr <div class="pageId"><span><?php echo hsc($ID) ?></span></div> 540e336ca8SAndreas Gohr 550e336ca8SAndreas Gohr <div class="page group"> 560e336ca8SAndreas Gohr <?php tpl_flush() ?> 57e5d4768dSAndreas Gohr <?php tpl_includeFile('pageheader.html') ?> 580e336ca8SAndreas Gohr <!-- wikipage start --> 5957fc5eddSAnika Henke <?php tpl_content() ?> 600e336ca8SAndreas Gohr <!-- wikipage stop --> 61e5d4768dSAndreas Gohr <?php tpl_includeFile('pagefooter.html') ?> 620e336ca8SAndreas Gohr </div> 630e336ca8SAndreas Gohr 6457fc5eddSAnika Henke <div class="docInfo"><?php tpl_pageinfo() ?></div> 650e336ca8SAndreas Gohr 660e336ca8SAndreas Gohr <?php tpl_flush() ?> 670e336ca8SAndreas Gohr </div></div><!-- /content --> 680e336ca8SAndreas Gohr 690e336ca8SAndreas Gohr <hr class="a11y" /> 700e336ca8SAndreas Gohr 710e336ca8SAndreas Gohr <!-- PAGE ACTIONS --> 720e336ca8SAndreas Gohr <div id="dokuwiki__pagetools"> 730e336ca8SAndreas Gohr <h3 class="a11y"><?php echo $lang['page_tools']; ?></h3> 740e336ca8SAndreas Gohr <div class="tools"> 750e336ca8SAndreas Gohr <ul> 760e336ca8SAndreas Gohr <?php 770e336ca8SAndreas Gohr tpl_action('edit', 1, 'li', 0, '<span>', '</span>'); 780e336ca8SAndreas Gohr tpl_action('revert', 1, 'li', 0, '<span>', '</span>'); 790e336ca8SAndreas Gohr tpl_action('revisions', 1, 'li', 0, '<span>', '</span>'); 800e336ca8SAndreas Gohr tpl_action('backlink', 1, 'li', 0, '<span>', '</span>'); 810e336ca8SAndreas Gohr tpl_action('subscribe', 1, 'li', 0, '<span>', '</span>'); 820e336ca8SAndreas Gohr tpl_action('top', 1, 'li', 0, '<span>', '</span>'); 830e336ca8SAndreas Gohr ?> 840e336ca8SAndreas Gohr </ul> 850e336ca8SAndreas Gohr </div> 860e336ca8SAndreas Gohr </div> 870e336ca8SAndreas Gohr </div><!-- /wrapper --> 880e336ca8SAndreas Gohr 890e336ca8SAndreas Gohr <?php include('tpl_footer.php') ?> 900e336ca8SAndreas Gohr </div></div><!-- /site --> 910e336ca8SAndreas Gohr 920e336ca8SAndreas Gohr <div class="no"><?php tpl_indexerWebBug() /* provide DokuWiki housekeeping, required in all templates */ ?></div> 930e336ca8SAndreas Gohr <!--[if ( lte IE 7 | IE 8 ) ]></div><![endif]--> 940e336ca8SAndreas Gohr</body> 950e336ca8SAndreas Gohr</html> 96