2013-04-08 20:41:15 +00:00
< ? php if ( $_ [ 'requested' ]) : ?>
2013-04-08 05:11:35 +00:00
< div class = " success " >< p >
< ? php
2013-04-23 10:36:27 +00: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 05:11:35 +00:00
?>
</ p ></ div >
< ? php else : ?>
2013-04-23 10:36:27 +00:00
< form action = " <?php print_unescaped(OC_Helper::linkToRoute('core_lostpassword_send_email')) ?> " method = " post " >
2013-04-08 05:11:35 +00:00
< fieldset >
2011-08-29 18:37:18 +00:00
< ? php if ( $_ [ 'error' ]) : ?>
2013-04-08 05:11:35 +00:00
< div class = " errors " >< p >
2013-04-23 10:36:27 +00:00
< ? php print_unescaped ( $l -> t ( 'Request failed!<br>Did you make sure your email/username was right?' )); ?>
2013-04-08 05:11:35 +00:00
</ p ></ div >
2011-08-29 18:37:18 +00:00
< ? php endif ; ?>
2013-04-23 10:36:27 +00:00
< ? php print_unescaped ( $l -> t ( 'You will receive a link to reset your password via Email.' ) = ; ?>
2011-10-03 12:41:55 +00:00
< p class = " infield " >
2013-04-23 10:36:27 +00:00
< label for = " user " class = " infield " >< ? php print_unescaped ( $l -> t ( 'Username' )); ?> </label>
2013-03-04 21:11:57 +00:00
< input type = " text " name = " user " id = " user " placeholder = " " value = " " autocomplete = " off " required autofocus />
2011-10-03 12:41:55 +00:00
</ p >
2013-04-23 10:36:27 +00:00
< input type = " submit " id = " submit " value = " <?php print_unescaped( $l->t ('Request reset')); ?> " />
2013-04-08 05:11:35 +00:00
</ fieldset >
</ form >
< ? php endif ; ?>