| 1 |
<?php |
| 2 |
$html = '<div id="memberpages">'; |
| 3 |
|
| 4 |
$html .= '<div class="header_explanation">'; |
| 5 |
$header = ''; |
| 6 |
$html .= apply_filters('usces_filter_changepass_page_header', $header); |
| 7 |
$html .= '</div>'; |
| 8 |
|
| 9 |
|
| 10 |
if($this->error_message != '') { |
| 11 |
$html .= '<div class="error_message">' . $this->error_message . '</div>'; |
| 12 |
} |
| 13 |
$html .= '<div class="loginbox"> |
| 14 |
<form name="loginform" id="loginform" action="' . USCES_MEMBER_URL . '" method="post" onKeyDown="if (event.keyCode == 13) {return false;}"> |
| 15 |
<p> |
| 16 |
<label>' . __('password', 'usces') . '<br /> |
| 17 |
<input type="password" name="loginpass1" id="loginpass1" class="loginpass" value="" size="20" /></label> |
| 18 |
</p> |
| 19 |
<p> |
| 20 |
<label>' . __('Password (confirm)', 'usces') . '<br /> |
| 21 |
<input type="password" name="loginpass2" id="loginpass2" class="loginpass" value="" size="20" /></label> |
| 22 |
</p> |
| 23 |
<p class="submit"> |
| 24 |
<input type="submit" name="changepassword" id="member_login" value="' . __('Register', 'usces') . '" /> |
| 25 |
</p> |
| 26 |
</form> |
| 27 |
</div>'; |
| 28 |
|
| 29 |
$html .= '<div class="footer_explanation">'; |
| 30 |
$footer = ''; |
| 31 |
$html .= apply_filters('usces_filter_changepass_page_footer', $footer); |
| 32 |
$html .= '</div>'; |
| 33 |
|
| 34 |
|
| 35 |
$html .= '</div> |
| 36 |
|
| 37 |
<script type="text/javascript"> |
| 38 |
try{document.getElementById(\'loginpass1\').focus();}catch(e){} |
| 39 |
</script>'; |
| 40 |
?> |
| 41 |
|