Passed
Push — master ( 31532a...c02153 )
by Mihail
05:05
created
Apps/View/Front/default/content/list.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -112,9 +112,12 @@
 block discarded – undo
112 112
                     <span class="spaced"><i class="glyphicon glyphicon-eye-open"></i> <?= $item['views'] ?></span>
113 113
                 <?php endif; ?>
114 114
             </div>
115
-        <?php else: ?>
115
+        <?php else {
116
+    : ?>
116 117
             <hr />
117
-        <?php endif; ?>
118
+        <?php endif;
119
+}
120
+?>
118 121
         <div class="row">
119 122
             <div class="col-md-12">
120 123
                 <?php if ($catConfigs['showPoster'] === true && $item['thumb'] !== null): ?>
Please login to merge, or discard this patch.
Apps/View/Front/default/content/read.php 1 patch
Braces   +10 added lines, -4 removed lines patch added patch discarded remove patch
@@ -79,9 +79,12 @@  discard block
 block discarded – undo
79 79
                 <?php if ((bool)$properties['author']): ?>
80 80
                     <?php if ($model->authorId && $model->authorId > 0): ?>
81 81
                         <span class="spaced"><i class="glyphicon glyphicon-user"></i> <?= Url::a(['profile/show', [$model->authorId]], $model->authorName, ['itemprop' => 'author']) ?></span>
82
-                    <?php else: ?>
82
+                    <?php else {
83
+    : ?>
83 84
                         <span class="spaced"><i class="glyphicon glyphicon-user"></i> <s><?= $model->authorName ?></s></span>
84
-                    <?php endif; ?>
85
+                    <?php endif;
86
+}
87
+?>
85 88
                 <?php endif; ?>
86 89
                 <?php if ((bool)$properties['views']): ?>
87 90
                     <span class="spaced"><i class="glyphicon glyphicon-eye-open"></i> <?= $model->views ?></span>
@@ -90,9 +93,12 @@  discard block
 block discarded – undo
90 93
                     <span class="float-right"><a href="<?= \App::$Alias->scriptUrl . '/admin/content/update/' . $model->id ?>" target="_blank"><i class="glyphicon glyphicon-pencil" style="color: #ff0000;"></i></a></span>
91 94
                 <?php endif; ?>
92 95
             </div>
93
-        <?php else: ?>
96
+        <?php else {
97
+    : ?>
94 98
             <hr />
95
-        <?php endif; ?>
99
+        <?php endif;
100
+}
101
+?>
96 102
         <?php if ($trash): ?>
97 103
             <p class="alert alert-danger"><i class="glyphicon glyphicon-trash"></i> <?= __('This content is placed in trash') ?></p>
98 104
         <?php endif; ?>
Please login to merge, or discard this patch.