aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/views
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-11 15:22:18 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-11 15:22:18 +0000
commitf157509b3cd60f227c9f5aca0b3d4c9cdd13dfe3 (patch)
tree2452f8a6ee772cb21d1fb3faf2c49a1afd7223c9 /mod/profile/views
parente1cf670acfd8d786aec086d1bd5bb2ff96cd5870 (diff)
downloadelgg-f157509b3cd60f227c9f5aca0b3d4c9cdd13dfe3.tar.gz
elgg-f157509b3cd60f227c9f5aca0b3d4c9cdd13dfe3.tar.bz2
Updated friends/members listings when there is a latest wire post to display.
git-svn-id: http://code.elgg.org/elgg/trunk@5364 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile/views')
-rw-r--r--mod/profile/views/default/profile/listing.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/profile/views/default/profile/listing.php b/mod/profile/views/default/profile/listing.php
index 942910bc3..e53f9df75 100644
--- a/mod/profile/views/default/profile/listing.php
+++ b/mod/profile/views/default/profile/listing.php
@@ -29,12 +29,12 @@ else if (check_entity_relationship(page_owner(), 'friend', $vars['entity']->guid
if (!$banned) {
$info .= "<p class='entity_title user'><a href=\"" . $vars['entity']->getUrl() . "\" rel=\"$rel\">" . $vars['entity']->name . "</a></p>";
- //create a view that a status plugin could extend - in the default case, this is the wire
- $info .= elgg_view("profile/status", array("entity" => $vars['entity']));
$location = $vars['entity']->location;
if (!empty($location)) {
$info .= "<p class='entity_subtext user'>" . elgg_echo("profile:location") . ": " . elgg_view("output/tags",array('value' => $vars['entity']->location)) . "</p>";
}
+ //create a view that a status plugin could extend - in the default case, this is the wire
+ $info .= elgg_view("profile/status", array("entity" => $vars['entity']));
}else{
$info .= "<p class='entity_title user banned'>";
if (isadminloggedin())