From: Evan Prodromou Date: Thu, 20 Nov 2008 22:59:17 +0000 (-0500) Subject: show self-tags in profile list X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=297744353449ad0cdcd9f7d971932386abe8f7d4;p=quix0rs-gnu-social.git show self-tags in profile list darcs-hash:20081120225917-84dde-f9813a891a6547264817ed289b9899382abd8c60.gz --- 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'); }