@@ -8,7 +8,6 @@ |
||
| 8 | 8 | namespace common\models\search; |
| 9 | 9 | |
| 10 | 10 | use common\models\PostComment as PostCommentModel; |
| 11 | -use Yii; |
|
| 12 | 11 | use yii\base\Model; |
| 13 | 12 | use yii\data\ActiveDataProvider; |
| 14 | 13 | |
@@ -65,8 +65,11 @@ |
||
| 65 | 65 | |
| 66 | 66 | <?php if (Yii::$app->controller->route == 'site/index'): ?> |
| 67 | 67 | <h1 id="site-title" class="site-title"><?= Option::get('sitetitle'); ?></h1> |
| 68 | - <?php else: ?> |
|
| 69 | - <span id="site-title" class="h1 site-title"><?= Option::get('sitetitle'); ?></span> |
|
| 68 | + <?php else { |
|
| 69 | + : ?> |
|
| 70 | + <span id="site-title" class="h1 site-title"><?= Option::get('sitetitle'); |
|
| 71 | +} |
|
| 72 | +?></span> |
|
| 70 | 73 | <?php endif ?> |
| 71 | 74 | |
| 72 | 75 | <span id="site-tagline" class="h3 site-tagline"><?= Option::get('tagline'); ?></span> |
@@ -35,7 +35,8 @@ discard block |
||
| 35 | 35 | ]) ?> |
| 36 | 36 | |
| 37 | 37 | </p> |
| 38 | - <?php else: ?> |
|
| 38 | + <?php else { |
|
| 39 | + : ?> |
|
| 39 | 40 | <p> |
| 40 | 41 | <?= Html::a('<strong>' . Yii::t('writesdown', 'Cancel Reply') . '</strong>', '#', [ |
| 41 | 42 | 'id' => 'cancel-reply', |
@@ -44,7 +45,9 @@ discard block |
||
| 44 | 45 | ]) ?> |
| 45 | 46 | |
| 46 | 47 | </p> |
| 47 | - <?php endif; ?> |
|
| 48 | + <?php endif; |
|
| 49 | +} |
|
| 50 | +?> |
|
| 48 | 51 | |
| 49 | 52 | <?php $form = ActiveForm::begin() ?> |
| 50 | 53 | |
@@ -8,7 +8,6 @@ |
||
| 8 | 8 | namespace common\models\search; |
| 9 | 9 | |
| 10 | 10 | use common\models\PostComment as PostCommentModel; |
| 11 | -use Yii; |
|
| 12 | 11 | use yii\base\Model; |
| 13 | 12 | use yii\data\ActiveDataProvider; |
| 14 | 13 | |
@@ -8,7 +8,6 @@ |
||
| 8 | 8 | namespace common\models\search; |
| 9 | 9 | |
| 10 | 10 | use common\models\PostComment as PostCommentModel; |
| 11 | -use Yii; |
|
| 12 | 11 | use yii\base\Model; |
| 13 | 12 | use yii\data\ActiveDataProvider; |
| 14 | 13 | |
@@ -8,7 +8,6 @@ |
||
| 8 | 8 | namespace common\models\search; |
| 9 | 9 | |
| 10 | 10 | use common\models\PostComment as PostCommentModel; |
| 11 | -use Yii; |
|
| 12 | 11 | use yii\base\Model; |
| 13 | 12 | use yii\data\ActiveDataProvider; |
| 14 | 13 | |
@@ -8,7 +8,6 @@ |
||
| 8 | 8 | namespace common\models\search; |
| 9 | 9 | |
| 10 | 10 | use common\models\PostComment as PostCommentModel; |
| 11 | -use Yii; |
|
| 12 | 11 | use yii\base\Model; |
| 13 | 12 | use yii\data\ActiveDataProvider; |
| 14 | 13 | |
@@ -35,7 +35,8 @@ discard block |
||
| 35 | 35 | ]) ?> |
| 36 | 36 | |
| 37 | 37 | </p> |
| 38 | - <?php else: ?> |
|
| 38 | + <?php else { |
|
| 39 | + : ?> |
|
| 39 | 40 | <p> |
| 40 | 41 | <?= Html::a('<strong>' . Yii::t('writesdown', 'Cancel Reply') . '</strong>', '#', [ |
| 41 | 42 | 'id' => 'cancel-reply', |
@@ -44,7 +45,9 @@ discard block |
||
| 44 | 45 | ]) ?> |
| 45 | 46 | |
| 46 | 47 | </p> |
| 47 | - <?php endif; ?> |
|
| 48 | + <?php endif; |
|
| 49 | +} |
|
| 50 | +?> |
|
| 48 | 51 | |
| 49 | 52 | <?php $form = ActiveForm::begin() ?> |
| 50 | 53 | |