- $this->out->element('img', array('src' => $this->avatar(),
- 'class' => 'profile_block_avatar',
- 'alt' => $this->name(),
- 'width' => $size,
- 'height' => $size));
-
- if ($this->canEdit()) {
- $this->out->element('a', array('href' => $this->editUrl()),
- $this->editText());
- }
+ $this->out->element(
+ 'img',
+ array(
+ 'src' => $this->avatar(),
+ 'class' => 'ur_face',
+ 'alt' => $this->name(),
+ 'width' => $size,
+ 'height' => $size
+ )
+ );
+ }