Files
anpdf/app/views/reset.phtml
Andrey Kuvshinov 85fc68c8d1 add auth
2020-05-12 21:15:26 +03:00

18 lines
1.1 KiB
PHTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?if ($viewform):?>
<form method="POST" action="<?=$url?>">
<p><label for="new-password">Придумайте пароль не менее 5 символов и повторите его для подтверждения:</label></p>
<p><input name="new-password" id="new-password" type="password" autocomplete="new-password" minlength="<?=$minlen?>" placeholder="Введите пароль" required /></p>
<p><input name="confirm-password" id="confirm-password" type="password" autocomplete="new-password" minlength="<?=$minlen?>" placeholder="Повторите пароль" required /></pdf>
<p><input name="reset-submit" type="submit" value="Сохранить пароль"></p>
</form>
<?endif?>
<?if (isset($error)):?>
<div id="error" style="color: red;"><?=$error?></div>
<?endif?>
<?if (isset($linklab)):?>
<div id="info">Сохраните пароль в вашем браузере, чтобы каждый раз не вводить его вручную.<br>Ваша библиотека доступна по адресу <a href="<?=$linklab?>"><?=$linklab?></a></div>
<?endif?>