| @@ -36,7 +36,8 @@ discard block | ||
| 36 | 36 | <!-- User Account: style can be found in dropdown.less --> | 
| 37 | 37 |                  <?= $this->render('_menuser') ?> | 
| 38 | 38 |              <?= Html::endTag('div') ?> | 
| 39 | - <?php else: ?> | |
| 39 | +            <?php else { | |
| 40 | + : ?> | |
| 40 | 41 |                  <?= Html::beginTag('div', ['class' => 'navbar-header']) ?> | 
| 41 | 42 | <!-- Add the class icon to your logo image or logo icon to add the margining --> | 
| 42 | 43 |                      <?= Html::beginTag('div', ['class' => 'navbar-brand']) ?> | 
| @@ -48,6 +49,8 @@ discard block | ||
| 48 | 49 |                  <?= Html::beginTag('div', ['class' => 'collapse navbar-collapse', 'id' => 'navbar-collapse']) ?> | 
| 49 | 50 |                      <?= $this->render('_menu') ?> | 
| 50 | 51 |                  <?= Html::endTag('div') ?> | 
| 51 | - <?php endif; ?> | |
| 52 | + <?php endif; | |
| 53 | +} | |
| 54 | +?> | |
| 52 | 55 |      <?= Html::endTag('nav') ?> | 
| 53 | 56 |  <?= Html::endTag('header') ?> | 
| 54 | 57 | \ No newline at end of file | 
| @@ -30,7 +30,7 @@ discard block | ||
| 30 | 30 | <!-- Sidebar toggle button--> | 
| 31 | 31 |              <?= Html::a(Html::tag('span', 'Toggle navigation', ['class' => 'sr-only']) . | 
| 32 | 32 |                  Html::tag('span', '', ['class' => 'icon-bar']) . Html::tag('span', '', ['class' => 'icon-bar']) | 
| 33 | - ,'#', ['class' => 'sidebar-toggle', 'data-toggle'=>'offcanvas','role'=>'button']) | |
| 33 | + ,'#', ['class' => 'sidebar-toggle', 'data-toggle'=>'offcanvas', 'role'=>'button']) | |
| 34 | 34 | ?> | 
| 35 | 35 |              <?= Html::beginTag('div', ['class' => 'navbar-custom-menu']) ?> | 
| 36 | 36 | <!-- User Account: style can be found in dropdown.less --> | 
| @@ -42,7 +42,7 @@ discard block | ||
| 42 | 42 |                      <?= Html::beginTag('div', ['class' => 'navbar-brand']) ?> | 
| 43 | 43 | <?= Html::a(\yii::$app->params['WebName'], \Yii::$app->homeUrl, ['class' => 'panel-title-custom']) ?> | 
| 44 | 44 |                      <?= Html::endTag('div') ?> | 
| 45 | -                    <?= Html::button(html::tag('i', '',['class' => 'fa fa-bars']), ['class' => 'navbar-toggle collapsed', 'type' => 'button', | |
| 45 | +                    <?= Html::button(html::tag('i', '', ['class' => 'fa fa-bars']), ['class' => 'navbar-toggle collapsed', 'type' => 'button', | |
| 46 | 46 | 'data-toggle' => 'collapse', 'data-target' => '#navbar-collapse']) ?> | 
| 47 | 47 |                  <?= Html::endTag('div') ?> | 
| 48 | 48 |                  <?= Html::beginTag('div', ['class' => 'collapse navbar-collapse', 'id' => 'navbar-collapse']) ?> | 
| @@ -36,7 +36,7 @@ discard block | ||
| 36 | 36 |              <?= Html::tag('meta', '', ['charset' => Yii::$app->charset]) ?> | 
| 37 | 37 |              <?= Html::tag('meta', '', ['content' => 'width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no', 'name' => 'viewport']) ?> | 
| 38 | 38 | <?= Html::csrfMetaTags() ?> | 
| 39 | -            <?= Html::tag('title', Html::encode(Yii::t('adminlte',$this->title))) ?> | |
| 39 | +            <?= Html::tag('title', Html::encode(Yii::t('adminlte', $this->title))) ?> | |
| 40 | 40 | <?php $this->head() ?> | 
| 41 | 41 | <!-- Theme style --> | 
| 42 | 42 | <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> | 
| @@ -47,8 +47,8 @@ discard block | ||
| 47 | 47 | <![endif]--> | 
| 48 | 48 |          <?= Html::endTag('head') ?> | 
| 49 | 49 | <?php $this->beginBody() ?> | 
| 50 | -            <?= Html::begintag('body', ['class' => (!Yii::$app->user->isGuest) ? 'hold-transition ' .\yii::$app->params['AdminLTESkinBackend' | |
| 51 | - ] . ' sidebar-collapse sidebar-mini' : 'hold-transition layout-top-nav '. \yii::$app->params['AdminLTESkinBackend']]) ?> | |
| 50 | +            <?= Html::begintag('body', ['class' => (!Yii::$app->user->isGuest) ? 'hold-transition ' . \yii::$app->params['AdminLTESkinBackend' | |
| 51 | + ] . ' sidebar-collapse sidebar-mini' : 'hold-transition layout-top-nav ' . \yii::$app->params['AdminLTESkinBackend']]) ?> | |
| 52 | 52 |                  <?= Html::beginTag('div', ['class' => 'wrapper']) ?> | 
| 53 | 53 | <!-- header logo: style can be found in header.less --> | 
| 54 | 54 |                      <?= $this->render('_header') ?> | 
| @@ -84,7 +84,7 @@ discard block | ||
| 84 | 84 | <!-- /.content --> | 
| 85 | 85 |                          <?= Html::endTag('div') ?> | 
| 86 | 86 | <!-- /.right-side --> | 
| 87 | - <?php else: ?> | |
| 87 | + <?php else : ?> | |
| 88 | 88 | <!-- ./Left side column. --> | 
| 89 | 89 | <!-- Right side column. Contains the navbar and content of the page --> | 
| 90 | 90 | <!-- Navigation --> | 
| @@ -85,7 +85,8 @@ discard block | ||
| 85 | 85 | <!-- /.content --> | 
| 86 | 86 |                          <?= Html::endTag('div') ?> | 
| 87 | 87 | <!-- /.right-side --> | 
| 88 | - <?php else: ?> | |
| 88 | +                        <?php else { | |
| 89 | + : ?> | |
| 89 | 90 | <!-- ./Left side column. --> | 
| 90 | 91 | <!-- Right side column. Contains the navbar and content of the page --> | 
| 91 | 92 | <!-- Navigation --> | 
| @@ -105,7 +106,9 @@ discard block | ||
| 105 | 106 |                                      <?= Html::endTag('div') ?> | 
| 106 | 107 |                                  <?= Html::endTag('section') ?> | 
| 107 | 108 |                              <?= Html::endTag('div') ?> | 
| 108 | - <?php endif; ?> | |
| 109 | + <?php endif; | |
| 110 | +} | |
| 111 | +?> | |
| 109 | 112 | <!-- ./Right side column. --> | 
| 110 | 113 |                      <?= $this->render('_footer') ?> | 
| 111 | 114 |                  <?= Html::endTag('div') ?> | 
| @@ -33,7 +33,7 @@ | ||
| 33 | 33 |              <?= html::tag('h3', Html::encode(Yii::t('adminlte', $this->title)), ['class' => 'panel-title-custom']) ?> | 
| 34 | 34 |          <?= Html::endTag('div') ?> | 
| 35 | 35 |          <?= Html::beginTag('div', ['class' => 'body']) ?> | 
| 36 | -            <?= Html::tag('p', Html::encode(Yii::t('adminlte','Please fill out the following fields.')), ['class' => 'login-box-msg']) ?> | |
| 36 | +            <?= Html::tag('p', Html::encode(Yii::t('adminlte', 'Please fill out the following fields.')), ['class' => 'login-box-msg']) ?> | |
| 37 | 37 | |
| 38 | 38 | <?php $form = ActiveForm::begin([ | 
| 39 | 39 | 'id' => 'form-site-login-backend', | 
| @@ -30,7 +30,7 @@ discard block | ||
| 30 | 30 | <!-- Sidebar toggle button--> | 
| 31 | 31 |              <?= Html::a(Html::tag('span', 'Toggle navigation', ['class' => 'sr-only']) . | 
| 32 | 32 |                  Html::tag('span', '', ['class' => 'icon-bar']) . Html::tag('span', '', ['class' => 'icon-bar']) | 
| 33 | - ,'#', ['class' => 'sidebar-toggle', 'data-toggle'=>'offcanvas','role'=>'button']) | |
| 33 | + ,'#', ['class' => 'sidebar-toggle', 'data-toggle'=>'offcanvas', 'role'=>'button']) | |
| 34 | 34 | ?> | 
| 35 | 35 |              <?= Html::beginTag('div', ['class' => 'navbar-custom-menu']) ?> | 
| 36 | 36 | <!-- User Account: style can be found in dropdown.less --> | 
| @@ -42,7 +42,7 @@ discard block | ||
| 42 | 42 |                      <?= Html::beginTag('div', ['class' => 'navbar-brand']) ?> | 
| 43 | 43 | <?= Html::a(\yii::$app->params['WebName'], \Yii::$app->homeUrl, ['class' => 'panel-title-custom']) ?> | 
| 44 | 44 |                      <?= Html::endTag('div') ?> | 
| 45 | -                    <?= Html::button(html::tag('i', '',['class' => 'fa fa-bars']), ['class' => 'navbar-toggle collapsed', 'type' => 'button', | |
| 45 | +                    <?= Html::button(html::tag('i', '', ['class' => 'fa fa-bars']), ['class' => 'navbar-toggle collapsed', 'type' => 'button', | |
| 46 | 46 | 'data-toggle' => 'collapse', 'data-target' => '#navbar-collapse']) ?> | 
| 47 | 47 |                  <?= Html::endTag('div') ?> | 
| 48 | 48 |                  <?= Html::beginTag('div', ['class' => 'collapse navbar-collapse', 'id' => 'navbar-collapse']) ?> | 
| @@ -36,7 +36,8 @@ discard block | ||
| 36 | 36 | <!-- User Account: style can be found in dropdown.less --> | 
| 37 | 37 |                  <?= $this->render('_menuser') ?> | 
| 38 | 38 |              <?= Html::endTag('div') ?> | 
| 39 | - <?php else: ?> | |
| 39 | +            <?php else { | |
| 40 | + : ?> | |
| 40 | 41 |                  <?= Html::beginTag('div', ['class' => 'navbar-header']) ?> | 
| 41 | 42 | <!-- Add the class icon to your logo image or logo icon to add the margining --> | 
| 42 | 43 |                      <?= Html::beginTag('div', ['class' => 'navbar-brand']) ?> | 
| @@ -48,6 +49,8 @@ discard block | ||
| 48 | 49 |                  <?= Html::beginTag('div', ['class' => 'collapse navbar-collapse', 'id' => 'navbar-collapse']) ?> | 
| 49 | 50 |                      <?= $this->render('_menu') ?> | 
| 50 | 51 |                  <?= Html::endTag('div') ?> | 
| 51 | - <?php endif; ?> | |
| 52 | + <?php endif; | |
| 53 | +} | |
| 54 | +?> | |
| 52 | 55 |      <?= Html::endTag('nav') ?> | 
| 53 | 56 |  <?= Html::endTag('header') ?> | 
| @@ -37,7 +37,7 @@ discard block | ||
| 37 | 37 |              <?= Html::tag('meta', '', ['charset' => Yii::$app->charset]) ?> | 
| 38 | 38 |              <?= Html::tag('meta', '', ['content' => 'width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no', 'name' => 'viewport']) ?> | 
| 39 | 39 | <?= Html::csrfMetaTags() ?> | 
| 40 | -            <?= Html::tag('title', Html::encode(Yii::t('adminlte',$this->title))) ?> | |
| 40 | +            <?= Html::tag('title', Html::encode(Yii::t('adminlte', $this->title))) ?> | |
| 41 | 41 | <!-- Theme style --> | 
| 42 | 42 | <?php $this->head() ?> | 
| 43 | 43 | <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> | 
| @@ -48,8 +48,8 @@ discard block | ||
| 48 | 48 | <![endif]--> | 
| 49 | 49 |          <?= Html::endTag('head') ?> | 
| 50 | 50 | <?php $this->beginBody() ?> | 
| 51 | -            <?= Html::begintag('body', ['class' => (!Yii::$app->user->isGuest) ? 'hold-transition ' .\yii::$app->params['AdminLTESkinFrontend' | |
| 52 | - ] . ' sidebar-collapse sidebar-mini' : 'hold-transition layout-top-nav '. \yii::$app->params['AdminLTESkinFrontend']]) ?> | |
| 51 | +            <?= Html::begintag('body', ['class' => (!Yii::$app->user->isGuest) ? 'hold-transition ' . \yii::$app->params['AdminLTESkinFrontend' | |
| 52 | + ] . ' sidebar-collapse sidebar-mini' : 'hold-transition layout-top-nav ' . \yii::$app->params['AdminLTESkinFrontend']]) ?> | |
| 53 | 53 |                  <?= Html::beginTag('div', ['class' => 'wrapper']) ?> | 
| 54 | 54 | <!-- header logo: style can be found in header.less --> | 
| 55 | 55 |                      <?= $this->render('_header') ?> | 
| @@ -85,7 +85,7 @@ discard block | ||
| 85 | 85 | <!-- /.content --> | 
| 86 | 86 |                          <?= Html::endTag('div') ?> | 
| 87 | 87 | <!-- /.right-side --> | 
| 88 | - <?php else: ?> | |
| 88 | + <?php else : ?> | |
| 89 | 89 | <!-- ./Left side column. --> | 
| 90 | 90 | <!-- Right side column. Contains the navbar and content of the page --> | 
| 91 | 91 | <!-- Navigation --> | 
| @@ -85,7 +85,8 @@ discard block | ||
| 85 | 85 | <!-- /.content --> | 
| 86 | 86 |                          <?= Html::endTag('div') ?> | 
| 87 | 87 | <!-- /.right-side --> | 
| 88 | - <?php else: ?> | |
| 88 | +                        <?php else { | |
| 89 | + : ?> | |
| 89 | 90 | <!-- ./Left side column. --> | 
| 90 | 91 | <!-- Right side column. Contains the navbar and content of the page --> | 
| 91 | 92 | <!-- Navigation --> | 
| @@ -105,7 +106,9 @@ discard block | ||
| 105 | 106 |                                      <?= Html::endTag('div') ?> | 
| 106 | 107 |                                  <?= Html::endTag('section') ?> | 
| 107 | 108 |                              <?= Html::endTag('div') ?> | 
| 108 | - <?php endif; ?> | |
| 109 | + <?php endif; | |
| 110 | +} | |
| 111 | +?> | |
| 109 | 112 | <!-- ./Right side column. --> | 
| 110 | 113 |                      <?= $this->render('_footer') ?> | 
| 111 | 114 |                  <?= Html::endTag('div') ?> | 
| @@ -18,7 +18,7 @@ discard block | ||
| 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 | ||
| 26 | 26 |              Html::tag('p', | 
| 27 | 27 | \yii::$app->user->identity->username . | 
| 28 | 28 |                  Html::tag('small', ' ' . Yii::t('adminlte', 'Member Since:') . ' ' . 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 | ], | 
| @@ -29,7 +29,7 @@ | ||
| 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']) ?> | 
| @@ -19,19 +19,19 @@ | ||
| 19 | 19 | |
| 20 | 20 | /* @var $this yii\web\View */ | 
| 21 | 21 | $this->title = 'About Us'; | 
| 22 | -$this->params['breadcrumbs'][] = Yii::t('adminlte',$this->title); | |
| 22 | +$this->params['breadcrumbs'][] = Yii::t('adminlte', $this->title); | |
| 23 | 23 | |
| 24 | 24 | ?> | 
| 25 | 25 | |
| 26 | -<?= Html::beginTag('div', ['class' => 'form-box', 'id' => 'site-about','style' => 'min-width: 280px']) ?> | |
| 26 | +<?= Html::beginTag('div', ['class' => 'form-box', 'id' => 'site-about', 'style' => 'min-width: 280px']) ?> | |
| 27 | 27 |      <?= Html::beginTag('div', ['class' => 'header']) ?> | 
| 28 | -        <?= Html::tag('h3', Html::encode(Yii::t('adminlte',$this->title)), ['class' => 'panel-title-custom']) ?> | |
| 28 | +        <?= Html::tag('h3', Html::encode(Yii::t('adminlte', $this->title)), ['class' => 'panel-title-custom']) ?> | |
| 29 | 29 |      <?= Html::endTag('div') ?> | 
| 30 | 30 |      <?= Html::beginTag('div', ['class' => 'body']) ?> | 
| 31 | 31 |          <?= Html::tag('p', '') ?> | 
| 32 | 32 |          <?= Html::tag('p', Yii::t('adminlte', 'This is the About page. You may modify the following file to customize its content:'), ['style' => '  text-align: justify;']) ?> | 
| 33 | 33 |          <?= Html::tag('p', '') ?> | 
| 34 | -        <?= Html::tag('code',  __FILE__) ?> | |
| 34 | +        <?= Html::tag('code', __FILE__) ?> | |
| 35 | 35 |          <?= Html::tag('p', '') ?> | 
| 36 | 36 |      <?= Html::endTag('div') ?> | 
| 37 | 37 |  <?= Html::endTag('div') ?> | 
| @@ -23,13 +23,13 @@ | ||
| 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;']) ?> |