- 'class' => 'photo avatar',
- 'width' => AVATAR_STREAM_SIZE,
- 'height' => AVATAR_STREAM_SIZE,
- 'alt' =>
- ($this->group->fullname) ? $this->group->fullname :
- $this->group->nickname));
- $hasFN = ($this->group->fullname) ? 'nickname url uid' : 'fn org nickname url uid';
- $this->out->elementStart('span', $hasFN);
- $this->out->raw($this->highlight($this->group->nickname));
- $this->out->elementEnd('span');
+ 'class' => 'avatar u-photo',
+ 'width' => AVATAR_STREAM_SIZE,
+ 'height' => AVATAR_STREAM_SIZE,
+ 'alt' => $this->group->getBestName()));
+ $this->out->text($this->group->getNickname());