This commit is contained in:
Evan Prodromou 2011-03-07 12:49:20 -05:00
parent 2272044ad1
commit 998733cdd4

View File

@ -95,6 +95,8 @@ class UserProfile extends Widget
function showAvatar() function showAvatar()
{ {
$this->out->elementStart('div', 'ur_face');
if (Event::handle('StartProfilePageAvatar', array($this->out, $this->profile))) { if (Event::handle('StartProfilePageAvatar', array($this->out, $this->profile))) {
$avatar = $this->profile->getAvatar(AVATAR_PROFILE_SIZE); $avatar = $this->profile->getAvatar(AVATAR_PROFILE_SIZE);
@ -119,6 +121,8 @@ class UserProfile extends Widget
Event::handle('EndProfilePageAvatar', Event::handle('EndProfilePageAvatar',
array($this->out, $this->profile)); array($this->out, $this->profile));
} }
$this->out->elementEnd('div');
} }
function showNickname() function showNickname()