str('page', '', true)) != '') { /** @var $plugin \DokuWiki_Admin_Plugin */ if($plugin = plugin_getRequestAdminPlugin()) { // FIXME this method does also permission checking if($plugin->forAdminOnly() && !$INFO['isadmin']) { throw new ActionException('denied'); } $plugin->handle(); } } } public function tplContent() { tpl_admin(); } }