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' => 'blockquote', 'icon' => '../../plugins/' . webcomponent::PLUGIN_NAME . '/images/blockquote-icon.png', 'open' => '
', 'close' => '
', ); return true; } }