summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorsarven <csarven@plantard.controlezvous.ca>2009-01-21 01:22:08 +0000
committersarven <csarven@plantard.controlezvous.ca>2009-01-21 01:22:08 +0000
commitf51984175a7f14d9fdc07a7ef4434bb06acf5d34 (patch)
tree2b08174545d489fbd1cbea7e317c5aa180db62da /lib
parent96e40e06493148757896c7f6061e9cbb2d8c2ceb (diff)
Matching markup for tags
Diffstat (limited to 'lib')
-rw-r--r--lib/profilelist.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/profilelist.php b/lib/profilelist.php
index b2a9925c1..f7ed5d19c 100644
--- a/lib/profilelist.php
+++ b/lib/profilelist.php
@@ -156,8 +156,7 @@ class ProfileList extends Widget
# Get tags
$tags = Profile_tag::getTags($this->owner->id, $this->profile->id);
- $this->out->elementStart('div', 'tags_user');
- $this->out->elementStart('dl');
+ $this->out->elementStart('dl', 'user_tags');
$this->out->elementStart('dt');
if ($user->id == $this->owner->id) {
$this->out->element('a', array('href' => common_local_url('tagother',
@@ -166,13 +165,13 @@ class ProfileList extends Widget
} else {
$this->out->text(_('Tags'));
}
- $this->out->text(":");
$this->out->elementEnd('dt');
$this->out->elementStart('dd');
if ($tags) {
$this->out->elementStart('ul', 'tags xoxo');
foreach ($tags as $tag) {
$this->out->elementStart('li');
+ $this->element('span', 'mark_hash', '#');
$this->out->element('a', array('rel' => 'tag',
'href' => common_local_url($this->action,
array('nickname' => $this->owner->nickname,
@@ -186,7 +185,6 @@ class ProfileList extends Widget
}
$this->out->elementEnd('dd');
$this->out->elementEnd('dl');
- $this->out->elementEnd('div');
}
if ($user && $user->id == $this->owner->id) {