Passed
Push — master ( 148e3d...918fe4 )
by Alexey
05:18
created
system/modules/Materials/appControllers/content/category.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@
 block discarded – undo
12 12
                 <div class ="category-materials">
13 13
                     <div class ="row">
14 14
                       <?php
15
-                      $i = 0;
16
-                      foreach ($materials as $material) {
17
-                          ?>
15
+                        $i = 0;
16
+                        foreach ($materials as $material) {
17
+                            ?>
18 18
                             <div class = "col-sm-6 category-material">
19 19
                                 <a class="category-material-name" href ="<?= $material->getHref(); ?>"><h3><?= $material->name; ?></h3></a>
20 20
                                 <div class="category-material-preview"><?= $material->preview; ?></div>
Please login to merge, or discard this patch.
system/modules/Materials/appControllers/content/materialWithCategorys.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
2 2
     <div class="row">
3 3
         <div class="col-md-3">
4 4
           <?php
5
-          $category = $material->category;
6
-          $this->widget('Materials\categoryTree', ['category' => $category]);
7
-          ?>
5
+            $category = $material->category;
6
+            $this->widget('Materials\categoryTree', ['category' => $category]);
7
+            ?>
8 8
         </div>
9 9
         <div class="col-md-9">
10 10
             <div class="content">
Please login to merge, or discard this patch.
system/program/admin/templates/default/config.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,6 +5,6 @@
 block discarded – undo
5 5
     'file' => 'index.html',
6 6
     'css' => ['style.css'],
7 7
     'libs' => [
8
-       'JqueryUi',  'PaperTheme','FancyBox'
8
+        'JqueryUi',  'PaperTheme','FancyBox'
9 9
     ]
10 10
 ];
Please login to merge, or discard this patch.
system/modules/Ecommerce/widgets/items/showOptions.php 1 patch
Indentation   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -20,25 +20,25 @@
 block discarded – undo
20 20
             <span class="caption">Вид:</span>
21 21
             <span class="group">
22 22
               <?php
23
-              for ($i = 2; $i < 5; $i++) {
24
-                  $curLimit = $limit * $i;
25
-                  $curQuery = http_build_query(array_merge($query, ['limit' => $curLimit]));
26
-                  echo " <a href='{$path}?{$curQuery}'>";
27
-                  echo!empty($_GET['limit']) && $_GET['limit'] == $curLimit ? '<b>' : '';
28
-                  echo $curLimit;
29
-                  echo!empty($_GET['limit']) && $_GET['limit'] == $curLimit ? '</b>' : '';
30
-                  echo "</a> ";
31
-              }
32
-              if (!empty(App::$cur->ecommerce->config['list_all'])) {
33
-                  $curLimit = 'all';
34
-                  $curQuery = http_build_query(array_merge($query, ['limit' => $curLimit]));
35
-                  echo " <a href='{$path}?{$curQuery}'>";
36
-                  echo !empty($_GET['limit']) && $_GET['limit'] == $curLimit ? '<b>' : '';
37
-                  echo 'Все';
38
-                  echo !empty($_GET['limit']) && $_GET['limit'] == $curLimit ? '</b>' : '';
39
-                  echo "</a> ";
40
-              }
41
-              ?>
23
+                for ($i = 2; $i < 5; $i++) {
24
+                    $curLimit = $limit * $i;
25
+                    $curQuery = http_build_query(array_merge($query, ['limit' => $curLimit]));
26
+                    echo " <a href='{$path}?{$curQuery}'>";
27
+                    echo!empty($_GET['limit']) && $_GET['limit'] == $curLimit ? '<b>' : '';
28
+                    echo $curLimit;
29
+                    echo!empty($_GET['limit']) && $_GET['limit'] == $curLimit ? '</b>' : '';
30
+                    echo "</a> ";
31
+                }
32
+                if (!empty(App::$cur->ecommerce->config['list_all'])) {
33
+                    $curLimit = 'all';
34
+                    $curQuery = http_build_query(array_merge($query, ['limit' => $curLimit]));
35
+                    echo " <a href='{$path}?{$curQuery}'>";
36
+                    echo !empty($_GET['limit']) && $_GET['limit'] == $curLimit ? '<b>' : '';
37
+                    echo 'Все';
38
+                    echo !empty($_GET['limit']) && $_GET['limit'] == $curLimit ? '</b>' : '';
39
+                    echo "</a> ";
40
+                }
41
+                ?>
42 42
             </span>
43 43
             <span class="group">
44 44
                 <a href ='#' onclick="inji.onLoad(function () {
Please login to merge, or discard this patch.