* @author Clarence Lee * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) */ if (!defined('DOKU_INC')) die(); /* must be run from within DokuWiki */ header('X-UA-Compatible: IE=edge,chrome=1'); $hasSidebar = page_findnearest($conf['sidebar']); $showSidebar = $hasSidebar && ($ACT=='show'); ?> <?php tpl_pagetitle() ?> [<?php echo strip_tags($conf['title']) ?>]


    'main', 'items' => array( 'edit' => tpl_action('edit', true, 'li', true, '', ''), 'revert' => tpl_action('revert', true, 'li', true, '', ''), 'revisions' => tpl_action('revisions', true, 'li', true, '', ''), 'backlink' => tpl_action('backlink', true, 'li', true, '', ''), 'subscribe' => tpl_action('subscribe', true, 'li', true, '', ''), 'top' => tpl_action('top', true, 'li', true, '', '') ) ); // 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); ?>