Completed
Push — master ( 308a3c...ebb499 )
by Alexey
08:08
created
system/modules/Sliders/widgets/slider.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -14,9 +14,9 @@  discard block
 block discarded – undo
14 14
     <!-- Indicators -->
15 15
     <ol class="carousel-indicators">
16 16
       <?php
17
-      $i = 0;
18
-      for ($i = 0; $i < count($slides); $i++) {
19
-          ?>
17
+        $i = 0;
18
+        for ($i = 0; $i < count($slides); $i++) {
19
+            ?>
20 20
             <li data-target="#sliderWidget-<?= $slider->id; ?>" data-slide-to="<?= $i; ?>" <?= !$i ? 'class="active"' : ''; ?>></li>
21 21
             <?php
22 22
         }
@@ -27,15 +27,15 @@  discard block
 block discarded – undo
27 27
     <!-- Wrapper for slides -->
28 28
     <div class="carousel-inner" role="listbox">
29 29
       <?php
30
-      $i = 0;
31
-      foreach ($slides as $item) {
32
-          ?>
30
+        $i = 0;
31
+        foreach ($slides as $item) {
32
+            ?>
33 33
             <div class="item <?= !$i ? 'active' : ''; ?>">
34 34
               <?php
35
-              if ($item->link) {
36
-                  echo "<a href = '{$item->link}' style = 'display:inline-block;'>";
37
-              }
38
-              ?>
35
+                if ($item->link) {
36
+                    echo "<a href = '{$item->link}' style = 'display:inline-block;'>";
37
+                }
38
+                ?>
39 39
                 <img src="<?= Statics::file($item->image->path); ?>" alt="<?= $item->name; ?>">
40 40
                 <div class="carousel-caption">
41 41
                   <?= $item->description; ?>
Please login to merge, or discard this patch.
system/modules/Money/widgets/cabinet/wallets.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <h3>Мои кошельки</h3>
2 2
 <div class="row">
3 3
   <?php
4
-  $blocked = App::$cur->money->getUserBlocks();
5
-  $wallets = App::$cur->money->getUserWallets();
6
-  $rates = Money\Currency\ExchangeRate::getList();
7
-  foreach ($wallets as $wallet) {
8
-      ?>
4
+    $blocked = App::$cur->money->getUserBlocks();
5
+    $wallets = App::$cur->money->getUserWallets();
6
+    $rates = Money\Currency\ExchangeRate::getList();
7
+    foreach ($wallets as $wallet) {
8
+        ?>
9 9
         <div class="col-sm-4">
10 10
             <h4><?= $wallet->currency->name(); ?></h4>
11 11
             <b><?= $wallet->showAmount(); ?></b> <?= $wallet->currency->acronym(); ?><br />
Please login to merge, or discard this patch.
system/modules/Money/widgets/cabinet/rewards.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -12,8 +12,8 @@  discard block
 block discarded – undo
12 12
             <h3>Уровни начислений</h3>
13 13
             <ul>
14 14
               <?php
15
-              foreach ($reward->levels(['order' => ['level', 'asc']]) as $level) {
16
-                  ?>
15
+                foreach ($reward->levels(['order' => ['level', 'asc']]) as $level) {
16
+                    ?>
17 17
 
18 18
                     <li><?= !$level->level ? 'Личный' : $level->level; ?>. <?= $types[$level->type]['viewer']($level); ?></li>
19 19
                     <?php
@@ -34,14 +34,14 @@  discard block
 block discarded – undo
34 34
                 <h4 class="<?= $complete ? 'text-success' : 'text-danger'; ?>"><?= $condition->name(); ?></h4>
35 35
                 <ul>
36 36
                   <?php
37
-                  foreach ($condition->items as $item) {
38
-                      $itemComplete = $item->checkComplete();
39
-                      switch ($item->type) {
40
-                          case 'event':
37
+                    foreach ($condition->items as $item) {
38
+                        $itemComplete = $item->checkComplete();
39
+                        switch ($item->type) {
40
+                            case 'event':
41 41
                               $name = \Events\Event::get($item->value, 'event')->name();
42
-                              break;
43
-                      }
44
-                      ?>
42
+                                break;
43
+                        }
44
+                        ?>
45 45
                         <li> 
46 46
                             <b class="<?= $itemComplete ? 'text-success' : 'text-danger'; ?>"><?= $name; ?> <?= $item->recivedCount(); ?></b>/<?= $item->count; ?> <br />
47 47
                         </li>
Please login to merge, or discard this patch.
system/modules/Money/appControllers/content/pay.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -23,10 +23,10 @@
 block discarded – undo
23 23
                     </td>
24 24
                     <td>
25 25
                       <?php
26
-                      foreach ($allowCurrencies as $allowCurrency) {
27
-                          $className = 'Money\MerchantHelper\\' . $merchant->object_name;
28
-                          $sum = $className::getFinalSum($pay, $allowCurrency);
29
-                          ?>
26
+                        foreach ($allowCurrencies as $allowCurrency) {
27
+                            $className = 'Money\MerchantHelper\\' . $merchant->object_name;
28
+                            $sum = $className::getFinalSum($pay, $allowCurrency);
29
+                            ?>
30 30
                             <b><?= $allowCurrency['currency']->name(); ?></b>
31 31
                             <a class="btn btn-primary" href ="/money/merchants/go/<?= $pay->id; ?>/<?= $merchant->id; ?>/<?= $allowCurrency['currency']->id; ?>">Оплатить <?= $sum; ?> <?= $allowCurrency['currency']->acronym(); ?></a>
32 32
                             <?php
Please login to merge, or discard this patch.
system/widgets/msgList.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -4,18 +4,18 @@
 block discarded – undo
4 4
     <div class="alert alert-<?= $msg['status']; ?> alert-dismissable">
5 5
         <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
6 6
         <strong><?php
7
-          switch ($msg['status']) {
8
-              case 'success':
7
+            switch ($msg['status']) {
8
+                case 'success':
9 9
                   echo 'Успех!';
10
-                  break;
11
-              case 'danger':
10
+                    break;
11
+                case 'danger':
12 12
               case 'warning':
13 13
                   echo 'Внимание!';
14
-                  break;
15
-              default:
14
+                    break;
15
+                default:
16 16
                   echo 'Информация.';
17
-          }
18
-          ?></strong> <?= $msg['text']; ?>
17
+            }
18
+            ?></strong> <?= $msg['text']; ?>
19 19
     </div>
20 20
     <?php
21 21
 }
Please login to merge, or discard this patch.
system/program/setup/modules/Main/appSetupControllers/content/index.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <div class="row">
2 2
     <div class="col-lg-12">
3 3
       <?php
4
-      $dataManager = new Ui\DataManager('Apps\App', 'setup');
5
-      $dataManager->draw();
6
-      ?>
4
+        $dataManager = new Ui\DataManager('Apps\App', 'setup');
5
+        $dataManager->draw();
6
+        ?>
7 7
     </div>
8 8
     <div class="col-lg-12">
9 9
         <?php
Please login to merge, or discard this patch.