summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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');
}