html.php 714 Bytes
Newer Older
1 2 3
<?php
use yii\helpers\Html;

Qiang Xue committed
4
/* @var $this \yii\web\View view component instance */
Carsten Brandt committed
5
/* @var $message \yii\mail\MessageInterface the message being composed */
Qiang Xue committed
6
/* @var $content string main view render result */
7 8 9
?>
<?php $this->beginPage() ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
10 11
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
12
    <meta http-equiv="Content-Type" content="text/html; charset=<?= Yii::$app->charset ?>" />
13 14
    <title><?= Html::encode($this->title) ?></title>
    <?php $this->head() ?>
15 16
</head>
<body>
17 18 19
    <?php $this->beginBody() ?>
    <?= $content ?>
    <?php $this->endBody() ?>
20
</body>
21
</html>
22
<?php $this->endPage() ?>