diff --git a/common/modules/file/widgets/ImageUploader.php b/common/modules/file/widgets/ImageUploader.php index 47424d9..06398d0 100755 --- a/common/modules/file/widgets/ImageUploader.php +++ b/common/modules/file/widgets/ImageUploader.php @@ -1,10 +1,4 @@ $model->user_id, 'portfolio_id' => $model->portfolio_id, - 'type' => (!empty($this->params['type']))?$this->params['type']:null, - ])); ?> + 'type' => ( !empty( $this->params[ 'type' ] ) ) ? $this->params[ 'type' ] : NULL, + ]), [ 'data-pjax' => 0 ]); ?>
@@ -24,8 +24,8 @@ 'company/portfolio-view', 'company_id' => $model->user_id, 'portfolio_id' => $model->portfolio_id, - 'type' => (!empty($this->params['type']))?$this->params['type']:null, - ])) ?> + 'type' => ( !empty( $this->params[ 'type' ] ) ) ? $this->params[ 'type' ] : NULL, + ]), [ 'data-pjax' => 0 ]) ?>
@@ -35,21 +35,25 @@
-
view_count?>
+
view_count ?>
-
ratingValue)) { echo $model->ratingValue; } else { echo 'Нет'; } ?>
+
ratingValue )) { + echo $model->ratingValue; + } else { + echo 'Нет'; + } ?>
-
comments)?>
+
comments) ?>
specializations, 'specialization_name')) ?>
diff --git a/frontend/views/search/_vacancy_list_view.php b/frontend/views/search/_vacancy_list_view.php index 855e959..aa78a90 100644 --- a/frontend/views/search/_vacancy_list_view.php +++ b/frontend/views/search/_vacancy_list_view.php @@ -30,9 +30,9 @@
description, 200, '...') ?> ', [ - 'vacancy-view', + 'company/vacancy-view', 'company_id' => $model->user_id, - 'vacancy_id' => $model->vacancy_id, + 'link' => $model->link, ], [ 'class' => 'performer-vacant-reclam-bl-content-read' ]) ?>
\ No newline at end of file -- libgit2 0.21.4