menu[dcAdmin::MENU_PLUGINS]->addItem( __('Http password'), dcCore::app()->adminurl->get('admin.plugin.' . basename(__DIR__)), urldecode(dcPage::getPF(basename(__DIR__) . '/icon.png')), preg_match('/' . preg_quote(dcCore::app()->adminurl->get('admin.plugin.' . basename(__DIR__))) . '(&.*)?$/', $_SERVER['REQUEST_URI']), dcCore::app()->auth->check(dcCore::app()->auth->makePermissions([ dcAuth::PERMISSION_USAGE, initHttpPassword::PERMISSION, ]), dcCore::app()->blog->id) );