Completed
Branch master (dd64f4)
by Alexey
04:20
created
system/modules/Ui/widgets/Pages/pages.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
     }
6 6
 
7 7
     for ($i = 1; $i <= $pagesInstance->params['pages']; $i++) {
8
-        if (( $i >= $pagesInstance->params['page'] - 3 && $i <= $pagesInstance->params['page'] + 3) || $i == 1 || $i == $pagesInstance->params['pages']) {
8
+        if (($i >= $pagesInstance->params['page'] - 3 && $i <= $pagesInstance->params['page'] + 3) || $i == 1 || $i == $pagesInstance->params['pages']) {
9 9
             echo '<li ';
10 10
             if ($pagesInstance->params['page'] == $i)
11 11
                 echo 'class = "active"';
Please login to merge, or discard this patch.
Braces   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -7,13 +7,13 @@
 block discarded – undo
7 7
     for ($i = 1; $i <= $pagesInstance->params['pages']; $i++) {
8 8
         if (( $i >= $pagesInstance->params['page'] - 3 && $i <= $pagesInstance->params['page'] + 3) || $i == 1 || $i == $pagesInstance->params['pages']) {
9 9
             echo '<li ';
10
-            if ($pagesInstance->params['page'] == $i)
11
-                echo 'class = "active"';
10
+            if ($pagesInstance->params['page'] == $i) {
11
+                            echo 'class = "active"';
12
+            }
12 13
             echo ">";
13 14
             $getArr['page'] = $i;
14 15
             echo "<a href = '{$pagesInstance->options['url']}?" . http_build_query($getArr) . "'>{$i}</a></li>";
15
-        }
16
-        elseif ($i == $pagesInstance->params['page'] - 7 && $i > 1) {
16
+        } elseif ($i == $pagesInstance->params['page'] - 7 && $i > 1) {
17 17
             $getArr['page'] = round($pagesInstance->params['page'] / 2);
18 18
             echo "<li><a href = '{$pagesInstance->options['url']}?" . http_build_query($getArr) . "'>...</a></li>";
19 19
         } elseif ($i == $pagesInstance->params['page'] + 7 && $i < $pagesInstance->params['pages']) {
Please login to merge, or discard this patch.
system/modules/Users/install_script.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-return function($step = NULL, $params = []) {
3
+return function($step = null, $params = []) {
4 4
     $options = ['max_height' => 1200, 'max_width' => 1200];
5 5
     $types = [
6 6
         [
Please login to merge, or discard this patch.