Passed
Branch master (be24eb)
by Agiel Kurniawan
11:45
created
backend/views/media-comment/_form-reply.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
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 codezeen\yii2\tinymce\TinyMce;
10 10
 use yii\helpers\Html;
Please login to merge, or discard this patch.
backend/views/media-comment/_form.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
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 codezeen\yii2\tinymce\TinyMce;
10 10
 use yii\helpers\Html;
Please login to merge, or discard this patch.
backend/views/media-comment/_search.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
backend/views/media-comment/index.php 2 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
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\grid\GridView;
10 10
 use yii\helpers\ArrayHelper;
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
             [
68 68
                 'attribute' => 'content',
69 69
                 'format' => 'html',
70
-                'value' => function ($model) {
70
+                'value' => function($model) {
71 71
                     return substr(strip_tags($model->content), 0, 150) . '...';
72 72
                 },
73 73
             ],
@@ -80,14 +80,14 @@  discard block
 block discarded – undo
80 80
                 'class' => 'yii\grid\ActionColumn',
81 81
                 'template' => Yii::$app->user->can('editor') ? '{view} {update} {delete} {reply}' : '{view}',
82 82
                 'buttons' => [
83
-                    'view' => function ($url, $model) {
83
+                    'view' => function($url, $model) {
84 84
                         return Html::a('<span class="glyphicon glyphicon-eye-open"></span>',
85 85
                             $model->commentMedia->url . '#comment' . $model->id, [
86 86
                                 'title' => Yii::t('yii', 'View'),
87 87
                                 'data-pjax' => '0',
88 88
                             ]);
89 89
                     },
90
-                    'reply' => function ($url, $model) {
90
+                    'reply' => function($url, $model) {
91 91
                         return Html::a('<span class="glyphicon glyphicon-share-alt"></span>', [
92 92
                             'reply',
93 93
                             'id' => $model->id,
Please login to merge, or discard this patch.
backend/views/media-comment/reply.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
backend/views/media-comment/update.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
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\bootstrap\Modal;
Please login to merge, or discard this patch.
backend/views/media/_form.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
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 codezeen\yii2\tinymce\TinyMce;
10 10
 use dosamigos\selectize\SelectizeDropDownList;
Please login to merge, or discard this patch.
backend/views/media/_search.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
backend/views/media/_template-create.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
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
 <script id="template-upload" type="text/x-tmpl">
10 10
 {% if (o.files) { %}
Please login to merge, or discard this patch.