From 4678a627bd707b04c75e6978c7eb7223bfd5ea2a Mon Sep 17 00:00:00 2001 From: dave Date: Fri, 20 Feb 2009 13:40:45 +0000 Subject: status moved on member listings git-svn-id: https://code.elgg.org/elgg/trunk@2856 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/profile/views/default/profile/listing.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/mod/profile/views/default/profile/listing.php b/mod/profile/views/default/profile/listing.php index 203aee0d5..bf53f4944 100644 --- a/mod/profile/views/default/profile/listing.php +++ b/mod/profile/views/default/profile/listing.php @@ -11,9 +11,6 @@ * * @uses $vars['entity'] The user entity */ - //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'])); - $icon = elgg_view( "profile/icon", array( @@ -33,7 +30,9 @@ if (!$banned) { $info .= "

getUrl() . "\" rel=\"$rel\">" . $vars['entity']->name . "

"; - + //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 .= "

" . elgg_echo("profile:location") . ": " . elgg_view("output/tags",array('value' => $vars['entity']->location)) . "

"; -- cgit v1.2.3