@@ -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"> |
@@ -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"> |
@@ -15,7 +15,7 @@ |
||
15 | 15 | $labelProperties['for'] = $field->getUniqueFieldId(); |
16 | 16 | ?> |
17 | 17 | <div class="form-group row"> |
18 | - <?= (new \Ffcms\Templex\Helper\Html\Dom())->label(function () use ($label) { |
|
18 | + <?= (new \Ffcms\Templex\Helper\Html\Dom())->label(function() use ($label) { |
|
19 | 19 | return $label; |
20 | 20 | }, $labelProperties) ?> |
21 | 21 | <div class="col-md-9"> |
@@ -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): ?> |
@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | <h1><?= __('Sitemap') ?></h1> |
21 | 21 | |
22 | 22 | <p><?= __('Sitemap its a special application to generate sitemap as xml file over sitemap standart for search engines.') ?></p> |
23 | -<p><?= __('Sitemap main index') ?>: <a href="<?= \App::$Alias->scriptUrl . '/sitemap' ?>" target="_blank">/sitemap</a></p> |
|
23 | +<p><?= __('Sitemap main index') ?>: <a href="<?= \App::$Alias->scriptUrl.'/sitemap' ?>" target="_blank">/sitemap</a></p> |
|
24 | 24 | <h3><?= __('Sitemap files') ?></h3> |
25 | 25 | <?php |
26 | 26 | $items = []; |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | $list = $this->listing('ul'); |
34 | 34 | |
35 | 35 | foreach ($model->files as $file) { |
36 | - $list->li(['type' => 'link', 'link' => \Ffcms\Core\App::$Alias->scriptUrl . $file, 'text' => $file, 'linkProperties' => ['target' => '_blank']]); |
|
36 | + $list->li(['type' => 'link', 'link' => \Ffcms\Core\App::$Alias->scriptUrl.$file, 'text' => $file, 'linkProperties' => ['target' => '_blank']]); |
|
37 | 37 | } |
38 | 38 | echo $list->display(); |
39 | 39 | ?> |