@@ -31,6 +31,9 @@ discard block |
||
31 | 31 | |
32 | 32 | // return HTML string for a checkbox for toggling password visibility |
33 | 33 | // |
34 | +/** |
|
35 | + * @param string $name |
|
36 | + */ |
|
34 | 37 | function passwd_visible_checkbox($name) { |
35 | 38 | return sprintf(' |
36 | 39 | <script> |
@@ -48,6 +51,10 @@ discard block |
||
48 | 51 | ); |
49 | 52 | } |
50 | 53 | |
54 | +/** |
|
55 | + * @param integer $teamid |
|
56 | + * @param string $next_url |
|
57 | + */ |
|
51 | 58 | function create_account_form($teamid, $next_url) { |
52 | 59 | global $recaptcha_public_key; |
53 | 60 | form_input_hidden('next_url', $next_url); |
@@ -111,6 +118,9 @@ discard block |
||
111 | 118 | } |
112 | 119 | } |
113 | 120 | |
121 | +/** |
|
122 | + * @param string $next_url |
|
123 | + */ |
|
114 | 124 | function login_form($next_url) { |
115 | 125 | form_start(secure_url_base()."/login_action.php", "post"); |
116 | 126 | form_input_hidden("next_url", $next_url); |
@@ -121,7 +121,7 @@ |
||
121 | 121 | } |
122 | 122 | form_input_text($x, "email_addr"); |
123 | 123 | form_input_text( |
124 | - tra("Password:").'<br><small><a href="get_passwd.php">' . tra("forgot password?") . "</a></small>", |
|
124 | + tra("Password:").'<br><small><a href="get_passwd.php">'.tra("forgot password?")."</a></small>", |
|
125 | 125 | "passwd", |
126 | 126 | "", |
127 | 127 | "password", |