From 297744353449ad0cdcd9f7d971932386abe8f7d4 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 20 Nov 2008 17:59:17 -0500 Subject: [PATCH] show self-tags in profile list darcs-hash:20081120225917-84dde-f9813a891a6547264817ed289b9899382abd8c60.gz --- lib/profilelist.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/lib/profilelist.php b/lib/profilelist.php index 613245c024..17ad5099c7 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'); } -- 2.39.5