Passed
Push — master ( 8c2e39...2e8ca4 )
by WILMER
13:51
created
widgets/MainSidebar.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
                 '{right-icon}'     => isset($item['right-icon']) ? $item['right-icon'] : '',
99 99
                 '{url}'            => Url::to($item['url']),
100 100
                 '{label}'          => $item['label'],
101
-                '{linkOptions}'    => isset($item['linkOptions']) ? Html::renderTagAttributes($item['linkOptions']): '',
101
+                '{linkOptions}'    => isset($item['linkOptions']) ? Html::renderTagAttributes($item['linkOptions']) : '',
102 102
             ]);
103 103
         } else {
104 104
             $template = ArrayHelper::getValue($item, 'template', $this->labelTemplate);
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
                 '{icon}'           => isset($item['icon']) ? $item['icon'] : '',
108 108
                 '{right-icon}'     => isset($item['right-icon']) ? $item['right-icon'] : '',
109 109
                 '{label}'          => $item['label'],
110
-                '{linkOptions}'    => isset($item['linkOptions']) ? Html::renderTagAttributes($item['linkOptions']): '',
110
+                '{linkOptions}'    => isset($item['linkOptions']) ? Html::renderTagAttributes($item['linkOptions']) : '',
111 111
             ]);
112 112
 
113 113
         }
Please login to merge, or discard this patch.
views/frontend/site/requestPasswordResetToken.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,13 +23,13 @@
 block discarded – undo
23 23
 /* @var $model \frontend\models\ResetPasswordForm */
24 24
 
25 25
 $this->title = 'Reset password';
26
-$this->params['breadcrumbs'][] = Yii::t('adminlte',$this->title);
26
+$this->params['breadcrumbs'][] = Yii::t('adminlte', $this->title);
27 27
 
28 28
 ?>
29 29
 
30 30
 <?= Html::beginTag('div', ['class' => 'form-box', 'id' => 'site-reset-password', 'style' => 'min-width: 280px; width:30%']) ?>
31 31
     <?= Html::beginTag('div', ['class' => 'header']) ?>
32
-        <?= Html::tag('h3', Html::encode(Yii::t('adminlte',$this->title)), ['class' => 'panel-title-custom']) ?>
32
+        <?= Html::tag('h3', Html::encode(Yii::t('adminlte', $this->title)), ['class' => 'panel-title-custom']) ?>
33 33
     <?= Html::endTag('div') ?>
34 34
     <?= Html::beginTag('div', ['class' => 'body']) ?>
35 35
         <?= Html::tag('p', Yii::t('adminlte', 'Please choose your new password.'), ['style' => '  text-align: justify;']) ?>
Please login to merge, or discard this patch.
views/frontend/site/contact.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,13 +23,13 @@
 block discarded – undo
23 23
 /* @var $model \frontend\models\ResetPasswordForm */
24 24
 
25 25
 $this->title = 'Reset password';
26
-$this->params['breadcrumbs'][] = Yii::t('adminlte',$this->title);
26
+$this->params['breadcrumbs'][] = Yii::t('adminlte', $this->title);
27 27
 
28 28
 ?>
29 29
 
30 30
 <?= Html::beginTag('div', ['class' => 'form-box', 'id' => 'site-reset-password', 'style' => 'min-width: 280px; width:30%']) ?>
31 31
     <?= Html::beginTag('div', ['class' => 'header']) ?>
32
-        <?= Html::tag('h3', Html::encode(Yii::t('adminlte',$this->title)), ['class' => 'panel-title-custom']) ?>
32
+        <?= Html::tag('h3', Html::encode(Yii::t('adminlte', $this->title)), ['class' => 'panel-title-custom']) ?>
33 33
     <?= Html::endTag('div') ?>
34 34
     <?= Html::beginTag('div', ['class' => 'body']) ?>
35 35
         <?= Html::tag('p', Yii::t('adminlte', 'Please choose your new password.'), ['style' => '  text-align: justify;']) ?>
Please login to merge, or discard this patch.
views/frontend/site/signup.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,13 +23,13 @@
 block discarded – undo
23 23
 /* @var $model \frontend\models\ResetPasswordForm */
24 24
 
25 25
 $this->title = 'Reset password';
26
-$this->params['breadcrumbs'][] = Yii::t('adminlte',$this->title);
26
+$this->params['breadcrumbs'][] = Yii::t('adminlte', $this->title);
27 27
 
