diff options
author | Evan Prodromou <evan@status.net> | 2009-11-02 11:23:31 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2009-11-02 11:23:31 -0500 |
commit | 3c4ac05cde5a97594d3b0fa7e3f5dbbaf45e4c64 (patch) | |
tree | e35b965e5702bd28463f19c577438dfc6e6dd051 /lib | |
parent | 4abbf440682050c27ba76c3b1de19d5134ab99f7 (diff) |
remove <dl> stuff from profile list
Diffstat (limited to 'lib')
-rw-r--r-- | lib/profilelist.php | 24 |
1 files changed, 4 insertions, 20 deletions
diff --git a/lib/profilelist.php b/lib/profilelist.php index 5cc211e36..5f536e0f4 100644 --- a/lib/profilelist.php +++ b/lib/profilelist.php @@ -200,53 +200,37 @@ class ProfileListItem extends Widget function showFullName() { if (!empty($this->profile->fullname)) { - $this->out->elementStart('dl', 'entity_fn'); - $this->out->element('dt', null, 'Full name'); - $this->out->elementStart('dd'); $this->out->elementStart('span', 'fn'); $this->out->raw($this->highlight($this->profile->fullname)); $this->out->elementEnd('span'); - $this->out->elementEnd('dd'); - $this->out->elementEnd('dl'); } } function showLocation() { if (!empty($this->profile->location)) { - $this->out->elementStart('dl', 'entity_location'); - $this->out->element('dt', null, _('Location')); - $this->out->elementStart('dd', 'label'); + $this->out->elementStart('span', 'location'); $this->out->raw($this->highlight($this->profile->location)); - $this->out->elementEnd('dd'); - $this->out->elementEnd('dl'); + $this->out->elementEnd('span'); } } function showHomepage() { if (!empty($this->profile->homepage)) { - $this->out->elementStart('dl', 'entity_url'); - $this->out->element('dt', null, _('URL')); - $this->out->elementStart('dd'); $this->out->elementStart('a', array('href' => $this->profile->homepage, 'class' => 'url')); $this->out->raw($this->highlight($this->profile->homepage)); $this->out->elementEnd('a'); - $this->out->elementEnd('dd'); - $this->out->elementEnd('dl'); } } function showBio() { if (!empty($this->profile->bio)) { - $this->out->elementStart('dl', 'entity_note'); - $this->out->element('dt', null, _('Note')); - $this->out->elementStart('dd', 'note'); + $this->out->elementStart('p', 'note'); $this->out->raw($this->highlight($this->profile->bio)); - $this->out->elementEnd('dd'); - $this->out->elementEnd('dl'); + $this->out->elementEnd('p'); } } |