@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -return function($step = NULL, $params = []) { |
|
3 | +return function ($step = NULL, $params = []) { |
|
4 | 4 | |
5 | 5 | $groups = [ |
6 | 6 | [ |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <h3>История счета</h3> |
2 | 2 | <?php |
3 | -$currency_id = !empty($_GET['currency_id']) ? (int)$_GET['currency_id'] : 0; |
|
3 | +$currency_id = !empty($_GET['currency_id']) ? (int) $_GET['currency_id'] : 0; |
|
4 | 4 | $wallets = App::$cur->money->getUserWallets(); |
5 | 5 | if ($currency_id && empty($wallets[$currency_id])) { |
6 | 6 | Msg::add('У вас нет такого кошелька'); |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | return [ |
3 | - 'widget' => function() { |
|
3 | + 'widget' => function () { |
|
4 | 4 | ?> |
5 | 5 | <div class="panel panel-default"> |
6 | 6 | <div class="panel-heading">Отзывы</div> |
@@ -1,6 +1,6 @@ |
||
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 | [ |
@@ -10,7 +10,7 @@ |
||
10 | 10 | */ |
11 | 11 | return [ |
12 | 12 | 'classes' => ['Ui\DataManager'], |
13 | - 'get' => function($element) { |
|
13 | + 'get' => function ($element) { |
|
14 | 14 | $access = null; |
15 | 15 | $path = [ |
16 | 16 | 'models', |
@@ -5,6 +5,6 @@ |
||
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 | ]; |
@@ -13,8 +13,8 @@ |
||
13 | 13 | <div class="row"> |
14 | 14 | <div class="col-xs-6 ecommerce-showoptions-sort"> |
15 | 15 | <span class="caption">Сортировка:</span> |
16 | - <a href="<?= $path; ?>?<?= http_build_query(array_merge($query, ['sort' => ['price' => 'asc']])); ?>">По цене<?=sortDirectionIcon('price');?></a> |
|
17 | - <a href="<?= $path; ?>?<?= http_build_query(array_merge($query, ['sort' => ['sales' => 'desc']])); ?>">По популярности<?=sortDirectionIcon('sales');?></a> |
|
16 | + <a href="<?= $path; ?>?<?= http_build_query(array_merge($query, ['sort' => ['price' => 'asc']])); ?>">По цене<?=sortDirectionIcon('price'); ?></a> |
|
17 | + <a href="<?= $path; ?>?<?= http_build_query(array_merge($query, ['sort' => ['sales' => 'desc']])); ?>">По популярности<?=sortDirectionIcon('sales'); ?></a> |
|
18 | 18 | </div> |
19 | 19 | <div class="col-xs-6 text-right ecommerce-showoptions-view"> |
20 | 20 | <span class="caption">Вид:</span> |