Commit 34190b33cdf211afe9551dd78125dd8d59f36647
1 parent
838f9ac5
test
Showing
12 changed files
with
15 additions
and
14 deletions
Show diff stats
common/config/main.php
| @@ -12,7 +12,7 @@ | @@ -12,7 +12,7 @@ | ||
| 12 | 'disabledCommands' => ['netmount'], //отключение ненужных команд https://github.com/Studio-42/elFinder/wiki/Client-configuration-options#commands | 12 | 'disabledCommands' => ['netmount'], //отключение ненужных команд https://github.com/Studio-42/elFinder/wiki/Client-configuration-options#commands |
| 13 | 'roots' => [ | 13 | 'roots' => [ |
| 14 | [ | 14 | [ |
| 15 | - 'class' => 'mihaildev\elfinder\UserPath', | 15 | + 'class' => 'mihaildev\elfinder\volume\UserPath', |
| 16 | 'path' => '../../storage/user_{id}', | 16 | 'path' => '../../storage/user_{id}', |
| 17 | 'name' => 'My Documents' | 17 | 'name' => 'My Documents' |
| 18 | ], | 18 | ], |
common/modules/comment/widgets/views/_project_comment_view.php
| @@ -100,7 +100,7 @@ | @@ -100,7 +100,7 @@ | ||
| 100 | ], | 100 | ], |
| 101 | ]); | 101 | ]); |
| 102 | ?> | 102 | ?> |
| 103 | - <?= Html::a(count($user->comments) . ' отзывов', $user->getLink('review'), [ 'class' => 'link-to-comm' ]) ?> | 103 | + <?= Html::a(count($user->comments) . ' мнений', $user->getLink('review'), [ 'class' => 'link-to-comm' ]) ?> |
| 104 | </div> | 104 | </div> |
| 105 | <div class="tender-offer-proj-txt"> | 105 | <div class="tender-offer-proj-txt"> |
| 106 | <?= $model->text ?> | 106 | <?= $model->text ?> |
frontend/views/accounts/_blog_form.php
| @@ -38,6 +38,7 @@ use yii\helpers\Html; | @@ -38,6 +38,7 @@ use yii\helpers\Html; | ||
| 38 | 'editorOptions' => ElFinder::ckeditorOptions('elfinder',[ | 38 | 'editorOptions' => ElFinder::ckeditorOptions('elfinder',[ |
| 39 | 'preset' => 'full', //разработанны стандартные настройки basic, standard, full данную возможность не обязательно использовать | 39 | 'preset' => 'full', //разработанны стандартные настройки basic, standard, full данную возможность не обязательно использовать |
| 40 | 'inline' => false, //по умолчанию false]), | 40 | 'inline' => false, //по умолчанию false]), |
| 41 | + 'allowedContent' => true, | ||
| 41 | 'filebrowserUploadUrl'=>Yii::$app->getUrlManager()->createUrl('file/uploader/images-upload') | 42 | 'filebrowserUploadUrl'=>Yii::$app->getUrlManager()->createUrl('file/uploader/images-upload') |
| 42 | ] | 43 | ] |
| 43 | ) | 44 | ) |
frontend/views/chat/message.php
| @@ -38,7 +38,7 @@ | @@ -38,7 +38,7 @@ | ||
| 38 | ]); | 38 | ]); |
| 39 | ?> | 39 | ?> |
| 40 | </div> | 40 | </div> |
| 41 | - <div class="cab-mes-read-cont-com"><?= count($chat->interlocutor->comments) ?> отзывов</div> | 41 | + <div class="cab-mes-read-cont-com"><?= count($chat->interlocutor->comments) ?> мнений</div> |
| 42 | <div class="cab-mes-read-cont-soc"> | 42 | <div class="cab-mes-read-cont-soc"> |
| 43 | <?= Html::a(Html::img('/images/ico-fb.png'), "{$chat->interlocutor->userInfo->social_fb}", [ 'target' => '_blank' ]) ?> | 43 | <?= Html::a(Html::img('/images/ico-fb.png'), "{$chat->interlocutor->userInfo->social_fb}", [ 'target' => '_blank' ]) ?> |
| 44 | 44 |
frontend/views/company/_company_common_review.php
frontend/views/company/_company_team_review.php
| @@ -29,11 +29,11 @@ | @@ -29,11 +29,11 @@ | ||
| 29 | <?php | 29 | <?php |
| 30 | if(!empty( $model->user_id )) { | 30 | if(!empty( $model->user_id )) { |
| 31 | ?> | 31 | ?> |
| 32 | - <div class="company-performer-comments-autor">Отзыв от: <?= $model->author ?></div> | 32 | + <div class="company-performer-comments-autor">Мнение от: <?= $model->author ?></div> |
| 33 | <?php | 33 | <?php |
| 34 | } else { | 34 | } else { |
| 35 | ?> | 35 | ?> |
| 36 | - <div class="company-performer-comments-autor">Отзыв от: <?= $model->user_name ?></div> | 36 | + <div class="company-performer-comments-autor">Мнение от: <?= $model->user_name ?></div> |
| 37 | <?php | 37 | <?php |
| 38 | } | 38 | } |
| 39 | ?> | 39 | ?> |
frontend/views/company/common.php
| @@ -258,7 +258,7 @@ | @@ -258,7 +258,7 @@ | ||
| 258 | <div class="section-box-19"> | 258 | <div class="section-box-19"> |
| 259 | <div class="box-wr"> | 259 | <div class="box-wr"> |
| 260 | <div class="box-all"> | 260 | <div class="box-all"> |
| 261 | - <div class="company-performer-comm-title style">Отзывов: <?= $commentProvider->totalCount ?></div> | 261 | + <div class="company-performer-comm-title style">Мнений: <?= $commentProvider->totalCount ?></div> |
| 262 | <?php | 262 | <?php |
| 263 | echo ListView::widget([ | 263 | echo ListView::widget([ |
| 264 | 'dataProvider' => $commentProvider, | 264 | 'dataProvider' => $commentProvider, |
| @@ -273,7 +273,7 @@ | @@ -273,7 +273,7 @@ | ||
| 273 | ]); | 273 | ]); |
| 274 | ?> | 274 | ?> |
| 275 | <div class="company-performer-comm-see-all-butt style"> | 275 | <div class="company-performer-comm-see-all-butt style"> |
| 276 | - <?= Html::a('Читать все отзывы', [ | 276 | + <?= Html::a('Читать все мнения', [ |
| 277 | 'company/review', | 277 | 'company/review', |
| 278 | 'company_id' => $company->id, | 278 | 'company_id' => $company->id, |
| 279 | 'type' => ( !empty( $this->params[ 'type' ] ) ) ? $this->params[ 'type' ] : NULL, | 279 | 'type' => ( !empty( $this->params[ 'type' ] ) ) ? $this->params[ 'type' ] : NULL, |
frontend/views/company/team.php
| @@ -37,7 +37,7 @@ | @@ -37,7 +37,7 @@ | ||
| 37 | <div class="section-box-19"> | 37 | <div class="section-box-19"> |
| 38 | <div class="box-wr"> | 38 | <div class="box-wr"> |
| 39 | <div class="box-all"> | 39 | <div class="box-all"> |
| 40 | - <div class="company-performer-comm-title style">Отзывов: <?= $comments->totalCount ?></div> | 40 | + <div class="company-performer-comm-title style">Мнений: <?= $comments->totalCount ?></div> |
| 41 | <?= ListView::widget([ | 41 | <?= ListView::widget([ |
| 42 | 'dataProvider' => $comments, | 42 | 'dataProvider' => $comments, |
| 43 | 'itemView' => '_company_team_review', | 43 | 'itemView' => '_company_team_review', |
| @@ -50,7 +50,7 @@ | @@ -50,7 +50,7 @@ | ||
| 50 | ], | 50 | ], |
| 51 | ]) ?> | 51 | ]) ?> |
| 52 | <div class="company-performer-comm-see-all-butt style"> | 52 | <div class="company-performer-comm-see-all-butt style"> |
| 53 | - <?= Html::a('Читать все отзывы', [ | 53 | + <?= Html::a('Читать все мнения', [ |
| 54 | 'company/review', | 54 | 'company/review', |
| 55 | 'company_id' => $company->id, | 55 | 'company_id' => $company->id, |
| 56 | ]) ?> | 56 | ]) ?> |
frontend/views/search/_customer_list_view.php
| @@ -60,7 +60,7 @@ | @@ -60,7 +60,7 @@ | ||
| 60 | ?> | 60 | ?> |
| 61 | 61 | ||
| 62 | <div class="search_perform-stars-txt"> | 62 | <div class="search_perform-stars-txt"> |
| 63 | - <?= count($model->comments) ?> отзывов | 63 | + <?= count($model->comments) ?> мнений |
| 64 | <?php | 64 | <?php |
| 65 | if(!empty( $model->userInfo->city )) { | 65 | if(!empty( $model->userInfo->city )) { |
| 66 | echo ", {$model->userInfo->city}"; | 66 | echo ", {$model->userInfo->city}"; |
frontend/views/search/_performer_list_view.php
| @@ -73,7 +73,7 @@ | @@ -73,7 +73,7 @@ | ||
| 73 | ]); | 73 | ]); |
| 74 | ?> | 74 | ?> |
| 75 | </div> | 75 | </div> |
| 76 | - <div class="search-worker-blocks-atr">30 отзывов, <?= $model->userInfo->city ?></div> | 76 | + <div class="search-worker-blocks-atr"><?=count($model->comments)?> мнений, <?= $model->userInfo->city ?></div> |
| 77 | </div> | 77 | </div> |
| 78 | <div class="search-worker-blocks-title-wr"> | 78 | <div class="search-worker-blocks-title-wr"> |
| 79 | <div class="search-worker-blocks-status"> | 79 | <div class="search-worker-blocks-status"> |
frontend/views/search/performer.php
| @@ -133,7 +133,7 @@ | @@ -133,7 +133,7 @@ | ||
| 133 | <?= $form->field($model, 'additional_parameters') | 133 | <?= $form->field($model, 'additional_parameters') |
| 134 | ->checkboxList([ | 134 | ->checkboxList([ |
| 135 | 'with_portfolio' => 'Только с портфолио', | 135 | 'with_portfolio' => 'Только с портфолио', |
| 136 | - 'with_comments' => 'Только с отзывами', | 136 | + 'with_comments' => 'Только с мнениями', |
| 137 | 'only_free' => 'Только свободные', | 137 | 'only_free' => 'Только свободные', |
| 138 | ], [ | 138 | ], [ |
| 139 | 'item' => function($index, $label, $name, $checked, $value) { | 139 | 'item' => function($index, $label, $name, $checked, $value) { |
frontend/views/tender/view.php
| @@ -74,7 +74,7 @@ | @@ -74,7 +74,7 @@ | ||
| 74 | ]); | 74 | ]); |
| 75 | ?> | 75 | ?> |
| 76 | </div> | 76 | </div> |
| 77 | - <div class="cab-mes-read-cont-com"><?= count($model->user->comments) ?> отзывов</div> | 77 | + <div class="cab-mes-read-cont-com"><?= count($model->user->comments) ?> мнений</div> |
| 78 | <div class="cab-mes-read-cont-soc"> | 78 | <div class="cab-mes-read-cont-soc"> |
| 79 | <?= Html::a(Html::img('/images/ico-fb.png'), "{$model->user->userInfo->social_fb}", [ 'target' => '_blank' ]) ?> | 79 | <?= Html::a(Html::img('/images/ico-fb.png'), "{$model->user->userInfo->social_fb}", [ 'target' => '_blank' ]) ?> |
| 80 | <?= Html::a(Html::img('/images/ico-tw.png'), "{$model->user->userInfo->social_t}", [ 'target' => '_blank' ]) ?> | 80 | <?= Html::a(Html::img('/images/ico-tw.png'), "{$model->user->userInfo->social_t}", [ 'target' => '_blank' ]) ?> |