28 28
 ?>
29 29
 
30 30
 <?= Html::beginTag('div', ['class' => 'form-box', 'id' => 'site-reset-password', 'style' => 'min-width: 280px; width:30%']) ?>
31 31
     <?= Html::beginTag('div', ['class' => 'header']) ?>
32
-        <?= Html::tag('h3', Html::encode(Yii::t('adminlte',$this->title)), ['class' => 'panel-title-custom']) ?>
32
+        <?= Html::tag('h3', Html::encode(Yii::t('adminlte', $this->title)), ['class' => 'panel-title-custom']) ?>
33 33
     <?= Html::endTag('div') ?>
34 34
     <?= Html::beginTag('div', ['class' => 'body']) ?>
35 35
         <?= Html::tag('p', Yii::t('adminlte', 'Please choose your new password.'), ['style' => '  text-align: justify;']) ?>
Please login to merge, or discard this patch.
views/backend/layouts/_footer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
             <?= Html::endTag('div') ?>
30 30
             <?= AdminLteHelper::powered() ?>
31 31
             <?= Html::beginTag('div', ['class' => 'pull-right-custom']) ?>
32
-                <?= Html::tag('span', Yii::t('adminlte', 'Social Networks:'), ['class' => 'hidden-xs','style' => 'padding-right: 5px']) ?>
32
+                <?= Html::tag('span', Yii::t('adminlte', 'Social Networks:'), ['class' => 'hidden-xs', 'style' => 'padding-right: 5px']) ?>
33 33
                 <?= Html::a('', \yii::$app->params['Facebook_Account'], ['class' => 'iconos ion-social-facebook fa-2x', 'target' => '_blank']) ?>
34 34
                 <?= Html::a('', \yii::$app->params['Twitter_Account'], ['class' => 'iconos ion-social-twitter fa-2x', 'target' => '_blank']) ?>
35 35
                 <?= Html::a('', \yii::$app->params['Google_Account'], ['class' => 'iconos ion-social-googleplus fa-2x', 'target' => '_blank']) ?>
Please login to merge, or discard this patch.
views/backend/layouts/_menuser.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
 use yii\helpers\Html;
19 19
 use yii\bootstrap\Nav;
20 20
 
21
-$menuUser[] = ['label' => html::tag('i', '',['class' => 'glyphicon glyphicon-user']) . \yii::$app->user->identity->username,
21
+$menuUser[] = ['label' => html::tag('i', '', ['class' => 'glyphicon glyphicon-user']) . \yii::$app->user->identity->username,
22 22
     'options'=> ['class'=>'dropdown user user-menu'],
23 23
     'items' => [
24 24
         Html::tag('li',
@@ -26,10 +26,10 @@  discard block
 block discarded – undo
26 26
             Html::tag('p',
27 27
                 \yii::$app->user->identity->username .
28 28
                 Html::tag('small', '&nbsp' . Yii::t('adminlte', 'Member Since:') . '&nbsp' . Yii::t('adminlte', '{0, date, MMMM dd, YYYY HH:mm}', \yii::$app->user->identity->created_at))
29
-            ),['class' => 'user-header bg-light']),
29
+            ), ['class' => 'user-header bg-light']),
30 30
         Html::tag('li',
31 31
             Html::tag('div',
32
-                Html::a(Yii::t('adminlte', 'Logout'),['/site/logout'], ['class' => 'btn bg-black', 'data-method'=>'post'])
32
+                Html::a(Yii::t('adminlte', 'Logout'), ['/site/logout'], ['class' => 'btn bg-black', 'data-method'=>'post'])
33 33
                 ,['class' => 'pull-right'])
34 34
             ,['class' => 'user-footer'])
35 35
     ],
Please login to merge, or discard this patch.
views/backend/layouts/_menu.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -21,17 +21,17 @@
 block discarded – undo
21 21
 $user = \yii::$app->user->identity;
22 22
 
23 23
 $menuItems = [
24
-    ['label' => Html::tag('i', '', ['class' => 'fa fa-home fa-lg']) . ' ' .  Yii::t('adminlte', 'Home'), 'url' => ['/site/index']],
24
+    ['label' => Html::tag('i', '', ['class' => 'fa fa-home fa-lg']) . ' ' . Yii::t('adminlte', 'Home'), 'url' => ['/site/index']],
25 25
 ];
26 26
 
