|
@@ -338,7 +338,7 @@ discard block |
|
|
block discarded – undo |
|
338
|
338
|
$x .= ' <a href="'.url_base().'view_profile.php?userid='.$user->id.'"><img title="View the profile of '.$user->name.'" src="'.$img_url.'" alt="Profile"></a>'; |
|
339
|
339
|
} |
|
340
|
340
|
$x .= " <a href=\"".url_base()."show_user.php?userid=".$user->id."\">".$user->name."</a>"; |
|
341
|
|
- if (function_exists("project_user_links")){ |
|
|
341
|
+ if (function_exists("project_user_links")) { |
|
342
|
342
|
$x .= project_user_links($user); |
|
343
|
343
|
} |
|
344
|
344
|
if ($badge_height) { |
|
@@ -459,7 +459,7 @@ discard block |
|
|
block discarded – undo |
|
459
|
459
|
// Returns a cacheable community links data object |
|
460
|
460
|
// @param user The user to produce a community links object for |
|
461
|
461
|
|
|
462
|
|
-function get_community_links_object($user){ |
|
|
462
|
+function get_community_links_object($user) { |
|
463
|
463
|
$cache_object = new StdClass; |
|
464
|
464
|
$cache_object->post_count = total_posts($user); |
|
465
|
465
|
$cache_object->user = $user; |
|
@@ -475,7 +475,7 @@ discard block |
|
|
block discarded – undo |
|
475
|
475
|
return $cache_object; |
|
476
|
476
|
} |
|
477
|
477
|
|
|
478
|
|
-function community_links($clo, $logged_in_user){ |
|
|
478
|
+function community_links($clo, $logged_in_user) { |
|
479
|
479
|
$user = $clo->user; |
|
480
|
480
|
$team = $clo->team; |
|
481
|
481
|
$friends = $clo->friends; |
Please login to merge, or discard this patch.