* @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); ?>