Browse Source

Merge pull request #768 from lancecoder/patch-1

charset
tags/2.0.0-beta
Qiang Xue 12 years ago
parent
commit
2d55efdcdb
  1. 2
      apps/advanced/backend/views/layouts/main.php
  2. 2
      apps/advanced/frontend/views/layouts/main.php
  3. 2
      apps/basic/views/layouts/main.php

2
apps/advanced/backend/views/layouts/main.php

@ -15,7 +15,7 @@ AppAsset::register($this);
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8"/> <meta charset="<?php echo Yii::$app->charset; ?>"/>
<title><?php echo Html::encode($this->title); ?></title> <title><?php echo Html::encode($this->title); ?></title>
<?php $this->head(); ?> <?php $this->head(); ?>
</head> </head>

2
apps/advanced/frontend/views/layouts/main.php

@ -16,7 +16,7 @@ AppAsset::register($this);
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8"/> <meta charset="<?php echo Yii::$app->charset; ?>"/>
<title><?php echo Html::encode($this->title); ?></title> <title><?php echo Html::encode($this->title); ?></title>
<?php $this->head(); ?> <?php $this->head(); ?>
</head> </head>

2
apps/basic/views/layouts/main.php

@ -14,7 +14,7 @@ app\config\AppAsset::register($this);
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8"/> <meta charset="<?php echo Yii::$app->charset; ?>"/>
<title><?php echo Html::encode($this->title); ?></title> <title><?php echo Html::encode($this->title); ?></title>
<?php $this->head(); ?> <?php $this->head(); ?>
</head> </head>

Loading…
Cancel
Save