summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-06-14 23:51:38 -0700
committerEvan Prodromou <evan@controlyourself.ca>2009-06-14 23:51:38 -0700
commitdda4493af72870d61774c8389dbbab13c2dfbbc7 (patch)
tree0d0e14a28a39500fbbf3c35fb210d6f057d4c303 /actions
parent4a0c57f224f7b172a35ef5e70827116ecf8ebaba (diff)
show aliases when showing a group
Diffstat (limited to 'actions')
-rw-r--r--actions/showgroup.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/actions/showgroup.php b/actions/showgroup.php
index 537f09278..357f579d8 100644
--- a/actions/showgroup.php
+++ b/actions/showgroup.php
@@ -272,6 +272,17 @@ class ShowgroupAction extends Action
$this->elementEnd('dl');
}
+ if (common_config('group', 'maxaliases') > 0) {
+ $aliases = $this->group->getAliases();
+
+ if (!empty($aliases)) {
+ $this->elementStart('dl', 'entity_aliases');
+ $this->element('dt', null, _('Aliases'));
+ $this->element('dd', 'aliases', implode(' ', $aliases));
+ $this->elementEnd('dl');
+ }
+ }
+
$this->elementEnd('div');
$this->elementStart('div', 'entity_actions');