Passed
Push — master ( eadb07...f9d468 )
by Mihail
04:31
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.