@@ -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> |
@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link http://www.writesdown.com/ |
|
4 | - * @author Agiel K. Saputra <[email protected]> |
|
5 | - * @copyright Copyright (c) 2015 WritesDown |
|
6 | - * @license http://www.writesdown.com/license/ |
|
7 | - */ |
|
3 | + * @link http://www.writesdown.com/ |
|
4 | + * @author Agiel K. Saputra <[email protected]> |
|
5 | + * @copyright Copyright (c) 2015 WritesDown |
|
6 | + * @license http://www.writesdown.com/license/ |
|
7 | + */ |
|
8 | 8 | |
9 | 9 | use yii\helpers\Html; |
10 | 10 | use yii\helpers\Url; |
@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link http://www.writesdown.com/ |
|
4 | - * @author Agiel K. Saputra <[email protected]> |
|
5 | - * @copyright Copyright (c) 2015 WritesDown |
|
6 | - * @license http://www.writesdown.com/license/ |
|
7 | - */ |
|
3 | + * @link http://www.writesdown.com/ |
|
4 | + * @author Agiel K. Saputra <[email protected]> |
|
5 | + * @copyright Copyright (c) 2015 WritesDown |
|
6 | + * @license http://www.writesdown.com/license/ |
|
7 | + */ |
|
8 | 8 | |
9 | 9 | use common\models\Taxonomy; |
10 | 10 | use yii\bootstrap\Nav; |
@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link http://www.writesdown.com/ |
|
4 | - * @author Agiel K. Saputra <[email protected]> |
|
5 | - * @copyright Copyright (c) 2015 WritesDown |
|
6 | - * @license http://www.writesdown.com/license/ |
|
7 | - */ |
|
3 | + * @link http://www.writesdown.com/ |
|
4 | + * @author Agiel K. Saputra <[email protected]> |
|
5 | + * @copyright Copyright (c) 2015 WritesDown |
|
6 | + * @license http://www.writesdown.com/license/ |
|
7 | + */ |
|
8 | 8 | |
9 | 9 | use common\models\Option; |
10 | 10 | use yii\helpers\Html; |
@@ -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 |
@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link http://www.writesdown.com/ |
|
4 | - * @author Agiel K. Saputra <[email protected]> |
|
5 | - * @copyright Copyright (c) 2015 WritesDown |
|
6 | - * @license http://www.writesdown.com/license/ |
|
7 | - */ |
|
3 | + * @link http://www.writesdown.com/ |
|
4 | + * @author Agiel K. Saputra <[email protected]> |
|
5 | + * @copyright Copyright (c) 2015 WritesDown |
|
6 | + * @license http://www.writesdown.com/license/ |
|
7 | + */ |
|
8 | 8 | |
9 | 9 | use common\models\Option; |
10 | 10 | use frontend\widgets\comment\MediaComment; |
@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link http://www.writesdown.com/ |
|
4 | - * @author Agiel K. Saputra <[email protected]> |
|
5 | - * @copyright Copyright (c) 2015 WritesDown |
|
6 | - * @license http://www.writesdown.com/license/ |
|
7 | - */ |
|
3 | + * @link http://www.writesdown.com/ |
|
4 | + * @author Agiel K. Saputra <[email protected]> |
|
5 | + * @copyright Copyright (c) 2015 WritesDown |
|
6 | + * @license http://www.writesdown.com/license/ |
|
7 | + */ |
|
8 | 8 | |
9 | 9 | use common\models\Option; |
10 | 10 | use yii\helpers\Html; |
@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link http://www.writesdown.com/ |
|
4 | - * @author Agiel K. Saputra <[email protected]> |
|
5 | - * @copyright Copyright (c) 2015 WritesDown |
|
6 | - * @license http://www.writesdown.com/license/ |
|
7 | - */ |
|
3 | + * @link http://www.writesdown.com/ |
|
4 | + * @author Agiel K. Saputra <[email protected]> |
|
5 | + * @copyright Copyright (c) 2015 WritesDown |
|
6 | + * @license http://www.writesdown.com/license/ |
|
7 | + */ |
|
8 | 8 | |
9 | 9 | use common\models\Option; |
10 | 10 | use frontend\assets\CommentAsset; |
@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link http://www.writesdown.com/ |
|
4 | - * @author Agiel K. Saputra <[email protected]> |
|
5 | - * @copyright Copyright (c) 2015 WritesDown |
|
6 | - * @license http://www.writesdown.com/license/ |
|
7 | - */ |
|
3 | + * @link http://www.writesdown.com/ |
|
4 | + * @author Agiel K. Saputra <[email protected]> |
|
5 | + * @copyright Copyright (c) 2015 WritesDown |
|
6 | + * @license http://www.writesdown.com/license/ |
|
7 | + */ |
|
8 | 8 | |
9 | 9 | use common\models\Option; |
10 | 10 | use yii\helpers\Html; |
@@ -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 |
@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link http://www.writesdown.com/ |
|
4 | - * @author Agiel K. Saputra <[email protected]> |
|
5 | - * @copyright Copyright (c) 2015 WritesDown |
|
6 | - * @license http://www.writesdown.com/license/ |
|
7 | - */ |
|
3 | + * @link http://www.writesdown.com/ |
|
4 | + * @author Agiel K. Saputra <[email protected]> |
|
5 | + * @copyright Copyright (c) 2015 WritesDown |
|
6 | + * @license http://www.writesdown.com/license/ |
|
7 | + */ |
|
8 | 8 | |
9 | 9 | use common\models\Option; |
10 | 10 | use frontend\widgets\comment\PostComment; |