* @author Clarence Lee * @author Stefan Rothe * @license GPL 2 (http://www.gnu.org/licenses/gpl2.html) */ if (!defined('DOKU_INC')) die(); /* must be run from within DokuWiki */ header('X-UA-Compatible: IE=edge,chrome=1'); $hasMenubar = page_findnearest(tpl_getConf('menubar')); $showMenubar = $hasMenubar && ($ACT=='show'); $customLicence = tpl_getConf('custom_licence'); $siteClasses = 'site ' . tpl_classes(); if ($hasMenubar) { $siteClasses = $siteClasses . 'hasMenubar '; } if ($showMenubar) { $siteClasses = $siteClasses . 'showMenubar '; } ?> <?php tpl_pagetitle() ?> [<?php echo strip_tags($conf['title']) ?>]

    'main', 'items' => array( 'edit' => tpl_action('edit', 1, 'li', 1, '', ''), 'revert' => tpl_action('revert', 1, 'li', 1, '', ''), 'revisions' => tpl_action('revisions', 1, 'li', 1, '', ''), 'backlink' => tpl_action('backlink', 1, 'li', 1, '', ''), 'subscribe' => tpl_action('subscribe', 1, 'li', 1, '', ''), 'top' => tpl_action('top', 1, 'li', 1, '', '') ) ); // the page tools can be amended through a custom plugin hook $evt = new Doku_Event('TEMPLATE_PAGETOOLS_DISPLAY', $data); if($evt->advise_before()){ foreach($evt->data['items'] as $k => $html) echo $html; } $evt->advise_after(); unset($data); unset($evt); ?>