From c2dabfa78e5dfc8863b7137173e71afe9393187a Mon Sep 17 00:00:00 2001 From: Alexander Makarov Date: Sun, 20 Oct 2013 00:59:43 +0400 Subject: [PATCH] Adjusted short tags --- apps/advanced/backend/views/layouts/main.php | 10 ++-- apps/advanced/backend/views/site/error.php | 4 +- apps/advanced/backend/views/site/login.php | 10 ++-- apps/advanced/frontend/views/layouts/main.php | 10 ++-- apps/advanced/frontend/views/site/about.php | 4 +- apps/advanced/frontend/views/site/contact.php | 12 ++--- apps/advanced/frontend/views/site/error.php | 4 +- apps/advanced/frontend/views/site/login.php | 10 ++-- .../views/site/requestPasswordResetToken.php | 6 +-- .../advanced/frontend/views/site/resetPassword.php | 6 +-- apps/advanced/frontend/views/site/signup.php | 10 ++-- apps/basic/views/layouts/main.php | 10 ++-- apps/basic/views/site/about.php | 4 +- apps/basic/views/site/contact.php | 12 ++--- apps/basic/views/site/error.php | 4 +- apps/basic/views/site/login.php | 8 +-- docs/guide/upgrade-from-v1.md | 6 +-- docs/guide/view.md | 16 +++--- framework/yii/debug/views/default/index.php | 10 ++-- framework/yii/debug/views/default/toolbar.php | 10 ++-- framework/yii/debug/views/default/view.php | 4 +- framework/yii/debug/views/layouts/main.php | 4 +- .../generators/controller/templates/controller.php | 8 +-- .../gii/generators/controller/templates/view.php | 6 +-- .../gii/generators/crud/templates/controller.php | 58 +++++++++++----------- .../yii/gii/generators/crud/templates/search.php | 18 +++---- .../gii/generators/crud/templates/views/_form.php | 10 ++-- .../generators/crud/templates/views/_search.php | 12 ++--- .../gii/generators/crud/templates/views/create.php | 12 ++--- .../gii/generators/crud/templates/views/index.php | 20 ++++---- .../gii/generators/crud/templates/views/update.php | 14 +++--- .../gii/generators/crud/templates/views/view.php | 16 +++--- .../yii/gii/generators/form/templates/action.php | 6 +-- .../yii/gii/generators/form/templates/form.php | 16 +++--- .../yii/gii/generators/model/templates/model.php | 20 ++++---- .../gii/generators/module/templates/controller.php | 2 +- .../yii/gii/generators/module/templates/module.php | 6 +-- .../yii/gii/generators/module/templates/view.php | 12 ++--- framework/yii/gii/views/default/diff.php | 2 +- framework/yii/gii/views/default/index.php | 6 +-- framework/yii/gii/views/default/view.php | 8 +-- framework/yii/gii/views/default/view/files.php | 6 +-- framework/yii/gii/views/default/view/results.php | 2 +- framework/yii/gii/views/layouts/generator.php | 2 +- framework/yii/gii/views/layouts/main.php | 6 +-- framework/yii/requirements/views/web/index.php | 12 ++--- framework/yii/views/errorHandler/callStackItem.php | 8 +-- framework/yii/views/errorHandler/error.php | 8 +-- framework/yii/views/errorHandler/exception.php | 18 +++---- .../yii/views/errorHandler/previousException.php | 12 ++--- framework/yii/views/migration.php | 4 +- tests/unit/data/views/layout.php | 2 +- 52 files changed, 253 insertions(+), 253 deletions(-) diff --git a/apps/advanced/backend/views/layouts/main.php b/apps/advanced/backend/views/layouts/main.php index 1c003e5..85a4d2b 100644 --- a/apps/advanced/backend/views/layouts/main.php +++ b/apps/advanced/backend/views/layouts/main.php @@ -15,8 +15,8 @@ AppAsset::register($this); - - <?=Html::encode($this->title); ?> + + <?= Html::encode($this->title) ?> head(); ?> @@ -48,13 +48,13 @@ AppAsset::register($this); isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : [], ]); ?> - + diff --git a/apps/advanced/backend/views/site/error.php b/apps/advanced/backend/views/site/error.php index eef87f6..15a8eee 100644 --- a/apps/advanced/backend/views/site/error.php +++ b/apps/advanced/backend/views/site/error.php @@ -13,10 +13,10 @@ $this->title = $name; ?>
-

title); ?>

+

title) ?>

- +

diff --git a/apps/advanced/backend/views/site/login.php b/apps/advanced/backend/views/site/login.php index d52eaa1..65495bf 100644 --- a/apps/advanced/backend/views/site/login.php +++ b/apps/advanced/backend/views/site/login.php @@ -11,18 +11,18 @@ $this->title = 'Login'; $this->params['breadcrumbs'][] = $this->title; ?>