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@require_once(dirname(__FILE__).'/tpl_functions.php'); /* include hook for template functions */ 130e336ca8SAndreas Gohr 140e336ca8SAndreas Gohr$showSidebar = $conf['sidebar'] && page_exists($conf['sidebar']) && ($ACT=='show'); 150e336ca8SAndreas Gohr?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 160e336ca8SAndreas Gohr "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 170e336ca8SAndreas Gohr<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang'] ?>" 180e336ca8SAndreas Gohr lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>"> 190e336ca8SAndreas Gohr<head> 200e336ca8SAndreas Gohr <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 21*e6014438SAnika Henke <!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /><![endif]--> 220e336ca8SAndreas Gohr <title><?php tpl_pagetitle() ?> [<?php echo strip_tags($conf['title']) ?>]</title> 230e336ca8SAndreas Gohr <?php tpl_metaheaders() ?> 240e336ca8SAndreas Gohr <meta name="viewport" content="width=device-width,initial-scale=1" /> 250e336ca8SAndreas Gohr <?php echo tpl_favicon(array('favicon', 'mobile')) ?> 260e336ca8SAndreas Gohr <?php _tpl_include('meta.html') ?> 270e336ca8SAndreas Gohr</head> 280e336ca8SAndreas Gohr 290e336ca8SAndreas Gohr<body> 300e336ca8SAndreas Gohr <!--[if lte IE 7 ]><div id="IE7"><![endif]--><!--[if IE 8 ]><div id="IE8"><![endif]--> 310e336ca8SAndreas Gohr <div id="dokuwiki__site"><div id="dokuwiki__top" 320e336ca8SAndreas Gohr class="dokuwiki site mode_<?php echo $ACT ?> <?php echo ($showSidebar) ? 'hasSidebar' : ''; ?>"> 330e336ca8SAndreas Gohr 340e336ca8SAndreas Gohr <?php include('tpl_header.php') ?> 350e336ca8SAndreas Gohr 360e336ca8SAndreas Gohr <div class="wrapper group"> 370e336ca8SAndreas Gohr 380e336ca8SAndreas Gohr <?php if($showSidebar): ?> 390e336ca8SAndreas Gohr <!-- ********** ASIDE ********** --> 400e336ca8SAndreas Gohr <div id="dokuwiki__aside"><div class="pad include group"> 4157fc5eddSAnika Henke <?php tpl_flush() ?> 420e336ca8SAndreas Gohr <?php _tpl_include('sidebarheader.html') ?> 4357fc5eddSAnika Henke <?php tpl_include_page($conf['sidebar']) ?> 440e336ca8SAndreas Gohr <?php _tpl_include('sidebarfooter.html') ?> 450e336ca8SAndreas Gohr </div></div><!-- /aside --> 460e336ca8SAndreas Gohr <?php endif; ?> 470e336ca8SAndreas Gohr 480e336ca8SAndreas Gohr <!-- ********** CONTENT ********** --> 490e336ca8SAndreas Gohr <div id="dokuwiki__content"><div class="pad group"> 500e336ca8SAndreas Gohr 510e336ca8SAndreas Gohr <div class="pageId"><span><?php echo hsc($ID) ?></span></div> 520e336ca8SAndreas Gohr 530e336ca8SAndreas Gohr <div class="page group"> 540e336ca8SAndreas Gohr <?php tpl_flush() ?> 550e336ca8SAndreas Gohr <?php _tpl_include('pageheader.html') ?> 560e336ca8SAndreas Gohr <!-- wikipage start --> 5757fc5eddSAnika Henke <?php tpl_content() ?> 580e336ca8SAndreas Gohr <!-- wikipage stop --> 590e336ca8SAndreas Gohr <?php _tpl_include('pagefooter.html') ?> 600e336ca8SAndreas Gohr </div> 610e336ca8SAndreas Gohr 6257fc5eddSAnika Henke <div class="docInfo"><?php tpl_pageinfo() ?></div> 630e336ca8SAndreas Gohr 640e336ca8SAndreas Gohr <?php tpl_flush() ?> 650e336ca8SAndreas Gohr </div></div><!-- /content --> 660e336ca8SAndreas Gohr 670e336ca8SAndreas Gohr <hr class="a11y" /> 680e336ca8SAndreas Gohr 690e336ca8SAndreas Gohr <!-- PAGE ACTIONS --> 700e336ca8SAndreas Gohr <div id="dokuwiki__pagetools"> 710e336ca8SAndreas Gohr <h3 class="a11y"><?php echo $lang['page_tools']; ?></h3> 720e336ca8SAndreas Gohr <div class="tools"> 730e336ca8SAndreas Gohr <ul> 740e336ca8SAndreas Gohr <?php 750e336ca8SAndreas Gohr tpl_action('edit', 1, 'li', 0, '<span>', '</span>'); 760e336ca8SAndreas Gohr tpl_action('revert', 1, 'li', 0, '<span>', '</span>'); 770e336ca8SAndreas Gohr tpl_action('revisions', 1, 'li', 0, '<span>', '</span>'); 780e336ca8SAndreas Gohr tpl_action('backlink', 1, 'li', 0, '<span>', '</span>'); 790e336ca8SAndreas Gohr tpl_action('subscribe', 1, 'li', 0, '<span>', '</span>'); 800e336ca8SAndreas Gohr tpl_action('top', 1, 'li', 0, '<span>', '</span>'); 810e336ca8SAndreas Gohr ?> 820e336ca8SAndreas Gohr </ul> 830e336ca8SAndreas Gohr </div> 840e336ca8SAndreas Gohr </div> 850e336ca8SAndreas Gohr </div><!-- /wrapper --> 860e336ca8SAndreas Gohr 870e336ca8SAndreas Gohr <?php include('tpl_footer.php') ?> 880e336ca8SAndreas Gohr </div></div><!-- /site --> 890e336ca8SAndreas Gohr 900e336ca8SAndreas Gohr <div class="no"><?php tpl_indexerWebBug() /* provide DokuWiki housekeeping, required in all templates */ ?></div> 910e336ca8SAndreas Gohr <!--[if ( lte IE 7 | IE 8 ) ]></div><![endif]--> 920e336ca8SAndreas Gohr</body> 930e336ca8SAndreas Gohr</html> 94