@@ -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('У вас нет такого кошелька');
|
@@ -5,7 +5,7 @@ |
||
| 5 | 5 | 'widgets' => [ |
| 6 | 6 | 'Geography\cityData' => [ |
| 7 | 7 | 'name' => 'Вариатор данных по городам', |
| 8 | - 'params' => function() { |
|
| 8 | + 'params' => function () { |
|
| 9 | 9 | App::$cur->Ui; |
| 10 | 10 | \App::$cur->libs->loadLib('ckeditor'); |
| 11 | 11 | $dataSets = Geography\City\Data::getList(['order' => ['code']]); |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -return function($step = null, $params = []) { |
|
| 3 | +return function ($step = null, $params = []) { |
|
| 4 | 4 | |
| 5 | 5 | }; |
@@ -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 | |
| 5 | 5 | $groups = [ |
| 6 | 6 | [ |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | return [ |
| 3 | - 'accessCheck' => function() { |
|
| 3 | + 'accessCheck' => function () { |
|
| 4 | 4 | $dataManager = new \Ui\DataManager('Users\User'); |
| 5 | 5 | return $dataManager->checkAccess(); |
| 6 | 6 | }, |
| 7 | - 'widget' => function() { |
|
| 7 | + 'widget' => function () { |
|
| 8 | 8 | ?> |
| 9 | 9 | <div class="panel panel-default"> |
| 10 | 10 | <div class="panel-heading">Пользователи</div> |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | $root->setAttribute("xmlns", "http://www.sitemaps.org/schemas/sitemap/0.9"); |
| 38 | 38 | $root = $xml->appendChild($root); |
| 39 | 39 | |
| 40 | - $addToXml = function($xml, $parent, $nodeName, $text) { |
|
| 40 | + $addToXml = function ($xml, $parent, $nodeName, $text) { |
|
| 41 | 41 | $node = $parent->appendChild($xml->createElement($nodeName)); |
| 42 | 42 | $node->appendChild($xml->createTextNode($text)); |
| 43 | 43 | return $node; |
@@ -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,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | return [ |
| 3 | - 'accessCheck' => function() { |
|
| 3 | + 'accessCheck' => function () { |
|
| 4 | 4 | $dataManager = new \Ui\DataManager('Materials\Material'); |
| 5 | 5 | return $dataManager->checkAccess(); |
| 6 | 6 | }, |
| 7 | - 'widget' => function() { |
|
| 7 | + 'widget' => function () { |
|
| 8 | 8 | ?> |
| 9 | 9 | <div class="panel panel-default"> |
| 10 | 10 | <div class="panel-heading">Материалы</div> |