@@ -27,7 +27,7 @@ |
||
27 | 27 | |
28 | 28 | <?= $form->fieldset()->text('usersOnPage', null, __('How many users will be displayed per one list page?')) ?> |
29 | 29 | <?= $form->fieldset()->boolean('guestView', null, __('Allow guests view user profiles?')) ?> |
30 | -<?= $form->fieldset()->text('wallPostOnPage', null, __('How many wall posts must be displayed in one page of profile?')) ?> |
|
30 | +<?= $form->fieldset()->text('wallPostOnPage', null, __('How many wall posts must be displayed in one page of profile?')) ?> |
|
31 | 31 | <?= $form->fieldset()->text('wallPostOnFeed', null, __('How many wall posts must be displayed on one page of feed list?')) ?> |
32 | 32 | <?= $form->fieldset()->text('delayBetweenPost', null, __('Delay between 2 posts on wall from one user in seconds')) ?> |
33 | 33 | <?= $form->fieldset()->boolean('rating', null, __('Enable user rating system?')) ?> |
@@ -32,7 +32,7 @@ |
||
32 | 32 | ['text' => $model->type] |
33 | 33 | ])->row([ |
34 | 34 | ['text' => $model->getLabel('reg_exp')], |
35 | - ['text' => ($model->reg_cond == 0 ? '!' : null) . 'preg_match("'.$model->reg_exp.'", $input)'] |
|
35 | + ['text' => ($model->reg_cond == 0 ? '!' : null).'preg_match("'.$model->reg_exp.'", $input)'] |
|
36 | 36 | ])->display(); |
37 | 37 | ?> |
38 | 38 | </div> |
@@ -35,7 +35,7 @@ |
||
35 | 35 | $menu->menu([ |
36 | 36 | 'text' => Str::upperCase($lang), |
37 | 37 | 'tab' => function() use ($form, $lang) { |
38 | - return $form->fieldset()->text('name.' . $lang, null, __('Define field name, which be displayed for user for current language locale')); |
|
38 | + return $form->fieldset()->text('name.'.$lang, null, __('Define field name, which be displayed for user for current language locale')); |
|
39 | 39 | }, |
40 | 40 | 'tabActive' => $lang === \App::$Request->getLanguage(), |
41 | 41 | ]); |
@@ -42,8 +42,8 @@ |
||
42 | 42 | ['text' => $profile->user->email], |
43 | 43 | ['text' => $profile->nick], |
44 | 44 | ['text' => Str::startsWith('0000-', $profile->birthday) ? __('None') : Date::convertToDatetime($profile->birthday)], |
45 | - ['text' => ($profile->rating > 0 ? '+' : null) . $profile->rating], |
|
46 | - ['text' => Url::a(['profile/update', [$profile->id]], '<i class="fa fa-pencil fa-lg"></i> ', ['html' => true]) . |
|
45 | + ['text' => ($profile->rating > 0 ? '+' : null).$profile->rating], |
|
46 | + ['text' => Url::a(['profile/update', [$profile->id]], '<i class="fa fa-pencil fa-lg"></i> ', ['html' => true]). |
|
47 | 47 | Url::a(['user/delete', [$profile->user->id]], '<i class="fa fa-trash-o fa-lg"></i>', ['html' => true]), |
48 | 48 | 'html' => true, 'properties' => ['class' => 'text-center']] |
49 | 49 | ]); |
@@ -26,7 +26,7 @@ |
||
26 | 26 | $query = Profile::with(['user']); |
27 | 27 | |
28 | 28 | // set current page and offset |
29 | - $page = (int)$this->request->query->get('page'); |
|
29 | + $page = (int) $this->request->query->get('page'); |
|
30 | 30 | $offset = $page * self::ITEM_PER_PAGE; |
31 | 31 | |
32 | 32 | // count total items count for pagination builder |