Passed
Push — master ( ef8807...c1ca83 )
by Mihail
05:17
created
Apps/View/Install/default/_core/form/fieldset/captcha.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,11 +13,14 @@
 block discarded – undo
13 13
 
14 14
 <?php if (App::$Captcha->isFull()): ?>
15 15
     <div class="col-md-9 offset-md-3"><?= $html ?></div>
16
-<?php else: ?>
16
+<?php else {
17
+    : ?>
17 18
     <div class="row">
18 19
         <div class="col-md-9 offset-md-3">
19 20
             <img src="<?= $html ?>" alt="captcha" onClick="this.src='<?=$html?>&rnd='+Math.random()" />
20 21
         </div>
21 22
     </div>
22 23
     <?= $form->fieldset()->text($name, null, __('Enter data from security image to prove that you are human. If you can\'t read symbols - click on image to reload')) ?>
23
-<?php endif; ?>
24 24
\ No newline at end of file
25
+<?php endif;
26
+}
27
+?>
25 28
\ No newline at end of file
Please login to merge, or discard this patch.
Apps/View/Install/default/main/index.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -97,9 +97,12 @@
 block discarded – undo
97 97
             <a href="#license" class="btn btn-success btn-block disabled" id="install-link"><?= __('Start install') ?></a>
98 98
         </div>
99 99
     </div>
100
-<?php else: ?>
100
+<?php else {
101
+    : ?>
101 102
     <?= \Ffcms\Templex\Url\Url::a(['main/index'], __('Check again'), ['class' => 'btn btn-warning btn-block']) ?>
102
-<?php endif; ?>
103
+<?php endif;
104
+}
105
+?>
103 106
     <script>
104 107
         $(document).ready(function () {
105 108
             $('#agree-license').change(function () {
Please login to merge, or discard this patch.
Apps/View/Api/default/_core/form/fieldset/captcha.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,11 +13,14 @@
 block discarded – undo
13 13
 
14 14
 <?php if (App::$Captcha->isFull()): ?>
15 15
     <div class="col-md-9 offset-md-3"><?= $html ?></div>
16
-<?php else: ?>
16
+<?php else {
17
+    : ?>
17 18
     <div class="row">
18 19
         <div class="col-md-9 offset-md-3">
19 20
             <img src="<?= $html ?>" alt="captcha" onClick="this.src='<?=$html?>&rnd='+Math.random()" />
20 21
         </div>
21 22
     </div>
22 23
     <?= $form->fieldset()->text($name, null, __('Enter data from security image to prove that you are human. If you can\'t read symbols - click on image to reload')) ?>
23
-<?php endif; ?>
24 24
\ No newline at end of file
25
+<?php endif;
26
+}
27
+?>
25 28
\ No newline at end of file
Please login to merge, or discard this patch.
Apps/View/Front/default/widgets/comments/show.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,7 +77,8 @@  discard block
 block discarded – undo
77 77
             </div>
78 78
             <?php if (\App::$Captcha->isFull()): ?>
79 79
                 <div class="col-md-offset-3 col-md-9"><?= \App::$Captcha->get() ?></div>
80
-            <?php else: ?>
80
+            <?php else {
81
+    : ?>
81 82
                 <div class="form-group">
82 83
                     <label for="guest-captcha" class="col-sm-3 control-label"><?= __('Captcha') ?>:</label>
83 84
                     <div class="col-sm-9">
@@ -85,7 +86,9 @@  discard block
 block discarded – undo
85 86
                         <input id="guest-captcha" type="text" name="captcha" class="form-control" required>
86 87
                     </div>
87 88
                 </div>
88
-            <?php endif; ?>
89
+            <?php endif;
90
+}
91
+?>
89 92
         <?php endif; ?>
90 93
         <textarea class="form-control wysiwyg" name="message"></textarea>
91 94
     </form>
Please login to merge, or discard this patch.
Apps/View/Front/default/widgets/newcomment/default.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,9 +16,12 @@
 block discarded – undo
16 16
             <i class="fa fa-user"></i>
17 17
             <?php if ((int)$comment['user']['id'] > 0): ?>
18 18
                 <?= Url::a(['profile/show', [$comment['user']['id']]], $comment['user']['name'], ['style' => 'color: #595959']) ?>
19
-            <?php else: ?>
19
+            <?php else {
20
+    : ?>
20 21
                 <?= $comment['user']['name'] ?>
21
-            <?php endif; ?>
22
+            <?php endif;
23
+}
24
+?>
22 25
         </div>
23 26
         <div class="col-md-6 pull-right">
24 27
             <small class="text-secondary pull-right">
Please login to merge, or discard this patch.