* @license GPL 2 (http://www.gnu.org/licenses/gpl.html) */ // error_reporting(E_ALL & ~E_DEPRECATED & ~E_NOTICE); ini_set('display_errors', '1'); // Switch on for error reporting 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') && $_SERVER['REMOTE_USER'] ); # calling tpl_toc() here returns null if the toc wouldn't normally be rendered # so $showTOC will be true if TOC would be rendered, false if not # this affects our grid layout later ( see 'if ($showTOC)' ) $showTOC = ($ACT == "show") && tpl_toc(true); ?> <?php tpl_pagetitle() ?> [<?php echo strip_tags($conf['title']) ?>] " rel="stylesheet"> " rel="stylesheet"> are added to make it possible to e.g. style a page differently if it's in edit mode, See http://www.dokuwiki.org/devel:action_modes for a list of action modes .dokuwiki should always be in one of the surrounding elements (e.g. plugins and templates depend on it) */ ?>