summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-11-20 17:51:37 -0500
committerEvan Prodromou <evan@prodromou.name>2008-11-20 17:51:37 -0500
commita31d13e02060ca8d28d3df80fa06f97f83c5fabd (patch)
tree96a999c49c2c4dcf67b37ceb79b53aa91a993120 /actions
parent243f7ec4a28a8180c638d459d768cabc7f989179 (diff)
links to people tags
darcs-hash:20081120225137-84dde-03ae7562e67c825bb7bf29805d32a351f8b095c5.gz
Diffstat (limited to 'actions')
-rw-r--r--actions/showstream.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/actions/showstream.php b/actions/showstream.php
index 7f50566f2..3eae5eb0f 100644
--- a/actions/showstream.php
+++ b/actions/showstream.php
@@ -377,7 +377,16 @@ class ShowstreamAction extends StreamAction {
common_element('dd', 'notices', (is_int($notice_count)) ? $notice_count : '0');
# XXX: link these to something
common_element('dt', 'tags', _('Tags'));
- common_element('dd', 'tags', implode(' ', Profile_tag::getTags($profile->id, $profile->id)));
+ common_element_start('dd', 'tags');
+ $tags = Profile_tag::getTags($profile->id, $profile->id);
+ foreach ($tags as $tag) {
+ common_element('a', array('rel' => 'tag',
+ 'href' => common_local_url('peopletag',
+ array('tag' => $tag))),
+ $tag);
+ }
+ common_element_end('dd');
+
common_element_end('dl');
common_element_end('div');