title = Yii::t('main', 'Modules'); $this->params['breadcrumbs'][] = $this->title; $message = Yii::t('main', 'To remove the module, use the following command in the SSH console:'); $js = <<php yii module/remove ' + name + ''); }); JS; $this->registerJs($js, $this::POS_READY); ?> [], ]); ?>
isEnabled() ? '#00aced' : '#cccccc'; if ($module->isDisabled()) { ModuleHelper::addModuleAdminTranslation($module->name); } $module_name = in_array($module->name, array_keys(Yii::$app->getI18n()->translations)) ? Yii::t($module->name, $module->name) : $module->name; $module_description = in_array($module->name, array_keys(Yii::$app->getI18n()->translations)) ? Yii::t($module->name, $module->description) : $module->description; ?>