From: Evan Prodromou Date: Mon, 15 Jun 2009 06:51:38 +0000 (-0700) Subject: show aliases when showing a group X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=dda4493af72870d61774c8389dbbab13c2dfbbc7;p=quix0rs-gnu-social.git show aliases when showing a group --- diff --git a/actions/showgroup.php b/actions/showgroup.php index 537f09278b..357f579d8f 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');