* @author Gina Haeussge */ class action_plugin_blockquote extends DokuWiki_Action_Plugin { /** * register the eventhandlers */ function register(Doku_Event_Handler $controller) { $controller->register_hook('TOOLBAR_DEFINE', 'AFTER', $this, 'blockquote_button', array ()); } /** * Inserts a toolbar button */ function blockquote_button(Doku_Event $event, $param) { $event->data[] = array ( 'type' => 'format', 'title' => $this->getLang('qb_blockquote'), 'icon' => '../../plugins/blockquote/images/blockquote-icon.png', 'open' => '
', 'close' => '
', ); return true; } }