EndDefaultLocalNav: When showing the default local nav
- $menu: the menu
- $user: current user
-- $group: the group being shown
+
+ StartShowAccountProfileBlock: When showing the profile block for an account
+ - $out: XMLOutputter to append custom output
+ - $profile: the profile being shown
+
+ EndShowAccountProfileBlock: After showing the profile block for an account
+ - $out: XMLOutputter to append custom output
+ - $profile: the profile being shown
+
+ StartShowGroupProfileBlock: When showing the profile block for a group
+ - $out: XMLOutputter to append custom output
+ - $profile: the profile being shown
+
+ EndShowGroupProfileBlock: After showing showing the profile block for a group
+ - $out: XMLOutputter to append custom output
++- $group: the group being shown
function show()
{
- $this->out->elementStart('div', 'profile_block section');
+ $this->showActions();
+ $this->showAvatar();
+ $this->showName();
+ $this->showLocation();
+ $this->showHomepage();
+ $this->showDescription();
++ $this->showTags();
+ }
+ function showAvatar()
+ {
$size = $this->avatarSize();
- $this->out->element('img', array('src' => $this->avatar(),
- 'class' => 'profile_block_avatar',
- 'alt' => $this->name(),
- 'width' => $size,
- 'height' => $size));
+ $this->out->element(
+ 'img',
+ array(
+ 'src' => $this->avatar(),
+ 'class' => 'ur_face',
+ 'alt' => $this->name(),
+ 'width' => $size,
+ 'height' => $size
+ )
+ );
+ }
+ function showName()
+ {
$name = $this->name();
if (!empty($name)) {