aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-10 05:47:01 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-10 05:47:01 +0000
commit654e638d08ddeebb614bc5909921213a9c57eaf8 (patch)
tree564a65e5e66dd69beab3495be0b248da3a2ada05 /mod
parent7b9a6b57208ec897899cc3eb178de4d4098dae83 (diff)
downloadelgg-654e638d08ddeebb614bc5909921213a9c57eaf8.tar.gz
elgg-654e638d08ddeebb614bc5909921213a9c57eaf8.tar.bz2
Fixes #3072: Fixed group member list in sidebar. Thoughts about using the elgg-menu-hz class for this? It's not exactly a menu, but that CSS does exactly what's needed.
git-svn-id: http://code.elgg.org/elgg/trunk@8649 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r--mod/groups/views/default/groups/sidebar/members.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/groups/views/default/groups/sidebar/members.php b/mod/groups/views/default/groups/sidebar/members.php
index 5f93022e7..4fbb54456 100644
--- a/mod/groups/views/default/groups/sidebar/members.php
+++ b/mod/groups/views/default/groups/sidebar/members.php
@@ -12,12 +12,12 @@ $all_link = elgg_view('output/url', array(
'text' => elgg_echo('groups:members:more'),
));
-$body = '<div class="clearfix">';
+$body = '<ul class="elgg-menu-hz">';
$members = $vars['entity']->getMembers(10);
foreach ($members as $mem) {
- $body .= "<div class='member_icon'><a href=\"{$mem->getURL()}\">" . elgg_view_entity_icon($mem, 'tiny', array('override' => 'true')) . "</a></div>";
+ $body .= '<li class="pas">' . elgg_view_entity_icon($mem, 'tiny', array('override' => true)) . '</li>';
}
-$body .= '</div>';
+$body .= '</ul>';
$body .= "<div class='center mts'>$all_link</div>";
echo elgg_view_module('aside', elgg_echo('groups:members'), $body); \ No newline at end of file