summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-11-20 17:59:17 -0500
committerEvan Prodromou <evan@prodromou.name>2008-11-20 17:59:17 -0500
commit297744353449ad0cdcd9f7d971932386abe8f7d4 (patch)
tree368af2aa7bfe06b781ab7e93e3a9268846ba6991
parenta31d13e02060ca8d28d3df80fa06f97f83c5fabd (diff)
show self-tags in profile list
darcs-hash:20081120225917-84dde-f9813a891a6547264817ed289b9899382abd8c60.gz
-rw-r--r--lib/profilelist.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/profilelist.php b/lib/profilelist.php
index 613245c02..17ad5099c 100644
--- a/lib/profilelist.php
+++ b/lib/profilelist.php
@@ -108,6 +108,19 @@ class ProfileList {
common_element_end('p');
}
+ $tags = Profile_tag::getTags($this->profile->id, $this->profile->id);
+
+ if ($tags) {
+ common_element_start('p', 'tags');
+ foreach ($tags as $tag) {
+ common_element('a', array('rel' => 'tag',
+ 'href' => common_local_url('peopletag',
+ array('tag' => $tag))),
+ $tag);
+ }
+ common_element_end('p');
+ }
+
common_element_end('li');
}