menu[dcAdmin::MENU_PLUGINS]->addItem( dcCore::app()->plugins->moduleInfo(self::$pid, 'name'), dcCore::app()->adminurl->get('admin.plugin.' . self::$pid), dcPage::getPF(self::$pid . '/icon.svg'), preg_match('/' . preg_quote(dcCore::app()->adminurl->get('admin.plugin.' . self::$pid)) . '(&.*)?$/', $_SERVER['REQUEST_URI']), dcCore::app()->auth->isSuperAdmin() ); return true; } }