|
@ -11,6 +11,7 @@ if (!defined('DOKU_INC')) die(); /* must be run from within DokuWiki */ |
|
|
@require_once(dirname(__FILE__).'/tpl_functions.php'); /* include hook for template functions */ |
|
|
@require_once(dirname(__FILE__).'/tpl_functions.php'); /* include hook for template functions */ |
|
|
|
|
|
|
|
|
$showTools = !tpl_getConf('hideTools') || ( tpl_getConf('hideTools') && $_SERVER['REMOTE_USER'] ); |
|
|
$showTools = !tpl_getConf('hideTools') || ( tpl_getConf('hideTools') && $_SERVER['REMOTE_USER'] ); |
|
|
|
|
|
$showSidebar = page_findnearest($conf['sidebar']) && ($ACT=='show'); |
|
|
?><!DOCTYPE html>
|
|
|
?><!DOCTYPE html>
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang'] ?>" |
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang'] ?>" |
|
|
lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>" class="no-js"> |
|
|
lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>" class="no-js"> |
|
@ -35,7 +36,7 @@ $showTools = !tpl_getConf('hideTools') || ( tpl_getConf('hideTools') && $_SERVER |
|
|
see http://www.dokuwiki.org/devel:action_modes for a list of action modes */ ?>
|
|
|
see http://www.dokuwiki.org/devel:action_modes for a list of action modes */ ?>
|
|
|
<?php /* .dokuwiki should always be in one of the surrounding elements (e.g. plugins and templates depend on it) */ ?>
|
|
|
<?php /* .dokuwiki should always be in one of the surrounding elements (e.g. plugins and templates depend on it) */ ?>
|
|
|
<div id="dokuwiki__site"><div id="dokuwiki__top" |
|
|
<div id="dokuwiki__site"><div id="dokuwiki__top" |
|
|
class="dokuwiki site mode_<?php echo $ACT ?> <?php echo ($conf['sidebar']) ? 'hasSidebar' : '' ?>"> |
|
|
|
|
|
|
|
|
class="dokuwiki site mode_<?php echo $ACT ?> <?php echo ($showSidebar) ? 'hasSidebar' : '' ?>"> |
|
|
<?php html_msgarea() /* occasional error and info messages on top of the page */ ?>
|
|
|
<?php html_msgarea() /* occasional error and info messages on top of the page */ ?>
|
|
|
<?php tpl_includeFile('header.html') ?>
|
|
|
<?php tpl_includeFile('header.html') ?>
|
|
|
|
|
|
|
|
@ -112,7 +113,7 @@ $showTools = !tpl_getConf('hideTools') || ( tpl_getConf('hideTools') && $_SERVER |
|
|
<div class="wrapper"> |
|
|
<div class="wrapper"> |
|
|
|
|
|
|
|
|
<!-- ********** ASIDE ********** --> |
|
|
<!-- ********** ASIDE ********** --> |
|
|
<?php if ($conf['sidebar']): ?>
|
|
|
|
|
|
|
|
|
<?php if ($showSidebar): ?>
|
|
|
<div id="dokuwiki__aside"><div class="pad include"> |
|
|
<div id="dokuwiki__aside"><div class="pad include"> |
|
|
<?php tpl_includeFile('sidebarheader.html') ?>
|
|
|
<?php tpl_includeFile('sidebarheader.html') ?>
|
|
|
<?php tpl_include_page($conf['sidebar'], 1, 1) /* includes the nearest sidebar page */ ?>
|
|
|
<?php tpl_include_page($conf['sidebar'], 1, 1) /* includes the nearest sidebar page */ ?>
|
|
|