1 | <?php |
||
2 | |||
3 | /** |
||
4 | * @var string $password |
||
5 | */ |
||
6 | ?> |
||
7 | |||
8 | <?= \Yii::t('mail.views.user', 'Hello') . ',' ?> |
||
9 | <?= \Yii::t('mail.views.user', 'Your account on {0} has a new password.', [\Yii::$app->name]) ?> |
||
10 | <?= \Yii::t('mail.views.user', 'We have generated a password for you: ') ?> |
||
11 | |||
12 | <?= '<b>' . $password . '</b>' ?> |
||
13 | |||
14 | <? \Yii::t('mail.views.user', 'If you did not make this request you can ignore this email.'); |
||
0 ignored issues
–
show
|
|||
15 |
Short opening tags are disabled in PHP?s default configuration. In such a case, all content of this file is output verbatim to the browser without being parsed, or executed.
As a precaution to avoid these problems better use the long opening tag
<?php
.