2020-05-12 21:15:26 +03:00
<? if ( $viewform ) : ?>
2020-05-12 23:40:39 +03:00
< div id = "container_form" >
< form method = "POST" action = " <? = $url ?> " >
2020-05-14 16:25:48 +03:00
< p > < label for = "new-password" id = "formtitle" > Придумайте пароль не менее 5 символов и повторите е г о для подтверждения:< / label > < / p >
< p >< input name = "new-password" id = "new-password" type = "password" autocomplete = "new-password" minlength = " <? = $minlen ?> " placeholder = "Введите пароль" required autofocus />< span class = "icon" >< i class = "fas fa-key" ></ i ></ p >
< p >< input name = "confirm-password" id = "confirm-password" type = "password" autocomplete = "new-password" minlength = " <? = $minlen ?> " placeholder = "Повторите пароль" required />< span class = "icon" >< i class = "fas fa-key" ></ i ></ p >
2020-05-12 23:40:39 +03:00
< p > < input name = "reset-submit" class = "submit" type = "submit" value = "Сохранить пароль" > < / p >
< / form >
< / div >
2020-05-12 21:15:26 +03:00
<? endif ?>
<? if ( isset ( $error )) : ?>
< div id = "error" style = "color: red;" > <? = $error ?> </ div >
<? endif ?>
<? if ( isset ( $linklab )) : ?>
2020-05-14 16:25:48 +03:00
< div id = "info" > Сохраните пароль в вашем браузере, чтобы каждый раз не вводить е г о вручную. Ваша библиотека доступна по адресу < a href = " <? = $linklab ?> " > <? = $linklab ?> </ a ></ div >
2020-05-12 21:15:26 +03:00
<? endif ?>