controller->id == 'auth/auth' && in_array(Yii::$app->controller->action->id, ['login', 'request', 'confirm', 'login-hub', 'login-token', 'reset'])) { echo $this->render( 'main-login', ['content' => $content] ); } else { AppAsset::register($this); AdminLteAsset::register($this); AdminLteFontsAsset::register($this); //if (Yii::$app->params['theme'] == \app\forms\SettingsForm::THEME_BLACK) { //AdminLteDarkAsset::register($this); //} //else { AdminLteLightAsset::register($this); //} $css = <<registerCss($css); ?> beginPage() ?> <?= Html::encode($this->title) ?> head() ?> beginBody() ?>
render('header.php') ?> render('left.php') ?> render( 'content.php', ['content' => $content] ) ?>
ZxCMS ©
endBody() ?> endPage() ?>