aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/views
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-22 22:22:33 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-22 22:22:33 +0000
commit24378b3ecc07eb568e383823967a0ae6378120d6 (patch)
tree58883ec4eca3aa6c73e17da5267efc4dc3315238 /mod/groups/views
parent1c1956e48cc29e358563e24dc73a18bf84e50889 (diff)
downloadelgg-24378b3ecc07eb568e383823967a0ae6378120d6.tar.gz
elgg-24378b3ecc07eb568e383823967a0ae6378120d6.tar.bz2
Fixes #2295 added a group member list page
git-svn-id: http://code.elgg.org/elgg/trunk@7906 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/views')
-rw-r--r--mod/groups/views/default/groups/sidebar/members.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/mod/groups/views/default/groups/sidebar/members.php b/mod/groups/views/default/groups/sidebar/members.php
index b4e9199af..a8c2ffd3f 100644
--- a/mod/groups/views/default/groups/sidebar/members.php
+++ b/mod/groups/views/default/groups/sidebar/members.php
@@ -5,11 +5,18 @@
* @package ElggGroups
*/
-$body = '';
+$all_link = elgg_view('output/url', array(
+ 'href' => 'pg/groups/members/' . $vars['entity']->guid,
+ 'text' => elgg_echo('groups:members:more'),
+));
+
+$body = '<div class="clearfix">';
$members = $vars['entity']->getMembers(10);
foreach ($members as $mem) {
$body .= "<div class='member_icon'><a href=\"" . $mem->getURL() . "\">" . elgg_view("profile/icon", array('entity' => $mem, 'size' => 'tiny', 'override' => 'true')) . "</a></div>";
}
+$body .= '</div>';
+$body .= "<div class='center mts'>$all_link</div>";
echo elgg_view('layout/objects/module', array(
'title' => elgg_echo("groups:members"),