- $logo = ($this->profile->stream_logo) ?
- $this->profile->stream_logo : User_group::defaultLogo(AVATAR_STREAM_SIZE);
-
- $this->out->elementStart(
- 'a',
- array(
- 'href' => $this->profile->homeUrl(),
- 'class' => 'url entry-title',
- 'rel' => 'contact group'
- )
- );
- $this->out->element(
- 'img',
- array(
- 'src' => $logo,
- 'class' => 'photo avatar',
- 'width' => AVATAR_STREAM_SIZE,
- 'height' => AVATAR_STREAM_SIZE,
- 'alt' => ($this->profile->fullname)
- ? $this->profile->fullname : $this->profile->nickname
- )
- );