diff options
author | Robin Millette <millette@plantard.controlezvous.ca> | 2009-01-23 01:01:01 +0000 |
---|---|---|
committer | Robin Millette <millette@plantard.controlezvous.ca> | 2009-01-23 01:01:01 +0000 |
commit | 8a65c5175c3b734d4c53d6a3c3af51c5a645dff2 (patch) | |
tree | 6e85645d2e51d517f88413c119ddc4eed26f633b /lib/topposterssection.php | |
parent | 4a4efc3b0a453a0e345f4ec5bd8e970130589ae6 (diff) | |
parent | 1132e66f84c188f8267165d99d95d04047b6b23b (diff) |
Merge branch 'master' of /var/www/trunk
Diffstat (limited to 'lib/topposterssection.php')
-rw-r--r-- | lib/topposterssection.php | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/lib/topposterssection.php b/lib/topposterssection.php index 4701ca83f..4bd59ac79 100644 --- a/lib/topposterssection.php +++ b/lib/topposterssection.php @@ -69,36 +69,6 @@ class TopPostersSection extends ProfileSection return $profile; } - function showProfile($profile) - { - $this->out->elementStart('tr'); - $this->out->elementStart('td'); - $this->out->elementStart('span', 'vcard'); - $this->out->elementStart('a', array('title' => ($profile->fullname) ? - $profile->fullname : - $profile->nickname, - 'href' => $profile->profileurl, - 'rel' => 'contact member', - 'class' => 'url')); - $avatar = $profile->getAvatar(AVATAR_MINI_SIZE); - $this->out->element('img', array('src' => (($avatar) ? common_avatar_display_url($avatar) : common_default_avatar(AVATAR_MINI_SIZE)), - 'width' => AVATAR_MINI_SIZE, - 'height' => AVATAR_MINI_SIZE, - 'class' => 'avatar photo', - 'alt' => ($profile->fullname) ? - $profile->fullname : - $profile->nickname)); - $this->out->element('span', 'fn nickname', $profile->nickname); - $this->out->elementEnd('span'); - $this->out->elementEnd('a'); - $this->out->elementEnd('td'); - if ($profile->value) { - $this->out->element('td', 'value', $profile->value); - } - - $this->out->elementEnd('tr'); - } - function title() { return _('Top posters'); |