From ccd4ae9f3c9d952900238ef86b11a40fa02ac5cc Mon Sep 17 00:00:00 2001 From: Qiang Xue Date: Sun, 29 Dec 2013 15:31:35 -0500 Subject: [PATCH] =?UTF-8?q?Fixes=20#1691:=20added=20=E2=80=9Cviewport?= =?UTF-8?q?=E2=80=9D=20meta=20tag=20to=20layout=20views.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/advanced/backend/views/layouts/main.php | 1 + apps/advanced/frontend/views/layouts/main.php | 1 + apps/basic/views/layouts/main.php | 1 + extensions/yii/debug/views/layouts/main.php | 2 ++ extensions/yii/gii/views/layouts/main.php | 1 + 5 files changed, 6 insertions(+) diff --git a/apps/advanced/backend/views/layouts/main.php b/apps/advanced/backend/views/layouts/main.php index 1857e62..d1ede45 100644 --- a/apps/advanced/backend/views/layouts/main.php +++ b/apps/advanced/backend/views/layouts/main.php @@ -16,6 +16,7 @@ AppAsset::register($this); + <?= Html::encode($this->title) ?> head() ?> diff --git a/apps/advanced/frontend/views/layouts/main.php b/apps/advanced/frontend/views/layouts/main.php index 7bc03d2..2bfa9b0 100644 --- a/apps/advanced/frontend/views/layouts/main.php +++ b/apps/advanced/frontend/views/layouts/main.php @@ -17,6 +17,7 @@ AppAsset::register($this); + <?= Html::encode($this->title) ?> head() ?> diff --git a/apps/basic/views/layouts/main.php b/apps/basic/views/layouts/main.php index e99b3c5..d1af295 100644 --- a/apps/basic/views/layouts/main.php +++ b/apps/basic/views/layouts/main.php @@ -16,6 +16,7 @@ AppAsset::register($this); + <?= Html::encode($this->title) ?> head() ?> diff --git a/extensions/yii/debug/views/layouts/main.php b/extensions/yii/debug/views/layouts/main.php index 97ef08c..0f9a02c 100644 --- a/extensions/yii/debug/views/layouts/main.php +++ b/extensions/yii/debug/views/layouts/main.php @@ -11,6 +11,8 @@ yii\debug\DebugAsset::register($this); beginPage() ?> + + <?= Html::encode($this->title) ?> head() ?> diff --git a/extensions/yii/gii/views/layouts/main.php b/extensions/yii/gii/views/layouts/main.php index 6950668..f324e41 100644 --- a/extensions/yii/gii/views/layouts/main.php +++ b/extensions/yii/gii/views/layouts/main.php @@ -14,6 +14,7 @@ $asset = yii\gii\GiiAsset::register($this); + <?= Html::encode($this->title) ?> head() ?>