links to people tags
darcs-hash:20081120225137-84dde-03ae7562e67c825bb7bf29805d32a351f8b095c5.gz
This commit is contained in:
		| @@ -377,7 +377,16 @@ class ShowstreamAction extends StreamAction { | |||||||
| 		common_element('dd', 'notices', (is_int($notice_count)) ? $notice_count : '0'); | 		common_element('dd', 'notices', (is_int($notice_count)) ? $notice_count : '0'); | ||||||
| 		# XXX: link these to something | 		# XXX: link these to something | ||||||
| 		common_element('dt', 'tags', _('Tags')); | 		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('dl'); | ||||||
|  |  | ||||||
| 		common_element_end('div'); | 		common_element_end('div'); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user