@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | <?php |
23 | 23 | $customCssCode = \App::$View->showPlainCode('css'); |
24 | 24 | if ($customCssCode !== null) { |
25 | - echo '<style>' . $customCssCode . '</style>'; |
|
25 | + echo '<style>'.$customCssCode.'</style>'; |
|
26 | 26 | } ?> |
27 | 27 | <script> |
28 | 28 | var script_url = '<?= \App::$Alias->scriptUrl ?>'; |
@@ -40,33 +40,33 @@ discard block |
||
40 | 40 | if (\App::$User->isAuth()) { |
41 | 41 | $userId = \App::$User->identity()->getId(); |
42 | 42 | // show 'add content' button if current controller is Content and user add is enabled |
43 | - if (\App::$Request->getController() === 'Content' && (bool)AppRecord::getConfig('app', 'Content', 'userAdd')) { |
|
44 | - $items[] = ['type' => 'link', 'link' => ['content/update'], 'text' => '<i class="glyphicon glyphicon-plus"></i> ' . __('Add content'), 'html' => true, 'position' => 'right']; |
|
43 | + if (\App::$Request->getController() === 'Content' && (bool) AppRecord::getConfig('app', 'Content', 'userAdd')) { |
|
44 | + $items[] = ['type' => 'link', 'link' => ['content/update'], 'text' => '<i class="glyphicon glyphicon-plus"></i> '.__('Add content'), 'html' => true, 'position' => 'right']; |
|
45 | 45 | } |
46 | 46 | $accountDropdown[] = ['link' => ['profile/show', $userId], 'text' => __('My profile')]; |
47 | - $accountDropdown[] = ['link' => ['profile/messages'], 'text' => __('Messages') . ' <span class="badge" id="pm-count-block">0</span>', 'html' => true, '!secure' => true]; |
|
47 | + $accountDropdown[] = ['link' => ['profile/messages'], 'text' => __('Messages').' <span class="badge" id="pm-count-block">0</span>', 'html' => true, '!secure' => true]; |
|
48 | 48 | $accountDropdown[] = ['link' => ['profile/feed'], 'text' => __('Feed')]; |
49 | - $accountDropdown[] = ['link' => ['profile/notifications'], 'text' => __('Notifications') . ' <span class="badge" id="notify-count-block">0</span>', 'html' => true, '!secure' => true]; |
|
50 | - if ((bool)AppRecord::getConfig('app', 'Content', 'userAdd')) { |
|
49 | + $accountDropdown[] = ['link' => ['profile/notifications'], 'text' => __('Notifications').' <span class="badge" id="notify-count-block">0</span>', 'html' => true, '!secure' => true]; |
|
50 | + if ((bool) AppRecord::getConfig('app', 'Content', 'userAdd')) { |
|
51 | 51 | $accountDropdown[] = ['link' => ['content/my'], 'text' => __('My content')]; |
52 | 52 | } |
53 | 53 | $accountDropdown[] = ['link' => ['profile/settings'], 'text' => __('Settings')]; |
54 | 54 | |
55 | 55 | $items[] = [ |
56 | 56 | 'type' => 'dropdown', |
57 | - 'text' => '<i class="glyphicon glyphicon-user"></i> ' . __('Account') . ' <span class="badge" id="summary-count-block">0</span>', |
|
57 | + 'text' => '<i class="glyphicon glyphicon-user"></i> '.__('Account').' <span class="badge" id="summary-count-block">0</span>', |
|
58 | 58 | 'html' => true, |
59 | 59 | '!secure' => true, |
60 | 60 | 'position' => 'right', |
61 | 61 | 'items' => $accountDropdown |
62 | 62 | ]; |
63 | 63 | if (\App::$User->identity()->role->can('Admin/Main/Index')) { |
64 | - $items[] = ['type' => 'link', 'link' => \App::$Alias->scriptUrl . '/admin/', 'text' => '<i class="glyphicon glyphicon-cog"></i> Admin', 'position' => 'right', 'html' => true]; |
|
64 | + $items[] = ['type' => 'link', 'link' => \App::$Alias->scriptUrl.'/admin/', 'text' => '<i class="glyphicon glyphicon-cog"></i> Admin', 'position' => 'right', 'html' => true]; |
|
65 | 65 | } |
66 | - $items[] = ['type' => 'link', 'link' => ['user/logout'], 'text' => '<i class="glyphicon glyphicon-log-out"></i> ' . __('Logout'), 'html' => true, 'position' => 'right']; |
|
66 | + $items[] = ['type' => 'link', 'link' => ['user/logout'], 'text' => '<i class="glyphicon glyphicon-log-out"></i> '.__('Logout'), 'html' => true, 'position' => 'right']; |
|
67 | 67 | } else { |
68 | - $items[] = ['type' => 'link', 'link' => ['user/login'], 'text' => '<i class="glyphicon glyphicon-log-in"></i> ' . __('Sign in'), 'position' => 'right', 'html' => true]; |
|
69 | - $items[] = ['type' => 'link', 'link' => ['user/signup'], 'text' => '<i class="glyphicon glyphicon-check"></i> ' . __('Sign up'), 'position' => 'right', 'html' => true]; |
|
68 | + $items[] = ['type' => 'link', 'link' => ['user/login'], 'text' => '<i class="glyphicon glyphicon-log-in"></i> '.__('Sign in'), 'position' => 'right', 'html' => true]; |
|
69 | + $items[] = ['type' => 'link', 'link' => ['user/signup'], 'text' => '<i class="glyphicon glyphicon-check"></i> '.__('Sign up'), 'position' => 'right', 'html' => true]; |
|
70 | 70 | } |
71 | 71 | |
72 | 72 | echo Navbar::display([ |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | 'container' => 'container', |
77 | 77 | 'collapseId' => 'collapse-object', |
78 | 78 | 'items' => $items |
79 | -]);?> |
|
79 | +]); ?> |
|
80 | 80 | </header> |
81 | 81 | |
82 | 82 | <div class="container body-container"> |
@@ -158,7 +158,7 @@ discard block |
||
158 | 158 | echo $body; |
159 | 159 | } else { |
160 | 160 | \App::$Response->setStatusCode(404); |
161 | - echo '<p>' . __('Page is not founded!') . '</p>'; |
|
161 | + echo '<p>'.__('Page is not founded!').'</p>'; |
|
162 | 162 | } |
163 | 163 | ?> |
164 | 164 | </div> |
@@ -215,7 +215,7 @@ discard block |
||
215 | 215 | <?php |
216 | 216 | $customJsCode = \App::$View->showPlainCode('js'); |
217 | 217 | if ($customJsCode !== null) { |
218 | - echo '<script>' . $customJsCode . '</script>'; |
|
218 | + echo '<script>'.$customJsCode.'</script>'; |
|
219 | 219 | } |
220 | 220 | // render google analytics code here |
221 | 221 | echo \App::$View->render('blocks/googleanalytics'); |
@@ -27,11 +27,11 @@ discard block |
||
27 | 27 | ?> |
28 | 28 | |
29 | 29 | <?php |
30 | -if ((int)$post->closed === 0 && \App::$User->isAuth()) { |
|
30 | +if ((int) $post->closed === 0 && \App::$User->isAuth()) { |
|
31 | 31 | $user = App::$User->identity(); |
32 | - if ($user->getId() === (int)$post->user_id) { |
|
33 | - echo '<div class="pull-right">' . |
|
34 | - Url::link(['feedback/close', $post->id, $post->hash], __('Close request'), ['class' => 'btn btn-danger']) . |
|
32 | + if ($user->getId() === (int) $post->user_id) { |
|
33 | + echo '<div class="pull-right">'. |
|
34 | + Url::link(['feedback/close', $post->id, $post->hash], __('Close request'), ['class' => 'btn btn-danger']). |
|
35 | 35 | '</div>'; |
36 | 36 | } |
37 | 37 | } |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | </div> |
53 | 53 | <h3><?= __('Answers') ?></h3> |
54 | 54 | <hr /> |
55 | -<?php if ((int)$post->readed === 0 && ($answers === null || $answers->count() < 1)): ?> |
|
55 | +<?php if ((int) $post->readed === 0 && ($answers === null || $answers->count() < 1)): ?> |
|
56 | 56 | <p class="alert alert-warning"><?= __('This message is not properly readed by website administrators') ?></p> |
57 | 57 | <?php endif; ?> |
58 | 58 | |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | <?php foreach ($answers as $answer): ?> |
61 | 61 | <div class="row" id="feedback-answer-<?= $answer->id ?>"> |
62 | 62 | <div class="col-md-12"> |
63 | - <div class="panel <?= (int)$answer->is_admin === 1 ? 'panel-success' : 'panel-default' ?>"> |
|
63 | + <div class="panel <?= (int) $answer->is_admin === 1 ? 'panel-success' : 'panel-default' ?>"> |
|
64 | 64 | <div class="panel-heading"> |
65 | 65 | <strong><?= $answer->name ?> (<?= $answer->email ?>)</strong>, |
66 | 66 | <?= Date::convertToDatetime($answer->created_at, Date::FORMAT_TO_HOUR) ?> |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | <?php endif; ?> |
76 | 76 | |
77 | 77 | <br /> |
78 | -<?php if ((int)$post->closed === 0 && $model !== null): ?> |
|
78 | +<?php if ((int) $post->closed === 0 && $model !== null): ?> |
|
79 | 79 | <h3><?= __('Add answer') ?></h3> |
80 | 80 | <?php $form = new Form($model, ['class' => 'form-horizontal', 'method' => 'post']) ?> |
81 | 81 | <?= $form->start() ?> |
@@ -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> |
@@ -14,13 +14,13 @@ discard block |
||
14 | 14 | $this->title = __('User list'); |
15 | 15 | |
16 | 16 | if ($id === 'all') { |
17 | - $this->title .= ': ' . __('All'); |
|
17 | + $this->title .= ': '.__('All'); |
|
18 | 18 | } elseif ($id === 'rating') { |
19 | - $this->title .= ': ' . __('Rating'); |
|
19 | + $this->title .= ': '.__('Rating'); |
|
20 | 20 | } elseif ($id === 'city') { |
21 | - $this->title .= ': ' . __('City') . ' ' . \App::$Security->strip_tags($add); |
|
21 | + $this->title .= ': '.__('City').' '.\App::$Security->strip_tags($add); |
|
22 | 22 | } elseif ($id === 'hobby') { |
23 | - $this->title .= ': ' . __('Hobby') . ' ' . \App::$Security->strip_tags($add); |
|
23 | + $this->title .= ': '.__('Hobby').' '.\App::$Security->strip_tags($add); |
|
24 | 24 | } |
25 | 25 | |
26 | 26 | $this->breadcrumbs = [ |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | |
36 | 36 | <?php |
37 | 37 | if ($records === null || $records->count() < 1) { |
38 | - echo '<div class="alert alert-danger">' . __('Users are not founded!') . '</div>'; |
|
38 | + echo '<div class="alert alert-danger">'.__('Users are not founded!').'</div>'; |
|
39 | 39 | return; |
40 | 40 | } |
41 | 41 | ?> |
@@ -50,13 +50,13 @@ discard block |
||
50 | 50 | <h3> |
51 | 51 | <?= Url::link( |
52 | 52 | ['profile/show', $profile->user_id], |
53 | - (Str::likeEmpty($profile->nick) ? __('No name') . '(id' . $profile->user_id . ')' : $profile->nick), |
|
54 | - ['style' => 'color: ' . $profile->user->role->color] |
|
53 | + (Str::likeEmpty($profile->nick) ? __('No name').'(id'.$profile->user_id.')' : $profile->nick), |
|
54 | + ['style' => 'color: '.$profile->user->role->color] |
|
55 | 55 | ) ?> |
56 | 56 | </h3> |
57 | 57 | <p><?= __('Registered') ?>: <?= Date::convertToDatetime($profile->created_at, Date::FORMAT_TO_DAY) ?></p> |
58 | 58 | <?php if (\App::$User->identity() !== null && $profile->user_id !== \App::$User->identity()->getId()): ?> |
59 | - <?= Url::link(['profile/messages', null, null, ['newdialog' => $profile->user_id]], '<i class="glyphicon glyphicon-envelope"></i> ' . __('New message'), ['class' => 'btn btn-info']) ?> |
|
59 | + <?= Url::link(['profile/messages', null, null, ['newdialog' => $profile->user_id]], '<i class="glyphicon glyphicon-envelope"></i> '.__('New message'), ['class' => 'btn btn-info']) ?> |
|
60 | 60 | <?php endif; ?> |
61 | 61 | </div> |
62 | 62 | <div class="col-md-2"> |
@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | // $user is a target profile depended object(not current user!!!) |
23 | 23 | |
24 | 24 | $name = $user->profile->getNickname(); |
25 | -$this->title = __('Profile') . ': ' . $name; |
|
25 | +$this->title = __('Profile').': '.$name; |
|
26 | 26 | |
27 | 27 | $this->breadcrumbs = [ |
28 | 28 | Url::to('/') => __('Home'), |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | <?php |
46 | 46 | if ($ratingOn): |
47 | 47 | $rateClass = 'btn-default'; |
48 | - $rateValue = (int)$user->profile->rating; |
|
48 | + $rateValue = (int) $user->profile->rating; |
|
49 | 49 | if ($user->profile->rating > 0) { |
50 | 50 | $rateClass = 'btn-info'; |
51 | 51 | } elseif ($user->profile->rating < 0) { |
@@ -83,20 +83,20 @@ discard block |
||
83 | 83 | $userMenu = null; |
84 | 84 | if (true === $isSelf) { |
85 | 85 | $userMenu = [ |
86 | - ['type' => 'link', 'link' => ['profile/feed'], 'text' => '<i class="glyphicon glyphicon-fire"></i> ' . __('Feed'), 'html' => true], |
|
87 | - ['type' => 'link', 'link' => ['profile/avatar'], 'text' => '<i class="glyphicon glyphicon-camera"></i> ' . __('Avatar'), 'html' => true], |
|
88 | - ['type' => 'link', 'link' => ['profile/messages'], 'text' => '<i class="glyphicon glyphicon-envelope"></i> ' . __('Messages') . ' <span class="badge pm-count-block">0</span>', 'html' => true], |
|
89 | - ['type' => 'link', 'link' => ['profile/settings'], 'text' => '<i class="glyphicon glyphicon-cog"></i> ' . __('Settings'), 'html' => true] |
|
86 | + ['type' => 'link', 'link' => ['profile/feed'], 'text' => '<i class="glyphicon glyphicon-fire"></i> '.__('Feed'), 'html' => true], |
|
87 | + ['type' => 'link', 'link' => ['profile/avatar'], 'text' => '<i class="glyphicon glyphicon-camera"></i> '.__('Avatar'), 'html' => true], |
|
88 | + ['type' => 'link', 'link' => ['profile/messages'], 'text' => '<i class="glyphicon glyphicon-envelope"></i> '.__('Messages').' <span class="badge pm-count-block">0</span>', 'html' => true], |
|
89 | + ['type' => 'link', 'link' => ['profile/settings'], 'text' => '<i class="glyphicon glyphicon-cog"></i> '.__('Settings'), 'html' => true] |
|
90 | 90 | ]; |
91 | 91 | } elseif (\App::$User->isAuth()) { |
92 | 92 | $userMenu = [ |
93 | 93 | [ |
94 | 94 | 'type' => 'link', 'link' => Url::to('profile/messages', null, null, ['newdialog' => $user->id]), |
95 | - 'text' => '<i class="glyphicon glyphicon-envelope"></i> ' . __('Write message'), 'html' => true |
|
95 | + 'text' => '<i class="glyphicon glyphicon-envelope"></i> '.__('Write message'), 'html' => true |
|
96 | 96 | ], |
97 | 97 | [ |
98 | 98 | 'type' => 'link', 'link' => Url::to('profile/ignore', null, null, ['id' => $user->id]), |
99 | - 'text' => '<i class="glyphicon glyphicon-ban-circle"></i> ' . __('Block'), 'html' => true, 'property' => ['class' => 'alert-danger'] |
|
99 | + 'text' => '<i class="glyphicon glyphicon-ban-circle"></i> '.__('Block'), 'html' => true, 'property' => ['class' => 'alert-danger'] |
|
100 | 100 | ] |
101 | 101 | ]; |
102 | 102 | } |
@@ -176,7 +176,7 @@ discard block |
||
176 | 176 | foreach ($hobbyArray as $item) { |
177 | 177 | $item = \App::$Security->strip_tags($item); |
178 | 178 | if (!Str::likeEmpty($item)) { |
179 | - echo Url::link(['profile/index', 'hobby', trim($item, ' ')], $item, ['class' => 'label label-success']) . ' '; |
|
179 | + echo Url::link(['profile/index', 'hobby', trim($item, ' ')], $item, ['class' => 'label label-success']).' '; |
|
180 | 180 | } |
181 | 181 | } |
182 | 182 | ?> |
@@ -223,7 +223,7 @@ discard block |
||
223 | 223 | <div class="text-right"><?= $form->submitButton(__('Send'), ['class' => 'btn btn-default']); ?></div> |
224 | 224 | <?= Ffcms\Widgets\Ckeditor\Ckeditor::widget(['targetClass' => 'wysiwyg', 'config' => 'config-small', 'jsConfig' => ['height' => '80']]); ?> |
225 | 225 | <?= $form->finish(); ?> |
226 | - <?php \App::$Alias->addPlainCode('js', "$('#" . $wall->getFormName() . "').on('change keyup keydown paste cut', 'textarea', function () { $(this).height(0).height(this.scrollHeight);}).find('textarea').change();") ?> |
|
226 | + <?php \App::$Alias->addPlainCode('js', "$('#".$wall->getFormName()."').on('change keyup keydown paste cut', 'textarea', function () { $(this).height(0).height(this.scrollHeight);}).find('textarea').change();") ?> |
|
227 | 227 | <?php endif; ?> |
228 | 228 | <?php |
229 | 229 | if ($wallRecords !== null): |
@@ -239,7 +239,7 @@ discard block |
||
239 | 239 | <div class="col-xs-8 col-md-10"> |
240 | 240 | <h5 style="margin-top: 0;margin-bottom: 5px;"> |
241 | 241 | <i class="glyphicon glyphicon-user"></i> |
242 | - <?= Url::link(['profile/show', $post->sender_id], $post->senderUser->profile->getNickname(), ['style' => 'color: ' . $post->senderUser->role->color]) ?> |
|
242 | + <?= Url::link(['profile/show', $post->sender_id], $post->senderUser->profile->getNickname(), ['style' => 'color: '.$post->senderUser->role->color]) ?> |
|
243 | 243 | <small class="pull-right"><?= Date::humanize($post->updated_at); ?></small> |
244 | 244 | </h5> |
245 | 245 | <div class="object-text"> |
@@ -24,7 +24,7 @@ |
||
24 | 24 | <div class="row object-lightborder" id="wall-post-<?= $post->id ?>"> |
25 | 25 | <div class="col-xs-4 col-md-2"> |
26 | 26 | <div class="text-center"> |
27 | - <?= Url::link(['profile/show', $post->sender_id], $post->senderUser->profile->getNickname(), ['style' => 'color: ' . $post->senderUser->role->color]) ?> |
|
27 | + <?= Url::link(['profile/show', $post->sender_id], $post->senderUser->profile->getNickname(), ['style' => 'color: '.$post->senderUser->role->color]) ?> |
|
28 | 28 | <img class="img-responsive img-rounded" alt="Avatar of <?= $post->senderUser->profile->getNickname() ?>" src="<?= $post->senderUser->profile->getAvatarUrl('small') ?>" /> |
29 | 29 | <small><?= Date::humanize($post->updated_at); ?></small> |
30 | 30 | </div> |
@@ -33,7 +33,7 @@ |
||
33 | 33 | <?= $form->field('url', 'text', ['class' => 'form-control'], __('If you have your own homepage - enter url there')) ?> |
34 | 34 | <?php |
35 | 35 | foreach (ProfileField::all() as $custom) { |
36 | - echo $form->field('custom_data.' . $custom->id, 'text', ['class' => 'form-control']); |
|
36 | + echo $form->field('custom_data.'.$custom->id, 'text', ['class' => 'form-control']); |
|
37 | 37 | } |
38 | 38 | ?> |
39 | 39 |
@@ -32,7 +32,7 @@ |
||
32 | 32 | </div> |
33 | 33 | <?php |
34 | 34 | if ($model->items === null || count($model->items) < 1) { |
35 | - echo '<p class="alert alert-warning">' . __('No notifications available') . '</p>'; |
|
35 | + echo '<p class="alert alert-warning">'.__('No notifications available').'</p>'; |
|
36 | 36 | return; |
37 | 37 | } |
38 | 38 | ?> |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | |
28 | 28 | <?php |
29 | 29 | if ($records === null || $records->count() < 1) { |
30 | - echo '<p class="alert alert-warning">' . __('Answers is not founded') . '</p>'; |
|
30 | + echo '<p class="alert alert-warning">'.__('Answers is not founded').'</p>'; |
|
31 | 31 | return; |
32 | 32 | } |
33 | 33 | $items = []; |
@@ -35,21 +35,21 @@ discard block |
||
35 | 35 | foreach ($records as $item) { |
36 | 36 | $commentObject = $item->getCommentPost(); |
37 | 37 | $message = Text::cut(\App::$Security->strip_tags($item->message), 0, 75); |
38 | - $moderate = (bool)$item->moderate; |
|
38 | + $moderate = (bool) $item->moderate; |
|
39 | 39 | if ($moderate) { |
40 | 40 | $moderateIsFound = true; |
41 | 41 | } |
42 | 42 | |
43 | 43 | $items[] = [ |
44 | 44 | 1 => ['text' => $item->id], |
45 | - 2 => ['text' => ($moderate ? '<i class="fa fa-exclamation text-warning"></i> ' : null) . Url::link(['comments/read', $commentObject->id, null, ['#' => '#answer-' . $item->id]], $message), 'html' => true], |
|
46 | - 3 => ['text' => Simplify::parseUserLink((int)$item->user_id, $item->guest_name, 'user/update'), 'html' => true], |
|
47 | - 4 => ['text' => '<a href="' . App::$Alias->scriptUrl . $commentObject->pathway . '" target="_blank">' . Str::sub($commentObject->pathway, 0, 20) . '...</a>', 'html' => true], |
|
45 | + 2 => ['text' => ($moderate ? '<i class="fa fa-exclamation text-warning"></i> ' : null).Url::link(['comments/read', $commentObject->id, null, ['#' => '#answer-'.$item->id]], $message), 'html' => true], |
|
46 | + 3 => ['text' => Simplify::parseUserLink((int) $item->user_id, $item->guest_name, 'user/update'), 'html' => true], |
|
47 | + 4 => ['text' => '<a href="'.App::$Alias->scriptUrl.$commentObject->pathway.'" target="_blank">'.Str::sub($commentObject->pathway, 0, 20).'...</a>', 'html' => true], |
|
48 | 48 | 5 => ['text' => Date::convertToDatetime($item->created_at, Date::FORMAT_TO_HOUR)], |
49 | - 6 => ['text' => Url::link(['comments/read', $commentObject->id], '<i class="fa fa-list fa-lg"></i>') . |
|
50 | - ' ' . Url::link(['comments/delete', 'answer', $item->id], '<i class="fa fa-trash-o fa-lg"></i>'), |
|
49 | + 6 => ['text' => Url::link(['comments/read', $commentObject->id], '<i class="fa fa-list fa-lg"></i>'). |
|
50 | + ' '.Url::link(['comments/delete', 'answer', $item->id], '<i class="fa fa-trash-o fa-lg"></i>'), |
|
51 | 51 | 'html' => true, 'property' => ['class' => 'text-center']], |
52 | - 'property' => ['class' => 'checkbox-row' . ($moderate !== false ? ' alert-warning' : null)] |
|
52 | + 'property' => ['class' => 'checkbox-row'.($moderate !== false ? ' alert-warning' : null)] |
|
53 | 53 | ]; |
54 | 54 | } |
55 | 55 |