'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); ?>