str('page', '', true) != '') { /** @var AdminPlugin $plugin */ if($plugin = plugin_getRequestAdminPlugin()) { // FIXME this method does also permission checking if(!$plugin->isAccessibleByCurrentUser()) { throw new ActionException('denied'); } $plugin->handle(); } } } /** @inheritDoc */ public function tplContent() { tpl_admin(); } }