| @@ 246-249 (lines=4) @@ | ||
| 243 | } |
|
| 244 | row2(tra("Email address"), $email_text); |
|
| 245 | } |
|
| 246 | if (strlen($user->url)) { |
|
| 247 | $u = normalize_user_url($user->url); |
|
| 248 | row2(tra("URL"), sprintf('<a href="%s">%s</a>', $u, $u)); |
|
| 249 | } |
|
| 250 | row2(tra("Country"), $user->country); |
|
| 251 | if (POSTAL_CODE) { |
|
| 252 | row2(tra("Postal code"), $user->postal_code); |
|
| @@ 439-444 (lines=6) @@ | ||
| 436 | row2(tra("Country"), $user->country); |
|
| 437 | // don't show URL if user has no recent credit (spam suppression) |
|
| 438 | // |
|
| 439 | if (strlen($user->url)) { |
|
| 440 | if (!NO_COMPUTING || $user->expavg_credit > 1) { |
|
| 441 | $u = normalize_user_url($user->url); |
|
| 442 | row2(tra("URL"), sprintf('<a href="%s">%s</a>', $u, $u)); |
|
| 443 | } |
|
| 444 | } |
|
| 445 | if (!NO_COMPUTING) { |
|
| 446 | show_credit($user); |
|
| 447 | ||