@@ -30,7 +30,7 @@ |
||
30 | 30 | |
31 | 31 | <?php if ($useCaptcha === true) { |
32 | 32 | if (\App::$Captcha->isFull()) { |
33 | - echo '<div class="col-md-offset-3 col-md-9">' . \App::$Captcha->get() . '</div>'; |
|
33 | + echo '<div class="col-md-offset-3 col-md-9">'.\App::$Captcha->get().'</div>'; |
|
34 | 34 | } else { |
35 | 35 | echo $form->field('captcha', 'captcha', ['class' => 'form-control'], __('Enter data from security image to prove that you are human. If you can\'t read symbols - click on image to reload')); |
36 | 36 | } |
@@ -30,7 +30,7 @@ |
||
30 | 30 | |
31 | 31 | <?php if ($useCaptcha === true) { |
32 | 32 | if (\App::$Captcha->isFull()) { |
33 | - echo '<div class="col-md-offset-3 col-md-9">' . \App::$Captcha->get() . '</div>'; |
|
33 | + echo '<div class="col-md-offset-3 col-md-9">'.\App::$Captcha->get().'</div>'; |
|
34 | 34 | } else { |
35 | 35 | echo $form->field('captcha', 'captcha', ['class' => 'form-control'], __('Enter data from security image to prove that you are human. If you can\'t read symbols - click on image to reload')); |
36 | 36 | } |
@@ -30,9 +30,9 @@ |
||
30 | 30 | if (Obj::isArray($notify) && count($notify) > 0) { |
31 | 31 | foreach ($notify as $type => $messages) { |
32 | 32 | foreach ($messages as $message) { |
33 | - echo '<p class="alert ' . type2html($type) . '"> |
|
33 | + echo '<p class="alert '.type2html($type).'"> |
|
34 | 34 | <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>' |
35 | - . \Ffcms\Core\App::$Security->strip_tags($message) . '</p>'; |
|
35 | + . \Ffcms\Core\App::$Security->strip_tags($message).'</p>'; |
|
36 | 36 | } |
37 | 37 | } |
38 | 38 | } |
@@ -5,5 +5,5 @@ |
||
5 | 5 | ?> |
6 | 6 | |
7 | 7 | <?php foreach ($records as $row) { |
8 | - echo Url::link(['content/tag', $row['tag']], $row['tag'], ['class' => 'label label-default']) . ' '; |
|
8 | + echo Url::link(['content/tag', $row['tag']], $row['tag'], ['class' => 'label label-default']).' '; |
|
9 | 9 | } |
10 | 10 | \ No newline at end of file |
@@ -33,7 +33,7 @@ |
||
33 | 33 | <tbody> |
34 | 34 | <tr> |
35 | 35 | <td align="left" style="font-family:Helvetica Neue,Arial,Helvetica,sans-serif;padding-left:9px;font-size:14px;"> |
36 | - <a href="<?= \App::$Alias->scriptUrl ?>/feedback/read/<?= $record->id . '/' . $record->hash ?>"> |
|
36 | + <a href="<?= \App::$Alias->scriptUrl ?>/feedback/read/<?= $record->id.'/'.$record->hash ?>"> |
|
37 | 37 | <?= __('View request') ?> |
38 | 38 | </a> |
39 | 39 | </td> |
@@ -30,9 +30,9 @@ |
||
30 | 30 | if (Obj::isArray($notify) && count($notify) > 0) { |
31 | 31 | foreach ($notify as $type => $messages) { |
32 | 32 | foreach ($messages as $message) { |
33 | - echo '<p class="alert ' . type2html($type) . '"> |
|
33 | + echo '<p class="alert '.type2html($type).'"> |
|
34 | 34 | <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>' |
35 | - . \Ffcms\Core\App::$Security->strip_tags($message) . '</p>'; |
|
35 | + . \Ffcms\Core\App::$Security->strip_tags($message).'</p>'; |
|
36 | 36 | } |
37 | 37 | } |
38 | 38 | } |
@@ -2,6 +2,6 @@ |
||
2 | 2 | use Ffcms\Core\Helper\Url; |
3 | 3 | |
4 | 4 | if (isset($controller)): ?> |
5 | -<a href="<?= Url::to($controller . '/index') ?>"><i class="fa fa-cogs"></i></a> |
|
5 | +<a href="<?= Url::to($controller.'/index') ?>"><i class="fa fa-cogs"></i></a> |
|
6 | 6 | <a href="<?= Url::to('widget/turn', $controller) ?>"><i class="fa fa-power-off"></i></a> |
7 | 7 | <?php endif; ?> |
8 | 8 | \ No newline at end of file |
@@ -26,8 +26,8 @@ |
||
26 | 26 | */ |
27 | 27 | public function before() |
28 | 28 | { |
29 | - $this->count = (int)$this->_configs['count']; |
|
30 | - $this->cache = (int)$this->_configs['cache']; |
|
29 | + $this->count = (int) $this->_configs['count']; |
|
30 | + $this->cache = (int) $this->_configs['cache']; |
|
31 | 31 | } |
32 | 32 | |
33 | 33 | /** |
@@ -27,9 +27,9 @@ |
||
27 | 27 | */ |
28 | 28 | public function before() |
29 | 29 | { |
30 | - $this->snippet = (int)$this->_configs['snippet']; |
|
31 | - $this->count = (int)$this->_configs['count']; |
|
32 | - $this->cache = (int)$this->_configs['cache']; |
|
30 | + $this->snippet = (int) $this->_configs['snippet']; |
|
31 | + $this->count = (int) $this->_configs['count']; |
|
32 | + $this->cache = (int) $this->_configs['cache']; |
|
33 | 33 | } |
34 | 34 | |
35 | 35 | /** |