@@ -25,7 +25,7 @@ |
||
25 | 25 | */ |
26 | 26 | public function get() |
27 | 27 | { |
28 | - return App::$Alias->scriptUrl . '/api/captcha/gregwar?time=' . microtime(true) . '&lang=' . App::$Request->getLanguage(); |
|
28 | + return App::$Alias->scriptUrl.'/api/captcha/gregwar?time='.microtime(true).'&lang='.App::$Request->getLanguage(); |
|
29 | 29 | } |
30 | 30 | |
31 | 31 | /** |
@@ -39,9 +39,9 @@ discard block |
||
39 | 39 | public function get() |
40 | 40 | { |
41 | 41 | // build google captcha ;) |
42 | - $html = '<div class="g-recaptcha" data-sitekey="' . self::$siteKey . '"></div> |
|
42 | + $html = '<div class="g-recaptcha" data-sitekey="'.self::$siteKey.'"></div> |
|
43 | 43 | <script type="text/javascript" |
44 | - src="https://www.google.com/recaptcha/api.js?hl=' . App::$Request->getLanguage() . '"> |
|
44 | + src="https://www.google.com/recaptcha/api.js?hl=' . App::$Request->getLanguage().'"> |
|
45 | 45 | </script>'; |
46 | 46 | return $html; |
47 | 47 | } |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | ]); |
65 | 65 | |
66 | 66 | // make request and parse response |
67 | - $url = $request->getSchemeAndHttpHost() . $request->getRequestUri(); |
|
67 | + $url = $request->getSchemeAndHttpHost().$request->getRequestUri(); |
|
68 | 68 | $response = Url::getRemoteContent($url); |
69 | 69 | $object = json_decode($response); |
70 | 70 |
@@ -12,7 +12,7 @@ |
||
12 | 12 | // this environment is based on json response type |
13 | 13 | define('env_type', 'json'); |
14 | 14 | |
15 | -require_once(root . '/Loader/Autoload.php'); |
|
15 | +require_once(root.'/Loader/Autoload.php'); |
|
16 | 16 | |
17 | 17 | // make fast-access alias \App::$Object |
18 | 18 | // class_alias('Ffcms\Core\App', 'App'); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | // this environment is based on json response type |
13 | 13 | define('env_type', 'json'); |
14 | 14 | |
15 | -require_once(root . '/Loader/Autoload.php'); |
|
15 | +require_once(root.'/Loader/Autoload.php'); |
|
16 | 16 | |
17 | 17 | // make fast-access alias \App::$Object |
18 | 18 | // class_alias('Ffcms\Core\App', 'App'); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | // this environment is based on json response type |
13 | 13 | define('env_type', 'json'); |
14 | 14 | |
15 | -require_once(root . '/Loader/Autoload.php'); |
|
15 | +require_once(root.'/Loader/Autoload.php'); |
|
16 | 16 | |
17 | 17 | // make fast-access alias \App::$Object |
18 | 18 | // class_alias('Ffcms\Core\App', 'App'); |
@@ -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 |