*/ /** * All DokuWiki plugins to extend the admin function * need to inherit from this class **/ class admin_plugin_botmon extends AdminPlugin { /** * Return the path to the icon being displayed in the main admin menu. * * @return string full path to the icon file **/ public function getMenuIcon() { $plugin = $this->getPluginName(); return DOKU_PLUGIN . $plugin . '/img/admin.svg'; } /** * output appropriate html */ public function html() { global $conf; // spinner animation as SVG image: $svg = ''; $pluginPath = $conf['basedir'] . 'lib/plugins/' . $this->getPluginName(); /* Plugin Headline */ echo '