@@ -18,7 +18,7 @@ |
||
18 | 18 | } |
19 | 19 | ?> |
20 | 20 | <div class="form-group row"> |
21 | - <?= (new \Ffcms\Templex\Helper\Html\Dom())->label(function () use ($label) { |
|
21 | + <?= (new \Ffcms\Templex\Helper\Html\Dom())->label(function() use ($label) { |
|
22 | 22 | return $label; |
23 | 23 | }, $labelProperties) ?> |
24 | 24 | <div class="col-md-9"> |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | } |
28 | 28 | ?> |
29 | 29 | <div class="form-group row"> |
30 | - <?= (new \Ffcms\Templex\Helper\Html\Dom())->label(function () use ($label) { |
|
30 | + <?= (new \Ffcms\Templex\Helper\Html\Dom())->label(function() use ($label) { |
|
31 | 31 | return $label; |
32 | 32 | }, $labelProperties) ?> |
33 | 33 | <div class="col-md-9"> |
@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | if (!is_string($input) || strlen($input) < 1) { |
37 | 37 | continue; |
38 | 38 | } |
39 | - echo (new Dom())->div(function () use ($input) { |
|
39 | + echo (new Dom())->div(function() use ($input) { |
|
40 | 40 | return $input; |
41 | 41 | }, ['class' => 'form-check form-check-inline']); |
42 | 42 | } |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | } |
28 | 28 | ?> |
29 | 29 | <div class="form-group row"> |
30 | - <?= (new \Ffcms\Templex\Helper\Html\Dom())->label(function () use ($label) { |
|
30 | + <?= (new \Ffcms\Templex\Helper\Html\Dom())->label(function() use ($label) { |
|
31 | 31 | return $label; |
32 | 32 | }, $labelProperties) ?> |
33 | 33 | <div class="col-md-9"> |
@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | if (!is_string($input) || strlen($input) < 1) { |
37 | 37 | continue; |
38 | 38 | } |
39 | - echo (new Dom())->div(function () use ($input) { |
|
39 | + echo (new Dom())->div(function() use ($input) { |
|
40 | 40 | return $input; |
41 | 41 | }, ['class' => 'form-check form-check-inline']); |
42 | 42 | } |
@@ -18,7 +18,7 @@ |
||
18 | 18 | } |
19 | 19 | ?> |
20 | 20 | <div class="form-group row"> |
21 | - <?= (new \Ffcms\Templex\Helper\Html\Dom())->label(function () use ($label) { |
|
21 | + <?= (new \Ffcms\Templex\Helper\Html\Dom())->label(function() use ($label) { |
|
22 | 22 | return $label; |
23 | 23 | }, $labelProperties) ?> |
24 | 24 | <div class="col-md-9"> |
@@ -13,7 +13,7 @@ |
||
13 | 13 | <div class="form-group row"> |
14 | 14 | <div class="col-md-9 offset-md-3"> |
15 | 15 | <?= $field->html($properties) ?> |
16 | - <?= (new \Ffcms\Templex\Helper\Html\Dom())->label(function () use ($label) { |
|
16 | + <?= (new \Ffcms\Templex\Helper\Html\Dom())->label(function() use ($label) { |
|
17 | 17 | return $label; |
18 | 18 | }, $labelProperties) ?> |
19 | 19 | <?php if ($helper): ?> |
@@ -33,8 +33,8 @@ |
||
33 | 33 | foreach (\App::$Properties->get('languages') as $lang) { |
34 | 34 | $menu->menu([ |
35 | 35 | 'text' => Str::upperCase($lang), |
36 | - 'tab' => function () use ($form, $lang) { |
|
37 | - return $form->fieldset()->text('name.' . $lang, null, __('Define field name, which be displayed for user for current language locale')); |
|
36 | + 'tab' => function() use ($form, $lang) { |
|
37 | + return $form->fieldset()->text('name.'.$lang, null, __('Define field name, which be displayed for user for current language locale')); |
|
38 | 38 | }, |
39 | 39 | 'tabActive' => $lang === \App::$Request->getLanguage(), |
40 | 40 | ]); |
@@ -44,12 +44,12 @@ |
||
44 | 44 | } else { |
45 | 45 | $labelMark = 'badge-secondary'; |
46 | 46 | } |
47 | - $permissionsLabel .= '<span class="badge ' . $labelMark . '">' . $perm . '</span> '; |
|
47 | + $permissionsLabel .= '<span class="badge '.$labelMark.'">'.$perm.'</span> '; |
|
48 | 48 | } |
49 | 49 | |
50 | 50 | $roleColor = '-'; |
51 | 51 | if ($role->color) { |
52 | - $roleColor = '<span class="badge badge-light" style="color: ' . $role->color . '">' . $role->color . '</span>'; |
|
52 | + $roleColor = '<span class="badge badge-light" style="color: '.$role->color.'">'.$role->color.'</span>'; |
|
53 | 53 | } |
54 | 54 | |
55 | 55 | $table->row([ |
@@ -7,10 +7,10 @@ |
||
7 | 7 | /** @var array $url */ |
8 | 8 | /** @var array $properties */ |
9 | 9 | |
10 | -$rndId = 'btn_selectize_submit_' . mt_rand(999, 999999); |
|
10 | +$rndId = 'btn_selectize_submit_'.mt_rand(999, 999999); |
|
11 | 11 | $properties['id'] = $rndId; |
12 | 12 | |
13 | -echo (new \Ffcms\Templex\Helper\Html\Dom())->button(function () use ($text) { |
|
13 | +echo (new \Ffcms\Templex\Helper\Html\Dom())->button(function() use ($text) { |
|
14 | 14 | return $text; |
15 | 15 | }, $properties); |
16 | 16 |
@@ -18,7 +18,7 @@ |
||
18 | 18 | } |
19 | 19 | ?> |
20 | 20 | <div class="form-group row"> |
21 | - <?= (new \Ffcms\Templex\Helper\Html\Dom())->label(function () use ($label) { |
|
21 | + <?= (new \Ffcms\Templex\Helper\Html\Dom())->label(function() use ($label) { |
|
22 | 22 | return $label; |
23 | 23 | }, $labelProperties) ?> |
24 | 24 | <div class="col-md-9"> |