@@ -155,7 +155,7 @@ discard block |
||
| 155 | 155 | $apps = BoincApp::enum(""); |
| 156 | 156 | foreach ($apps as $app) { |
| 157 | 157 | if (in_array($app->id, $show_only) |
| 158 | - || ( in_array("all", $show_only) |
|
| 158 | + || (in_array("all", $show_only) |
|
| 159 | 159 | && (!$app->deprecated || $show_deprecated) |
| 160 | 160 | )) { |
| 161 | 161 | |
@@ -163,7 +163,7 @@ discard block |
||
| 163 | 163 | <b>Results for <tt>$app->name</tt>:</b> |
| 164 | 164 | <ul> |
| 165 | 165 | "; |
| 166 | - for ($i=0; $i<2; $i++) { |
|
| 166 | + for ($i = 0; $i < 2; $i++) { |
|
| 167 | 167 | if ($i) { |
| 168 | 168 | $secs = 7*86400; |
| 169 | 169 | $period = " 7 days"; |
@@ -220,5 +220,5 @@ discard block |
||
| 220 | 220 | |
| 221 | 221 | admin_page_tail(); |
| 222 | 222 | |
| 223 | -$cvs_version_tracker[]="\$Id$"; //Generated automatically - do not edit |
|
| 223 | +$cvs_version_tracker[] = "\$Id$"; //Generated automatically - do not edit |
|
| 224 | 224 | ?> |
@@ -60,7 +60,7 @@ |
||
| 60 | 60 | } |
| 61 | 61 | |
| 62 | 62 | } catch (Exception $e) { |
| 63 | - echo 'Caught exception during account ownership key generation: ', $e->getMessage(), "\n"; |
|
| 63 | + echo 'Caught exception during account ownership key generation: ', $e->getMessage(), "\n"; |
|
| 64 | 64 | } |
| 65 | 65 | |
| 66 | 66 | } else { |
@@ -120,7 +120,8 @@ |
||
| 120 | 120 | // GET request - the user has navigated to the page. |
| 121 | 121 | page_head(tra("Generate proof of account ownership"), null, null, null, boinc_recaptcha_get_head_extra()); |
| 122 | 122 | |
| 123 | - if ($user) { // Verify the user is logged in |
|
| 123 | + if ($user) { |
|
| 124 | +// Verify the user is logged in |
|
| 124 | 125 | require_once("../inc/account_ownership.inc"); |
| 125 | 126 | |
| 126 | 127 | if (!file_exists($account_ownership_private_key_file_path)) { |