Completed
Push — master ( fb7a26...d5e2d7 )
by Agiel Kurniawan
04:29
created
frontend/views/layouts/main.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,8 +65,11 @@
 block discarded – undo
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>
Please login to merge, or discard this patch.
frontend/views/post-comment/_form.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
themes/writesdown/media/view-image.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -50,10 +50,10 @@
 block discarded – undo
50 50
                 </span>
51 51
                 <span class="comments-link">
52 52
                      <a title="<?= Yii::t(
53
-                         'writesdown',
54
-                         'Comment on {mediaTitle}',
55
-                         ['mediaTitle' => $media->title]
56
-                     ) ?>" href="<?= $media->url ?>#respond"><?= Yii::t('writesdown', 'Leave a comment') ?></a>
53
+                            'writesdown',
54
+                            'Comment on {mediaTitle}',
55
+                            ['mediaTitle' => $media->title]
56
+                        ) ?>" href="<?= $media->url ?>#respond"><?= Yii::t('writesdown', 'Leave a comment') ?></a>
57 57
                 </span>
58 58
             </div>
59 59
         </header>
Please login to merge, or discard this patch.
themes/writesdown/media/view.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -50,9 +50,9 @@
 block discarded – undo
50 50
                 </span>
51 51
                 <span class="comments-link">
52 52
                      <a title="<?= Yii::t(
53
-                         'writesdown', 'Comment on {mediaTitle}',
54
-                         ['mediaTitle' => $media->title]
55
-                     ) ?>" href="<?= $media->url ?>#respond"><?= Yii::t('writesdown', 'Leave a comment') ?></a>
53
+                            'writesdown', 'Comment on {mediaTitle}',
54
+                            ['mediaTitle' => $media->title]
55
+                        ) ?>" href="<?= $media->url ?>#respond"><?= Yii::t('writesdown', 'Leave a comment') ?></a>
56 56
                 </span>
57 57
             </div>
58 58
         </header>
Please login to merge, or discard this patch.
frontend/views/media-comment/_form.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
backend/controllers/TaxonomyController.php 1 patch
Indentation   -2 removed lines patch added patch discarded remove patch
@@ -173,7 +173,6 @@  discard block
 block discarded – undo
173 173
 
174 174
     /**
175 175
      * Updates an existing Term on 'view taxonomy' page.
176
-
177 176
      *
178 177
 *@param $id
179 178
      * @param $term
@@ -205,7 +204,6 @@  discard block
 block discarded – undo
205 204
     /**
206 205
      * Delete an existing Term of a taxonomy on 'view taxonomy' page.
207 206
      * If deletion is successful, the browser will be redirected to the 'view taxonomy' page.
208
-
209 207
      *
210 208
 *@param integer $id
211 209
      * @param integer $term
Please login to merge, or discard this patch.