root/releases/0.1.2a/units/invite/password_request.php

Revision 7, 0.9 kB (checked in by sven, 3 years ago)

snapshot of elgg 0.1.2a

Line 
1 <?php
2
3     // Join
4         
5         $sitename = sitename;
6                             
7                 $run_result .= <<< END
8                 
9     <p>
10         To generate a new password at $sitename, enter your username below. We
11         will send the address of a unique verification page to you via email;
12         click on the link in the body of the message and a new password will be
13         sent to you.
14     </p>
15     <p>
16         This method reduces the chance of a mistakenly reset password.
17     </p>
18     <form action="" method="post">
19                 
20 END;
21                 
22                 $run_result .= run("templates:draw", array(
23                                                 'context' => 'databoxvertical',
24                                                 'name' => '<b>Your username</b>',
25                                                 'contents' => run("display:input_field",array("password_request_name","","text"))
26                     )
27                     );
28                 $run_result .= <<< END
29             <p align="center">
30                 <input type="hidden" name="action" value="invite_password_request" />
31                 <input type="submit" value="Request new password" />
32             </p>
33         </form>
34                 
35 END;
36
37 ?>
Note: See TracBrowser for help on using the browser.