html.php 717 B

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