@@ -28,7 +28,7 @@ |
||
28 | 28 | echo "<p>"; |
29 | 29 | |
30 | 30 | form_start(secure_url_base()."edit_passwd_action.php", "post"); |
31 | -form_input_text(tra("New password"), "passwd", "", "password",'id="passwd"',passwd_visible_checkbox("passwd")); |
|
31 | +form_input_text(tra("New password"), "passwd", "", "password", 'id="passwd"', passwd_visible_checkbox("passwd")); |
|
32 | 32 | form_submit(tra("Change password")); |
33 | 33 | form_end(); |
34 | 34 | page_tail(); |
@@ -29,14 +29,14 @@ discard block |
||
29 | 29 | // |
30 | 30 | $idx = strpos($master_url, '://'); |
31 | 31 | if ($idx) { |
32 | - $url = substr($master_url, $idx+strlen('://')); |
|
32 | + $url = substr($master_url, $idx + strlen('://')); |
|
33 | 33 | } else { |
34 | 34 | $url = $master_url; |
35 | 35 | } |
36 | 36 | |
37 | 37 | // convert invalid characters into underscores |
38 | 38 | // |
39 | -for ($i=0; $i<strlen($url); $i++) { |
|
39 | +for ($i = 0; $i < strlen($url); $i++) { |
|
40 | 40 | $c = $url[$i]; |
41 | 41 | if (!ctype_alnum($c) && $c != '.' && $c != '-' && $c != '_') { |
42 | 42 | $url[$i] = '_'; |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | |
46 | 46 | //remove trailing underscore(s) |
47 | 47 | // |
48 | -$account_file = "account_" . rtrim($url, '_') . ".xml"; |
|
48 | +$account_file = "account_".rtrim($url, '_').".xml"; |
|
49 | 49 | |
50 | 50 | page_head(tra("Account keys")); |
51 | 51 | text_start(); |
@@ -57,12 +57,12 @@ discard block |
||
57 | 57 | <p>", |
58 | 58 | tra("This key can be used to:"), |
59 | 59 | "<ul> |
60 | - <li><a href=get_passwd.php>",tra("log in to your account on the web"),"</a>; |
|
60 | + <li><a href=get_passwd.php>",tra("log in to your account on the web"), "</a>; |
|
61 | 61 | <li>", |
62 | 62 | tra("attach a computer to your account without using the BOINC Manager. |
63 | 63 | To do so, install BOINC, |
64 | 64 | create a file named %1 in the BOINC |
65 | - data directory, and set its contents to:","<b>$account_file</b>")," |
|
65 | + data directory, and set its contents to:","<b>$account_file</b>"), " |
|
66 | 66 | <p><pre>", |
67 | 67 | htmlspecialchars( |
68 | 68 | "<account> |
@@ -76,10 +76,10 @@ discard block |
||
76 | 76 | as described above, but cannot be used to log in to your account or change it in any way. |
77 | 77 | If you want to attach untrusted or insecure computers to your account, |
78 | 78 | do so using your weak account key. |
79 | - Your weak account key is:")," |
|
79 | + Your weak account key is:"), " |
|
80 | 80 | <p><pre>$weak_auth</pre><p> |
81 | 81 | ", |
82 | - tra("The key depends on your account's email address and password. If you change either of these, the weak account key will change.")," |
|
82 | + tra("The key depends on your account's email address and password. If you change either of these, the weak account key will change."), " |
|
83 | 83 | </td></tr></table>" |
84 | 84 | ; |
85 | 85 | text_end(); |