From b8f08ecac5dcf526613f7069845c87bbe6a7f4d3 Mon Sep 17 00:00:00 2001 From: Egorka Date: Fri, 14 Sep 2018 20:04:22 +0300 Subject: [PATCH] Module remote view fix message to messageInstall --- backend/views/module/remote-list.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/views/module/remote-list.php b/backend/views/module/remote-list.php index 5b3fa91..40df7bd 100644 --- a/backend/views/module/remote-list.php +++ b/backend/views/module/remote-list.php @@ -16,11 +16,11 @@ use kartik\dialog\Dialog; $this->title = Yii::t('main', 'Available Modules'); $this->params['breadcrumbs'][] = $this->title; -$message = Yii::t('main', 'To install the module, use the following command in the SSH console:'); +$messageInstall = Yii::t('main', 'To install the module, use the following command in the SSH console:'); $js = <<php yii module/install ' + name + ''); + krajeeDialog.alert('{$messageInstall}' + "\\n" + '
php yii module/install ' + name + '
'); }); JS; $this->registerJs($js, $this::POS_READY);