From 2d76306a2bef1864e1fa564c7fa1578e51e255dd Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Thu, 28 Apr 2016 10:09:16 +0300 Subject: [PATCH] 28.04.16 --- frontend/views/performer/portfolio-view.php | 408 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1 file changed, 206 insertions(+), 202 deletions(-) diff --git a/frontend/views/performer/portfolio-view.php b/frontend/views/performer/portfolio-view.php index 1ab9f59..906034e 100644 --- a/frontend/views/performer/portfolio-view.php +++ b/frontend/views/performer/portfolio-view.php @@ -1,203 +1,207 @@ -params[ 'user' ] = $user; - - $this->title = 'My Yii Application'; - $rating = $portfolio->getRatingValue(); -?> -
-
- minImg($portfolio->cover, '720', '280')) ?> -
-
-
-
-
-
-
-
-
-
view_count ?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
comments)?>
-
-
-
-
- 'rating_portfolio', - 'value' => $portfolio->getRatingValue(), - 'pluginOptions' => ['displayOnly' => true, 'size' => 'xxs'] - ]); - ?> -
-
- -
-
name ?>
- gallery ) || !empty( $portfolio->gallery->photo )) { - $gallery = explode(',', $portfolio->gallery->photo); - array_pop($gallery); - ?> -
-
-
-
    - -
  • - -
-
-
- - -
-
-
- -
- -
-
-
- preview ?> -
- description )) { - ?> -
Развернуть
- -
- description )) { - ?> -
-
- description ?> -
-
Свернуть
-
- -
- $this, - 'model' => $portfolio::className(), - 'model_id' => $portfolio->portfolio_id, - 'comment_class' => \common\modules\comment\models\Comment::className(), - 'rating_class' => (\Yii::$app->user->id?\common\modules\comment\models\Rating::className():false), - 'class_options' => [ - 'scenario' => is_int(\Yii::$app->user->getId()) ? \common\modules\comment\models\Comment::SCENARIO_USER : \common\modules\comment\models\Comment::SCENARIO_GUEST, - 'user_id' => \Yii::$app->user->getId(), - 'guestComment' => true, - 'status' => \common\modules\comment\models\Comment::STATUS_ACTIVE, - ], - 'list_options' => [ - 'view' => 'list-comment', - ], - 'form_options' => [ - 'view' => 'form-comment', - 'tag' => 'div', - 'class' => 'artbox_comment_form', - ], - 'options' => [ - 'class' => 'new-portf-comments-wr style', - ], - ]); - ?> - - -
- - - + + \ No newline at end of file -- libgit2 0.21.4