@@ -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\ArrayHelper; |
10 | 10 |
@@ -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 dosamigos\datetimepicker\DateTimePicker; |
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 dosamigos\selectize\SelectizeAsset; |
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 yii\helpers\ArrayHelper; |
10 | 10 | use yii\helpers\Html; |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | ] |
43 | 43 | ) ?> |
44 | 44 | |
45 | - <?php else: ?> |
|
45 | + <?php else : ?> |
|
46 | 46 | <?= Html::dropDownList( |
47 | 47 | 'termIds', |
48 | 48 | ArrayHelper::getColumn( |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | |
92 | 92 | </div> |
93 | 93 | </div> |
94 | - <?php else: ?> |
|
94 | + <?php else : ?> |
|
95 | 95 | <?= Yii::t( |
96 | 96 | 'writesdown', 'Choose the {taxonomyName} above', |
97 | 97 | ['taxonomyName' => $taxonomy->singular_name] |
@@ -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 backend\widgets\MediaModal; |
10 | 10 | use codezeen\yii2\tinymce\TinyMce; |
@@ -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\widgets\ActiveForm; |
@@ -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\widgets\ActiveForm; |
10 | 10 |
@@ -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\bootstrap\ButtonDropdown; |
10 | 10 | use yii\grid\GridView; |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | 'columns' => [ |
74 | 74 | [ |
75 | 75 | 'class' => 'yii\grid\CheckboxColumn', |
76 | - 'checkboxOptions' => function ($model) { |
|
76 | + 'checkboxOptions' => function($model) { |
|
77 | 77 | /* @var $model \common\models\search\Post */ |
78 | 78 | if ($model->getPermission()) { |
79 | 79 | return ['value' => $model->id]; |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | ], |
85 | 85 | [ |
86 | 86 | 'attribute' => 'username', |
87 | - 'value' => function ($model) { |
|
87 | + 'value' => function($model) { |
|
88 | 88 | /* @var $model \common\models\search\Post */ |
89 | 89 | return $model->postAuthor->username; |
90 | 90 | }, |
@@ -98,13 +98,13 @@ discard block |
||
98 | 98 | [ |
99 | 99 | 'class' => 'yii\grid\ActionColumn', |
100 | 100 | 'buttons' => [ |
101 | - 'view' => function ($url, $model) { |
|
101 | + 'view' => function($url, $model) { |
|
102 | 102 | return Html::a('<span class="glyphicon glyphicon-eye-open"></span>', $model->url, [ |
103 | 103 | 'title' => Yii::t('yii', 'View'), |
104 | 104 | 'data-pjax' => '0', |
105 | 105 | ]); |
106 | 106 | }, |
107 | - 'update' => function ($url, $model) { |
|
107 | + 'update' => function($url, $model) { |
|
108 | 108 | /* @var $model \common\models\search\Post */ |
109 | 109 | if ($model->getPermission()) { |
110 | 110 | return Html::a('<span class="glyphicon glyphicon-pencil"></span>', $url, [ |
@@ -115,7 +115,7 @@ discard block |
||
115 | 115 | |
116 | 116 | return ''; |
117 | 117 | }, |
118 | - 'delete' => function ($url, $model) { |
|
118 | + 'delete' => function($url, $model) { |
|
119 | 119 | /* @var $model \common\models\search\Post */ |
120 | 120 | if ($model->getPermission()) { |
121 | 121 | return Html::a('<span class="glyphicon glyphicon-trash"></span>', $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 yii\widgets\ActiveForm; |
10 | 10 |