From 8995c0b0cae7b5bbd776ddcc735ba4f31bec5fe4 Mon Sep 17 00:00:00 2001 From: Alexander Makarov <sam@rmcreative.ru> Date: Thu, 28 Nov 2013 01:19:43 +0400 Subject: [PATCH] Code style fixes for layouts --- apps/advanced/backend/views/layouts/main.php | 10 +++++----- apps/advanced/frontend/views/layouts/main.php | 10 +++++----- apps/basic/views/layouts/main.php | 10 +++++----- extensions/debug/views/layouts/main.php | 10 +++++----- extensions/gii/views/layouts/main.php | 10 +++++----- 5 files changed, 25 insertions(+), 25 deletions(-) diff --git a/apps/advanced/backend/views/layouts/main.php b/apps/advanced/backend/views/layouts/main.php index fdffc26..1857e62 100644 --- a/apps/advanced/backend/views/layouts/main.php +++ b/apps/advanced/backend/views/layouts/main.php @@ -11,16 +11,16 @@ use yii\widgets\Breadcrumbs; */ AppAsset::register($this); ?> -<?php $this->beginPage(); ?> +<?php $this->beginPage() ?> <!DOCTYPE html> <html lang="<?= Yii::$app->language ?>"> <head> <meta charset="<?= Yii::$app->charset ?>"/> <title><?= Html::encode($this->title) ?></title> - <?php $this->head(); ?> + <?php $this->head() ?> </head> <body> - <?php $this->beginBody(); ?> + <?php $this->beginBody() ?> <?php NavBar::begin([ 'brandLabel' => 'My Company', @@ -58,7 +58,7 @@ AppAsset::register($this); </div> </footer> - <?php $this->endBody(); ?> + <?php $this->endBody() ?> </body> </html> -<?php $this->endPage(); ?> +<?php $this->endPage() ?> diff --git a/apps/advanced/frontend/views/layouts/main.php b/apps/advanced/frontend/views/layouts/main.php index febcc5a..7bc03d2 100644 --- a/apps/advanced/frontend/views/layouts/main.php +++ b/apps/advanced/frontend/views/layouts/main.php @@ -12,16 +12,16 @@ use frontend\widgets\Alert; */ AppAsset::register($this); ?> -<?php $this->beginPage(); ?> +<?php $this->beginPage() ?> <!DOCTYPE html> <html lang="<?= Yii::$app->language ?>"> <head> <meta charset="<?= Yii::$app->charset ?>"/> <title><?= Html::encode($this->title) ?></title> - <?php $this->head(); ?> + <?php $this->head() ?> </head> <body> - <?php $this->beginBody(); ?> + <?php $this->beginBody() ?> <?php NavBar::begin([ 'brandLabel' => 'My Company', @@ -63,7 +63,7 @@ AppAsset::register($this); </div> </footer> - <?php $this->endBody(); ?> + <?php $this->endBody() ?> </body> </html> -<?php $this->endPage(); ?> +<?php $this->endPage() ?> diff --git a/apps/basic/views/layouts/main.php b/apps/basic/views/layouts/main.php index 04acdfb..e99b3c5 100644 --- a/apps/basic/views/layouts/main.php +++ b/apps/basic/views/layouts/main.php @@ -11,16 +11,16 @@ use app\assets\AppAsset; */ AppAsset::register($this); ?> -<?php $this->beginPage(); ?> +<?php $this->beginPage() ?> <!DOCTYPE html> <html lang="<?= Yii::$app->language ?>"> <head> <meta charset="<?= Yii::$app->charset ?>"/> <title><?= Html::encode($this->title) ?></title> - <?php $this->head(); ?> + <?php $this->head() ?> </head> <body> -<?php $this->beginBody(); ?> +<?php $this->beginBody() ?> <?php NavBar::begin([ 'brandLabel' => 'My Company', @@ -59,7 +59,7 @@ AppAsset::register($this); </div> </footer> -<?php $this->endBody(); ?> +<?php $this->endBody() ?> </body> </html> -<?php $this->endPage(); ?> +<?php $this->endPage() ?> diff --git a/extensions/debug/views/layouts/main.php b/extensions/debug/views/layouts/main.php index 5760c3a..97ef08c 100644 --- a/extensions/debug/views/layouts/main.php +++ b/extensions/debug/views/layouts/main.php @@ -9,15 +9,15 @@ yii\debug\DebugAsset::register($this); ?> <!DOCTYPE html> <html> -<?php $this->beginPage(); ?> +<?php $this->beginPage() ?> <head> <title><?= Html::encode($this->title) ?></title> - <?php $this->head(); ?> + <?php $this->head() ?> </head> <body> -<?php $this->beginBody(); ?> +<?php $this->beginBody() ?> <?= $content ?> -<?php $this->endBody(); ?> +<?php $this->endBody() ?> </body> -<?php $this->endPage(); ?> +<?php $this->endPage() ?> </html> diff --git a/extensions/gii/views/layouts/main.php b/extensions/gii/views/layouts/main.php index 983475b..788b10c 100644 --- a/extensions/gii/views/layouts/main.php +++ b/extensions/gii/views/layouts/main.php @@ -9,16 +9,16 @@ use yii\helpers\Html; */ $asset = yii\gii\GiiAsset::register($this); ?> -<?php $this->beginPage(); ?> +<?php $this->beginPage() ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"/> <title><?= Html::encode($this->title) ?></title> - <?php $this->head(); ?> + <?php $this->head() ?> </head> <body> -<?php $this->beginBody(); ?> +<?php $this->beginBody() ?> <?php NavBar::begin([ 'brandLabel' => Html::img($asset->baseUrl . '/logo.png'), @@ -47,7 +47,7 @@ NavBar::end(); </div> </footer> -<?php $this->endBody(); ?> +<?php $this->endBody() ?> </body> </html> -<?php $this->endPage(); ?> +<?php $this->endPage() ?> -- libgit2 0.27.1