Files
FreshRSS/app/views/user/validateEmail.phtml
Alexandre Alapetite a80a5f48a1 Pass PHPStan level 8 (#5946)
* Pass PHPStan level 8
And prepare for PHPStan level 9 https://phpstan.org/user-guide/rule-levels

* Revert wrong replace in comment

* Fix PHPStan level 8

* Update PHPStan and other dev dependencies

* Remove obsolete comment

* noVariableVariables and towards bleedingEdge
https://github.com/phpstan/phpstan-strict-rules
https://phpstan.org/blog/what-is-bleeding-edge

* More bleedingEdge

* A bit more PHPStan level 9

* More PHPStan level 9

* Prepare for booleansInConditions
Ignore int and null

* Revert wrong line

* More fixes

* Fix keep_max_n_unread

* Stricter attribute functions

* Stricter callHooks and more PHPStan level 9

* More typing

* A tiny more
2023-12-18 17:59:16 +01:00

27 lines
670 B
PHTML

<?php
declare(strict_types=1);
/** @var FreshRSS_View $this */
?>
<main class="post">
<p>
<?= _t('user.email.validation.need_to', FreshRSS_Context::systemConf()->title) ?>
</p>
<p>
<?= _t('user.email.validation.email_sent_to', FreshRSS_Context::userConf()->mail_login) ?>
</p>
<form action="<?= _url('user', 'sendValidationEmail') ?>" method="post">
<input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" />
<button type="submit" class="btn">
<?= _t('user.email.validation.resend_email') ?>
</button>
</form>
<p>
<small>
<?= _t('user.email.validation.change_email', _url('user', 'profile')) ?>
</small>
</p>
</main>