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

/**
 * @var \yii\web\View $this
6
 * @var string $content
7 8 9 10
 */
?>
<?php $this->beginPage() ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
11 12
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
13
    <meta http-equiv="Content-Type" content="text/html; charset=<?= Yii::$app->charset ?>" />
14 15
    <title><?= Html::encode($this->title) ?></title>
    <?php $this->head() ?>
16 17
</head>
<body>
18 19 20
    <?php $this->beginBody() ?>
    <?= $content ?>
    <?php $this->endBody() ?>
21
</body>
22
</html>
23
<?php $this->endPage() ?>