| 1 |
<?php |
| 2 |
$html = '<div id="memberpages"> |
| 3 |
|
| 4 |
<div class="whitebox">'; |
| 5 |
|
| 6 |
$html .= '<div class="header_explanation">'; |
| 7 |
$header = ''; |
| 8 |
$html .= apply_filters('usces_filter_newpass_page_header', $header); |
| 9 |
$html .= '</div>'; |
| 10 |
|
| 11 |
|
| 12 |
if ( usces_is_error_message() ) { |
| 13 |
$html .= '<div class="error_message">' . $this->error_message . '</div>'; |
| 14 |
} |
| 15 |
$html .= '<div class="loginbox"> |
| 16 |
<form name="loginform" id="loginform" action="' . USCES_MEMBER_URL . '" method="post" onKeyDown="if (event.keyCode == 13) {return false;}"> |
| 17 |
<p> |
| 18 |
<label>' . __('e-mail adress', 'usces') . '<br /> |
| 19 |
<input type="text" name="loginmail" id="loginmail" class="loginmail" value="" size="20" /></label> |
| 20 |
</p> |
| 21 |
<p class="submit"> |
| 22 |
<input type="submit" name="lostpassword" id="member_login" value="' . __('Obtain new password', 'usces') . '" /> |
| 23 |
</p> |
| 24 |
</form> |
| 25 |
<div>' . __('Change your password by following the instruction in this mail.', 'usces') . '</div> |
| 26 |
<p id="nav">'; |
| 27 |
|
| 28 |
if ( ! usces_is_login() ) { |
| 29 |
$html .= '<a href="' . USCES_LOGIN_URL . '" title="' . __('Log-in', 'usces') . '">' . __('Log-in', 'usces') . '</a>'; |
| 30 |
} |
| 31 |
$html .= '</p> |
| 32 |
|
| 33 |
</div>'; |
| 34 |
|
| 35 |
|
| 36 |
$html .= '<div class="footer_explanation">'; |
| 37 |
$footer = ''; |
| 38 |
$html .= apply_filters('usces_filter_newpass_page_footer', $footer); |
| 39 |
$html .= '</div>'; |
| 40 |
|
| 41 |
|
| 42 |
$html .= '</div> |
| 43 |
|
| 44 |
</div> |
| 45 |
|
| 46 |
<script type="text/javascript"> |
| 47 |
try{document.getElementById(\'loginmail\').focus();}catch(e){} |
| 48 |
</script>'; |
| 49 |
?> |
| 50 |
|