* @author Nicolas Prigent * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) */ if (!defined('DOKU_INC')) die(); /* must be run from within DokuWiki */ @require_once(dirname(__FILE__).'/tpl_functions.php'); /* include hook for template functions */ $showTools = !tpl_getConf('hideTools') || ( tpl_getConf('hideTools') && !empty($_SERVER['REMOTE_USER']) ); $showSidebar = page_findnearest($conf['sidebar']) && ($ACT=='show'); $sidebarElement = tpl_getConf('sidebarIsNav') ? 'nav' : 'aside'; $menuMaxHeight = tpl_getConf('MenuMaxHeight'); $tocMaxHeight = tpl_getConf('TocMaxHeight'); $themeMode = ''; if (!empty($_COOKIE['theme'])){ $themeMode = $_COOKIE['theme']; } ?>