2013-04-09 00:41:15 +04:00
< ? php if ( $_ [ 'requested' ]) : ?>
2013-04-08 09:11:35 +04:00
< div class = " success " >< p >
< ? php
2013-04-23 14:36:27 +04:00
print_unescaped ( $l -> t ( 'The link to reset your password has been sent to your email.<br>If you do not receive it within a reasonable amount of time, check your spam/junk folders.<br>If it is not there ask your local administrator .' ));
2013-04-08 09:11:35 +04:00
?>
</ p ></ div >
< ? php else : ?>
2013-04-23 14:36:27 +04:00
< form action = " <?php print_unescaped(OC_Helper::linkToRoute('core_lostpassword_send_email')) ?> " method = " post " >
2013-04-08 09:11:35 +04:00
< fieldset >
2011-08-29 22:37:18 +04:00
< ? php if ( $_ [ 'error' ]) : ?>
2013-04-08 09:11:35 +04:00
< div class = " errors " >< p >
2013-04-23 14:36:27 +04:00
< ? php print_unescaped ( $l -> t ( 'Request failed!<br>Did you make sure your email/username was right?' )); ?>
2013-04-08 09:11:35 +04:00
</ p ></ div >
2011-08-29 22:37:18 +04:00
< ? php endif ; ?>
2013-04-23 14:36:27 +04:00
< ? php print_unescaped ( $l -> t ( 'You will receive a link to reset your password via Email.' ) = ; ?>
2011-10-03 16:41:55 +04:00
< p class = " infield " >
2013-04-23 14:36:27 +04:00
< label for = " user " class = " infield " >< ? php print_unescaped ( $l -> t ( 'Username' )); ?> </label>
2013-03-05 01:11:57 +04:00
< input type = " text " name = " user " id = " user " placeholder = " " value = " " autocomplete = " off " required autofocus />
2011-10-03 16:41:55 +04:00
</ p >
2013-04-23 14:36:27 +04:00
< input type = " submit " id = " submit " value = " <?php print_unescaped( $l->t ('Request reset')); ?> " />
2013-04-08 09:11:35 +04:00
</ fieldset >
</ form >
< ? php endif ; ?>