From: Jeffery To Date: Tue, 23 Jun 2009 17:25:55 +0000 (+0800) Subject: Merge branch '0.8.x' into small-fixes X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=280f8faab4f692ff7f4389f82397adfa6db56325;p=quix0rs-gnu-social.git Merge branch '0.8.x' into small-fixes Conflicts: lib/peoplesearchresults.php lib/profilelist.php --- 280f8faab4f692ff7f4389f82397adfa6db56325 diff --cc lib/groupeditform.php index 3014dd1c56,7e8d6eea3a..fbb39129bc --- a/lib/groupeditform.php +++ b/lib/groupeditform.php @@@ -170,9 -153,19 +169,19 @@@ class GroupEditForm extends For $this->out->elementEnd('li'); $this->out->elementStart('li'); $this->out->input('location', _('Location'), - ($this->out->arg('location')) ? $this->out->arg('location') : $this->group->location, + ($this->out->arg('location')) ? $this->out->arg('location') : $location, _('Location for the group, if any, like "City, State (or Region), Country"')); $this->out->elementEnd('li'); + if (common_config('group', 'maxaliases') > 0) { + $aliases = (empty($this->group)) ? array() : $this->group->getAliases(); + $this->out->elementStart('li'); + $this->out->input('aliases', _('Aliases'), + ($this->out->arg('aliases')) ? $this->out->arg('aliases') : + (!empty($aliases)) ? implode(' ', $aliases) : '', + sprintf(_('Extra nicknames for the group, comma- or space- separated, max %d'), + common_config('group', 'maxaliases')));; + $this->out->elementEnd('li'); + } $this->out->elementEnd('ul'); }