- =$article->lang->title?> + = $article->lang->title ?>
- =$article->image->getImg( + = $article->image->getImg( [ - 'class' => "img-responsive" + 'class' => "img-responsive", ] - )?> + ) ?>
- =$article->lang->body?> + = $article->lang->body ?>diff --git a/backend/config/main.php b/backend/config/main.php index 089ca47..2bbc0cc 100755 --- a/backend/config/main.php +++ b/backend/config/main.php @@ -26,6 +26,7 @@ 'blog' => 'artbox\weblog\controllers\ArticleController', 'blog-category' => 'artbox\weblog\controllers\CategoryController', 'blog-tag' => 'artbox\weblog\controllers\TagController', + 'comment' => 'artbox\webcomment\controllers\ManageController', ], 'components' => [ 'assetManager' => [ diff --git a/backend/views/comment/answer.php b/backend/views/comment/answer.php new file mode 100755 index 0000000..513296f --- /dev/null +++ b/backend/views/comment/answer.php @@ -0,0 +1,69 @@ +title = \Yii::t('artbox-comment', 'Ответить на комментарий') . '# ' . $model->id; + + $this->params[ 'breadcrumbs' ][] = [ + 'label' => \Yii::t('artbox-comment', 'Комментарии'), + 'url' => [ 'index' ], + ]; + $this->params[ 'breadcrumbs' ][] = $this->title; +?> + +
- =$article->lang->title?> + = $article->lang->title ?>
- =$article->image->getImg( + = $article->image->getImg( [ - 'class' => "img-responsive" + 'class' => "img-responsive", ] - )?> + ) ?>
- =$article->lang->body?> + = $article->lang->body ?>