@@ -28,38 +28,38 @@ discard block |
||
28 | 28 | <div class="panel panel-info"> |
29 | 29 | <div class="panel-heading"> |
30 | 30 | <?php |
31 | - if ((int)$record->readed !== 1) { |
|
31 | + if ((int) $record->readed !== 1) { |
|
32 | 32 | echo '<i class="fa fa-bell"></i> '; |
33 | 33 | } |
34 | 34 | ?> |
35 | 35 | <?= __('Message sent') ?>: <?= Date::convertToDatetime($record->created_at, Date::FORMAT_TO_HOUR) ?>. |
36 | 36 | <?php |
37 | - if ((int)$record->closed !== 1) { |
|
38 | - echo '<span class="label label-success">' . __('Opened') . '</span>'; |
|
37 | + if ((int) $record->closed !== 1) { |
|
38 | + echo '<span class="label label-success">'.__('Opened').'</span>'; |
|
39 | 39 | } else { |
40 | - echo '<span class="label label-danger">' . __('Closed') . '</span>'; |
|
40 | + echo '<span class="label label-danger">'.__('Closed').'</span>'; |
|
41 | 41 | } |
42 | 42 | ?> |
43 | 43 | </div> |
44 | 44 | <div class="panel-body"> |
45 | 45 | <?php |
46 | - if ((int)$record->closed !== 0) { |
|
47 | - echo '<p class="alert alert-warning">' . __('The feedback request is closed! Thread in only-read mode') . '.</p>'; |
|
46 | + if ((int) $record->closed !== 0) { |
|
47 | + echo '<p class="alert alert-warning">'.__('The feedback request is closed! Thread in only-read mode').'.</p>'; |
|
48 | 48 | } |
49 | 49 | ?> |
50 | 50 | <p><?= Str::replace("\n", "<br />", $record->message) ?></p> |
51 | 51 | <hr /> |
52 | 52 | <?php |
53 | 53 | // show "mark as read" button if message is not readed |
54 | - if ((int)$record->readed !== 1) { |
|
55 | - echo Url::link(['feedback/turn', 'read', $record->id], __('Mark as read'), ['class' => 'label label-success']) . ' '; |
|
54 | + if ((int) $record->readed !== 1) { |
|
55 | + echo Url::link(['feedback/turn', 'read', $record->id], __('Mark as read'), ['class' => 'label label-success']).' '; |
|
56 | 56 | } |
57 | 57 | |
58 | 58 | // show close/open button depend of current status |
59 | - if ((int)$record->closed === 0) { |
|
60 | - echo Url::link(['feedback/turn', 'close', $record->id], __('Close'), ['class' => 'label label-warning']) . ' '; |
|
59 | + if ((int) $record->closed === 0) { |
|
60 | + echo Url::link(['feedback/turn', 'close', $record->id], __('Close'), ['class' => 'label label-warning']).' '; |
|
61 | 61 | } else { |
62 | - echo Url::link(['feedback/turn', 'open', $record->id], __('Open'), ['class' => 'label label-info']) . ' '; |
|
62 | + echo Url::link(['feedback/turn', 'open', $record->id], __('Open'), ['class' => 'label label-info']).' '; |
|
63 | 63 | } |
64 | 64 | |
65 | 65 | ?> |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | <div class="panel-body"> |
77 | 77 | <?php |
78 | 78 | $uInfo = 'no'; |
79 | - if ((int)$record->user_id > 0) { |
|
79 | + if ((int) $record->user_id > 0) { |
|
80 | 80 | $user = \App::$User->identity($record->user_id); |
81 | 81 | if ($user !== null && $user->getId() > 0) { |
82 | 82 | $uInfo = Url::link(['user/update', $user->getId()], $user->getProfile()->getNickname()); |
@@ -101,9 +101,9 @@ discard block |
||
101 | 101 | |
102 | 102 | <?php if ($record->getAnswers()->count() > 0): ?> |
103 | 103 | <?php foreach ($record->getAnswers()->get() as $answer): ?> |
104 | - <div class="panel <?= (int)$answer->is_admin === 1 ? 'panel-success' : 'panel-default' ?>"> |
|
104 | + <div class="panel <?= (int) $answer->is_admin === 1 ? 'panel-success' : 'panel-default' ?>"> |
|
105 | 105 | <div class="panel-heading"> |
106 | - <?= __('From') ?>: <?= $answer->name . '(' . $answer->email . ')' ?>, |
|
106 | + <?= __('From') ?>: <?= $answer->name.'('.$answer->email.')' ?>, |
|
107 | 107 | <?= Date::convertToDatetime($answer->created_at, Date::FORMAT_TO_HOUR) ?> |
108 | 108 | <span class="pull-right"> |
109 | 109 | <?= Url::link(['feedback/update', 'answer', $answer->id], __('Edit'), ['class' => 'label label-primary']) ?> |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | <h1><?= __('Feedback list') ?></h1> |
24 | 24 | <hr /> |
25 | 25 | <?php if ($records === null || $records->count() < 1) { |
26 | - echo '<p class="alert alert-danger">' . __('Feedback requests is empty now!') . '</p>'; |
|
26 | + echo '<p class="alert alert-danger">'.__('Feedback requests is empty now!').'</p>'; |
|
27 | 27 | return; |
28 | 28 | } |
29 | 29 | |
@@ -31,17 +31,16 @@ discard block |
||
31 | 31 | foreach ($records as $item) { |
32 | 32 | /** @var \Apps\ActiveRecord\FeedbackPost $item*/ |
33 | 33 | $items[] = [ |
34 | - ['text' => $item->id . ((int)$item->readed !== 1 ? ' <i class="fa fa-bell alert-info"></i>' : null), 'html' => true], |
|
34 | + ['text' => $item->id.((int) $item->readed !== 1 ? ' <i class="fa fa-bell alert-info"></i>' : null), 'html' => true], |
|
35 | 35 | ['text' => Url::link(['feedback/read', $item->id], Text::snippet($item->message, 40, false)), 'html' => true], |
36 | 36 | ['text' => $item->getAnswers()->count()], |
37 | 37 | ['text' => $item->email], |
38 | 38 | ['text' => |
39 | - (int)$item->closed === 1 ? |
|
40 | - '<span class="label label-danger">' . __('Closed') . '</span>' : |
|
41 | - '<span class="label label-success">' . __('Opened') . '</span>', |
|
39 | + (int) $item->closed === 1 ? |
|
40 | + '<span class="label label-danger">'.__('Closed').'</span>' : '<span class="label label-success">'.__('Opened').'</span>', |
|
42 | 41 | 'html' => true, '!secure' => true], |
43 | 42 | ['text' => Date::convertToDatetime($item->updated_at, Date::FORMAT_TO_HOUR)], |
44 | - ['text' => Url::link(['feedback/read', $item->id], '<i class="fa fa-list fa-lg"></i> ') . |
|
43 | + ['text' => Url::link(['feedback/read', $item->id], '<i class="fa fa-list fa-lg"></i> '). |
|
45 | 44 | Url::link(['feedback/delete', 'post', $item->id], '<i class="fa fa-trash-o fa-lg"></i>'), |
46 | 45 | 'html' => true, 'property' => ['class' => 'text-center']] |
47 | 46 | ]; |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | <hr /> |
24 | 24 | <div class="row"> |
25 | 25 | <div class="col-md-12"> |
26 | - <?= Url::link(['content/categoryupdate', 0], '<i class="fa fa-plus"></i> ' . __('Add category'), ['class' => 'btn btn-primary pull-right']) ?> |
|
26 | + <?= Url::link(['content/categoryupdate', 0], '<i class="fa fa-plus"></i> '.__('Add category'), ['class' => 'btn btn-primary pull-right']) ?> |
|
27 | 27 | </div> |
28 | 28 | </div> |
29 | 29 | <div class="table-responsive"> |
@@ -55,8 +55,8 @@ discard block |
||
55 | 55 | <tr> |
56 | 56 | <td> |
57 | 57 | <div class="row"> |
58 | - <div class="col-md-<?= $offset ?> col-xs-<?= $offset+2 ?>" style="padding-top: 8px;border-bottom: 2px solid #8a8a8a"></div> |
|
59 | - <div class="col-md-<?= $set ?> col-xs-<?= $set-2 ?>"> |
|
58 | + <div class="col-md-<?= $offset ?> col-xs-<?= $offset + 2 ?>" style="padding-top: 8px;border-bottom: 2px solid #8a8a8a"></div> |
|
59 | + <div class="col-md-<?= $set ?> col-xs-<?= $set - 2 ?>"> |
|
60 | 60 | <?= Serialize::getDecodeLocale($row->title) ?> |
61 | 61 | <sup>id: <?= $row->id ?></sup> |
62 | 62 | <span class="label label-info">/<?= $row->path ?></span> |
@@ -32,9 +32,9 @@ discard block |
||
32 | 32 | foreach (\App::$Properties->get('languages') as $lang) { |
33 | 33 | $items[] = [ |
34 | 34 | 'type' => 'tab', |
35 | - 'text' => __('Lang') . ': ' . Str::upperCase($lang), |
|
36 | - 'content' => $form->field('title.' . $lang, 'text', ['class' => 'form-control'], __('Enter category title, visible for users')) . |
|
37 | - $form->field('description.' . $lang, 'text', ['class' => 'form-control'], __('Enter category description')), |
|
35 | + 'text' => __('Lang').': '.Str::upperCase($lang), |
|
36 | + 'content' => $form->field('title.'.$lang, 'text', ['class' => 'form-control'], __('Enter category title, visible for users')). |
|
37 | + $form->field('description.'.$lang, 'text', ['class' => 'form-control'], __('Enter category description')), |
|
38 | 38 | 'html' => true, |
39 | 39 | 'active' => $lang === \App::$Request->getLanguage(), |
40 | 40 | '!secure' => true |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | $pathProperty = [ |
54 | 54 | 'class' => 'form-control' |
55 | 55 | ]; |
56 | -if ((int)$model->id == '1') { |
|
56 | +if ((int) $model->id == '1') { |
|
57 | 57 | $pathProperty['disabled'] = ''; |
58 | 58 | } else { |
59 | 59 | echo $form->field('dependId', 'select', ['class' => 'form-control', 'options' => $model->categoryList(), 'optionsKey' => true], __('Select owner category for this category')); |
@@ -35,8 +35,8 @@ discard block |
||
35 | 35 | <span class="sr-only">Toggle Dropdown</span> |
36 | 36 | </button> |
37 | 37 | <ul class="dropdown-menu" role="menu"> |
38 | - <li><?= Url::link(['content/index', null, null, ['type' => 'all']], '<i class="fa fa-thumbs-up"></i> ' . __('Published')) ?></li> |
|
39 | - <li><?= Url::link(['content/index', null, null, ['type' => 'trash']], '<i class="fa fa-trash"></i> ' . __('Trash')) ?></li> |
|
38 | + <li><?= Url::link(['content/index', null, null, ['type' => 'all']], '<i class="fa fa-thumbs-up"></i> '.__('Published')) ?></li> |
|
39 | + <li><?= Url::link(['content/index', null, null, ['type' => 'trash']], '<i class="fa fa-trash"></i> '.__('Trash')) ?></li> |
|
40 | 40 | <li> |
41 | 41 | <a class="trigger right-caret"><i class="fa fa-table"></i> <?= __('Categories') ?></a> |
42 | 42 | <ul class="dropdown-menu sub-menu"> |
@@ -50,9 +50,9 @@ discard block |
||
50 | 50 | </div> |
51 | 51 | <?php |
52 | 52 | if ($type === 'trash') { |
53 | - echo Url::link(['content/clear'], '<i class="fa fa-minus"></i> ' . __('Remove all'), ['class' => 'btn btn-danger pull-right']); |
|
53 | + echo Url::link(['content/clear'], '<i class="fa fa-minus"></i> '.__('Remove all'), ['class' => 'btn btn-danger pull-right']); |
|
54 | 54 | } else { |
55 | - echo Url::link(['content/update', 0], '<i class="fa fa-plus"></i> ' . __('Add content'), ['class' => 'btn btn-primary pull-right']); |
|
55 | + echo Url::link(['content/update', 0], '<i class="fa fa-plus"></i> '.__('Add content'), ['class' => 'btn btn-primary pull-right']); |
|
56 | 56 | } |
57 | 57 | ?> |
58 | 58 | </div> |
@@ -61,22 +61,22 @@ discard block |
||
61 | 61 | <?php |
62 | 62 | |
63 | 63 | if ($records->count() < 1) { |
64 | - echo '<p class="alert alert-warning">' . __('Content is not found') . '</p>'; |
|
64 | + echo '<p class="alert alert-warning">'.__('Content is not found').'</p>'; |
|
65 | 65 | return; |
66 | 66 | } |
67 | 67 | |
68 | 68 | $items = []; |
69 | 69 | foreach ($records as $content) { |
70 | - $frontLink = \App::$Alias->scriptUrl . '/content/read'; |
|
70 | + $frontLink = \App::$Alias->scriptUrl.'/content/read'; |
|
71 | 71 | $frontPath = null; |
72 | 72 | if (!Str::likeEmpty($content->getCategory()->path)) { |
73 | - $frontLink .= '/' . $content->getCategory()->path; |
|
74 | - $frontPath .= '/' . $content->getCategory()->path; |
|
73 | + $frontLink .= '/'.$content->getCategory()->path; |
|
74 | + $frontPath .= '/'.$content->getCategory()->path; |
|
75 | 75 | } |
76 | - $frontLink .= '/' . $content->path; |
|
77 | - $frontPath .= '/' . $content->path; |
|
76 | + $frontLink .= '/'.$content->path; |
|
77 | + $frontPath .= '/'.$content->path; |
|
78 | 78 | $frontPath = Str::sub($frontPath, 0, 30); |
79 | - $actionIcons = '<a href="' . $frontLink . '" target="_blank"><i class="fa fa-eye fa-lg"></i></a> '; |
|
79 | + $actionIcons = '<a href="'.$frontLink.'" target="_blank"><i class="fa fa-eye fa-lg"></i></a> '; |
|
80 | 80 | $actionIcons .= Url::link(['content/update', $content->id], '<i class="fa fa-pencil fa-lg"></i> '); |
81 | 81 | if ($type === 'trash') { |
82 | 82 | $actionIcons .= Url::link(['content/restore', $content->id], '<i class="fa fa-refresh fa-lg"></i>'); |
@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | 1 => ['text' => $content->id, 'html' => true, '!secure' => true], |
89 | 89 | 2 => ['text' => Url::link(['content/update', $content->id], Serialize::getDecodeLocale($content->title)), 'html' => true], |
90 | 90 | 3 => ['text' => Serialize::getDecodeLocale($content->getCategory()->title)], |
91 | - 4 =>['text' => '<a href="' . $frontLink . '" target="_blank">' . $frontPath . '</a>', 'html' => true], |
|
91 | + 4 =>['text' => '<a href="'.$frontLink.'" target="_blank">'.$frontPath.'</a>', 'html' => true], |
|
92 | 92 | 5 => ['text' => Date::convertToDatetime($content->updated_at, Date::FORMAT_TO_SECONDS)], |
93 | 93 | 6 => ['text' => $actionIcons, 'html' => true, 'property' => ['class' => 'text-center']] |
94 | 94 | ]; |
@@ -42,9 +42,9 @@ discard block |
||
42 | 42 | foreach (\App::$Properties->get('languages') as $lang) { |
43 | 43 | $generalItems[] = [ |
44 | 44 | 'type' => 'tab', |
45 | - 'text' => __('Lang') . ': ' . Str::upperCase($lang), |
|
46 | - 'content' => $form->field('title.' . $lang, 'text', ['class' => 'form-control'], __('Please, enter the title of your material for current language locale'), 'content/form/tab_content_update') . |
|
47 | - $form->field('text.' . $lang, 'textarea', ['class' => 'form-control wysiwyg', 'rows' => 7, 'html' => true], null, 'content/form/tab_content_update'), |
|
45 | + 'text' => __('Lang').': '.Str::upperCase($lang), |
|
46 | + 'content' => $form->field('title.'.$lang, 'text', ['class' => 'form-control'], __('Please, enter the title of your material for current language locale'), 'content/form/tab_content_update'). |
|
47 | + $form->field('text.'.$lang, 'textarea', ['class' => 'form-control wysiwyg', 'rows' => 7, 'html' => true], null, 'content/form/tab_content_update'), |
|
48 | 48 | 'html' => true, |
49 | 49 | 'active' => $lang === \App::$Request->getLanguage(), |
50 | 50 | '!secure' => true |
@@ -52,10 +52,10 @@ discard block |
||
52 | 52 | |
53 | 53 | $propertiesItems[] = [ |
54 | 54 | 'type' => 'tab', |
55 | - 'text' => __('Lang') . ': ' . Str::upperCase($lang), |
|
56 | - 'content' => $form->field('metaTitle.' . $lang, 'text', ['class' => 'form-control'], __('Enter meta param title for page title. Recoomended: 50-70 characters')) . |
|
57 | - $form->field('metaKeywords.' . $lang, 'text', ['class' => 'form-control'], __('Enter meta param keywords for this content, separated by comma. Example: home, door, dog')) . |
|
58 | - $form->field('metaDescription.' . $lang, 'text', ['class' => 'form-control'], __('Enter meta param description for this content. Recommended is 100-150 characters')), |
|
55 | + 'text' => __('Lang').': '.Str::upperCase($lang), |
|
56 | + 'content' => $form->field('metaTitle.'.$lang, 'text', ['class' => 'form-control'], __('Enter meta param title for page title. Recoomended: 50-70 characters')). |
|
57 | + $form->field('metaKeywords.'.$lang, 'text', ['class' => 'form-control'], __('Enter meta param keywords for this content, separated by comma. Example: home, door, dog')). |
|
58 | + $form->field('metaDescription.'.$lang, 'text', ['class' => 'form-control'], __('Enter meta param description for this content. Recommended is 100-150 characters')), |
|
59 | 59 | 'html' => true, |
60 | 60 | '!secure' => true, |
61 | 61 | 'active' => $lang === \App::$Request->getLanguage() |
@@ -89,13 +89,13 @@ discard block |
||
89 | 89 | <div class="col-md-4"> |
90 | 90 | <span class="btn btn-success fileinput-button btn-block"> |
91 | 91 | <i class="glyphicon glyphicon-plus"></i> |
92 | - <span>' . __('Upload image') . '</span> |
|
92 | + <span>' . __('Upload image').'</span> |
|
93 | 93 | <!-- The file input field used as target for the file upload widget --> |
94 | 94 | <input id="fileupload" type="file" name="gallery-files" multiple> |
95 | 95 | </span> |
96 | 96 | </div> |
97 | 97 | <div class="col-md-8"> |
98 | - ' . $form->field('poster', 'select', ['options' => [__('Not selected...')], 'class' => 'form-control'], __('Select image from gallery as a poster for this content')) . ' |
|
98 | + ' . $form->field('poster', 'select', ['options' => [__('Not selected...')], 'class' => 'form-control'], __('Select image from gallery as a poster for this content')).' |
|
99 | 99 | </div> |
100 | 100 | </div><br/><br/>'; |
101 | 101 | ?> |
@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | ['type' => 'tab', 'text' => __('Gallery'), 'content' => $galleryTab, 'html' => true, '!secure' => true], |
109 | 109 | ['type' => 'tab', 'text' => __('Other'), 'content' => $otherTab, 'html' => true, '!secure' => true] |
110 | 110 | ] |
111 | -]);?> |
|
111 | +]); ?> |
|
112 | 112 | |
113 | 113 | <?= $form->field('galleryFreeId', 'hidden') ?> |
114 | 114 | <?= $form->submitButton(__('Save'), ['class' => 'btn btn-primary']) ?> |
@@ -117,15 +117,15 @@ discard block |
||
117 | 117 | |
118 | 118 | <?php |
119 | 119 | // load max length display plugin |
120 | -\App::$Alias->setCustomLibrary('js', \App::$Alias->currentViewUrl . '/assets/js/plugins/maxlength.js'); |
|
120 | +\App::$Alias->setCustomLibrary('js', \App::$Alias->currentViewUrl.'/assets/js/plugins/maxlength.js'); |
|
121 | 121 | // load datapicker plugin |
122 | -\App::$Alias->setCustomLibrary('css', \App::$Alias->currentViewUrl . '/assets/css/plugins/datapick/datapick.css'); |
|
123 | -\App::$Alias->setCustomLibrary('js', \App::$Alias->currentViewUrl . '/assets/js/plugins/datapick.js'); |
|
122 | +\App::$Alias->setCustomLibrary('css', \App::$Alias->currentViewUrl.'/assets/css/plugins/datapick/datapick.css'); |
|
123 | +\App::$Alias->setCustomLibrary('js', \App::$Alias->currentViewUrl.'/assets/js/plugins/datapick.js'); |
|
124 | 124 | // load jquery-upload plugin |
125 | -\App::$Alias->setCustomLibrary('css', \App::$Alias->scriptUrl . '/vendor/bower/blueimp-file-upload/css/jquery.fileupload.css'); |
|
126 | -\App::$Alias->setCustomLibrary('js', \App::$Alias->scriptUrl . '/vendor/bower/blueimp-file-upload/js/vendor/jquery.ui.widget.js'); |
|
127 | -\App::$Alias->setCustomLibrary('js', \App::$Alias->scriptUrl . '/vendor/bower/blueimp-file-upload/js/jquery.iframe-transport.js'); |
|
128 | -\App::$Alias->setCustomLibrary('js', \App::$Alias->scriptUrl . '/vendor/bower/blueimp-file-upload/js/jquery.fileupload.js'); |
|
125 | +\App::$Alias->setCustomLibrary('css', \App::$Alias->scriptUrl.'/vendor/bower/blueimp-file-upload/css/jquery.fileupload.css'); |
|
126 | +\App::$Alias->setCustomLibrary('js', \App::$Alias->scriptUrl.'/vendor/bower/blueimp-file-upload/js/vendor/jquery.ui.widget.js'); |
|
127 | +\App::$Alias->setCustomLibrary('js', \App::$Alias->scriptUrl.'/vendor/bower/blueimp-file-upload/js/jquery.iframe-transport.js'); |
|
128 | +\App::$Alias->setCustomLibrary('js', \App::$Alias->scriptUrl.'/vendor/bower/blueimp-file-upload/js/jquery.fileupload.js'); |
|
129 | 129 | ?> |
130 | 130 | |
131 | 131 | <!-- dom model for gallery items --> |
@@ -17,7 +17,7 @@ discard block |
||
17 | 17 | <div class="row"> |
18 | 18 | <div class="col-md-12"> |
19 | 19 | <div class="pull-right"> |
20 | - <?= Url::link(['widget/install'], '<i class="fa fa-tasks"></i> ' . __('Install'), ['class' => 'btn btn-primary']) ?> |
|
20 | + <?= Url::link(['widget/install'], '<i class="fa fa-tasks"></i> '.__('Install'), ['class' => 'btn btn-primary']) ?> |
|
21 | 21 | </div> |
22 | 22 | </div> |
23 | 23 | </div> |
@@ -25,10 +25,10 @@ discard block |
||
25 | 25 | $widgetTableItems = null; |
26 | 26 | foreach ($widgets as $widget) { |
27 | 27 | /** @var $widget Apps\ActiveRecord\App */ |
28 | - $route = $widget->sys_name . '/index'; |
|
28 | + $route = $widget->sys_name.'/index'; |
|
29 | 29 | $icoStatus = null; |
30 | 30 | $actions = $this->render('native/macro/widget_actions', ['controller' => $widget->sys_name]); |
31 | - if ((int)$widget->disabled !== 0) { |
|
31 | + if ((int) $widget->disabled !== 0) { |
|
32 | 32 | $icoStatus = ' <i class="fa fa-pause" style="color: #ff0000;"></i>'; |
33 | 33 | } elseif ($widget->checkVersion() !== true) { |
34 | 34 | $icoStatus = ' <i class="fa fa-exclamation" style="color: #ffbd26;"></i>'; |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | } |
39 | 39 | |
40 | 40 | $widgetTableItems[] = [ |
41 | - ['text' => $widget->id . $icoStatus, 'html' => true, '!secure' => true], |
|
41 | + ['text' => $widget->id.$icoStatus, 'html' => true, '!secure' => true], |
|
42 | 42 | ['text' => Url::link([$route], $widget->getLocaleName()), 'html' => true], |
43 | 43 | ['text' => $widget->version], |
44 | 44 | ['text' => Date::convertToDatetime($widget->updated_at, Date::FORMAT_TO_HOUR)], |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | ?> |
50 | 50 | |
51 | 51 | <?php if ($widgetTableItems === null || count($widgetTableItems) < 1) { |
52 | - echo '<p class="alert alert-info">' . __('Installed widgets is not founded') . '</p>'; |
|
52 | + echo '<p class="alert alert-info">'.__('Installed widgets is not founded').'</p>'; |
|
53 | 53 | } ?> |
54 | 54 | |
55 | 55 |
@@ -22,7 +22,7 @@ |
||
22 | 22 | <?php |
23 | 23 | if (true === $useCaptcha) { |
24 | 24 | if (\App::$Captcha->isFull()) { |
25 | - echo '<div class="col-md-offset-3 col-md-9">' . \App::$Captcha->get() . '</div>'; |
|
25 | + echo '<div class="col-md-offset-3 col-md-9">'.\App::$Captcha->get().'</div>'; |
|
26 | 26 | } else { |
27 | 27 | 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')); |
28 | 28 | } |
@@ -22,7 +22,7 @@ |
||
22 | 22 | <?= $form->field('repassword', 'password', ['class' => 'form-control'], __('Repeat your password to be sure it correct')); ?> |
23 | 23 | <?php if (true === $useCaptcha) { |
24 | 24 | if (\App::$Captcha->isFull()) { |
25 | - echo '<div class="col-md-offset-3 col-md-9">' . \App::$Captcha->get() . '</div>'; |
|
25 | + echo '<div class="col-md-offset-3 col-md-9">'.\App::$Captcha->get().'</div>'; |
|
26 | 26 | } else { |
27 | 27 | 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')); |
28 | 28 | } |