summaryrefslogtreecommitdiff
path: root/actions/groupmembers.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-06-29 10:29:11 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-06-29 10:29:11 -0400
commit5b8e40aaa9bdb0c07cce0cf53cd913b0c397fdc4 (patch)
tree4e6027d96f5ca74a327cada67e56e680d21b126a /actions/groupmembers.php
parentd03b8c4276e5bd3822289a8b5c94be60cb90ef75 (diff)
admin indicators in groups
Diffstat (limited to 'actions/groupmembers.php')
-rw-r--r--actions/groupmembers.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/actions/groupmembers.php b/actions/groupmembers.php
index d132cdf96..be7a9e81c 100644
--- a/actions/groupmembers.php
+++ b/actions/groupmembers.php
@@ -167,6 +167,15 @@ class GroupMemberListItem extends ProfileListItem
$this->group = $group;
}
+ function showFullName()
+ {
+ parent::showFullName();
+ if ($this->profile->isAdmin($this->group)) {
+ $this->out->text(' ');
+ $this->out->element('span', 'admin_indicator', _('Admin'));
+ }
+ }
+
function showActions()
{
$this->startActions();