27 27
 if (Yii::$app->user->isGuest) {
28 28
     $menuItems[] = ['label' => Html::tag('i', '', ['class' => 'fa fa-sign-in fa-lg']) . ' ' . Yii::t('adminlte', 'Login'), 'url' => ['/site/login']];
29 29
 } else {
30 30
     $baseimg = Yii::$app->session->get('user.avatar60');
31
-    $menuItems[] = ['label' => $user->username . ' ' .  Html::img($baseimg, $options = ['class'=>'img-rounded', 'aria-expanded'=>'false']),
31
+    $menuItems[] = ['label' => $user->username . ' ' . Html::img($baseimg, $options = ['class'=>'img-rounded', 'aria-expanded'=>'false']),
32 32
         'items' => [
33 33
             ['label' => Html::tag('i', '', ['class' => 'fa fa-user fa-lg']) . ' ' . Yii::t('adminlte', 'User Profile'), 'url' => ['/user/settings/profile']],
34
-            ['label' => Html::tag('i', '', ['class' => 'fa fa-sign-out fa-lg']) . ' ' . Yii::t('adminlte', 'Logout'), 'url' => ['/site/logout'],'linkOptions' => ['data-method' => 'post']],
34
+            ['label' => Html::tag('i', '', ['class' => 'fa fa-sign-out fa-lg']) . ' ' . Yii::t('adminlte', 'Logout'), 'url' => ['/site/logout'], 'linkOptions' => ['data-method' => 'post']],
35 35
         ],
36 36
     ];
37 37
 }
Please login to merge, or discard this patch.
views/frontend/layouts/_menu.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -21,8 +21,8 @@  discard block
 block discarded – undo
21 21
 $user = \yii::$app->user->identity;
22 22
 
23 23
 $menuItems = [
24
-    ['label' => Html::tag('i', '', ['class' => 'fa fa-home fa-lg']) . ' ' .  Yii::t('adminlte', 'Home'), 'url' => ['/site/index']],
25
-    ['label' => Html::tag('i', '', ['class' => 'fa fa-spinner fa-lg fa-spin']) . ' ' .  Yii::t('adminlte', 'About Us'), 'url' => ['/site/about']],
24
+    ['label' => Html::tag('i', '', ['class' => 'fa fa-home fa-lg']) . ' ' . Yii::t('adminlte', 'Home'), 'url' => ['/site/index']],
25
+    ['label' => Html::tag('i', '', ['class' => 'fa fa-spinner fa-lg fa-spin']) . ' ' . Yii::t('adminlte', 'About Us'), 'url' => ['/site/about']],
26 26
     ['label' => Html::tag('i', '', ['class' => 'fa fa-envelope fa-lg']) . ' ' . Yii::t('adminlte', 'Contact'), 'url' => ['/site/contact']],
27 27
 ];
28 28
 
@@ -31,10 +31,10 @@  discard block
 block discarded – undo
31 31
     $menuItems[] = ['label' => Html::tag('i', '', ['class' => 'fa fa-sign-in fa-lg']) . ' ' . Yii::t('adminlte', 'Login'), 'url' => ['/site/login']];
32 32
 } else {
33 33
     $baseimg = Yii::$app->session->get('user.avatar60');
34
-    $menuItems[] = ['label' => $user->username . ' ' .  Html::img($baseimg, $options = ['class'=>'img-rounded', 'aria-expanded'=>'false']),
34
+    $menuItems[] = ['label' => $user->username . ' ' . Html::img($baseimg, $options = ['class'=>'img-rounded', 'aria-expanded'=>'false']),
35 35
         'items' => [
36 36
             ['label' => Html::tag('i', '', ['class' => 'fa fa-user fa-lg']) . ' ' . Yii::t('adminlte', 'User Profile'), 'url' => ['/user/settings/profile']],
37
-            ['label' => Html::tag('i', '', ['class' => 'fa fa-sign-out fa-lg']) . ' ' . Yii::t('adminlte', 'Logout'), 'url' => ['/site/logout'],'linkOptions' => ['data-method' => 'post']],
37
+            ['label' => Html::tag('i', '', ['class' => 'fa fa-sign-out fa-lg']) . ' ' . Yii::t('adminlte', 'Logout'), 'url' => ['/site/logout'], 'linkOptions' => ['data-method' => 'post']],
38 38
         ],
39 39
     ];
40 40
 }
Please login to merge, or discard this patch.