From ca8f45fc6ea609450de75afc3438d9c43c42a7bb Mon Sep 17 00:00:00 2001 From: csarven Date: Thu, 20 Nov 2008 21:38:27 -0500 Subject: Tag markup and styling for tag_self, tag_user, form#tag_user darcs-hash:20081121023827-eefa4-ed91f63cac35c078dc385546a69209cbef2a0d5e.gz --- actions/showstream.php | 7 ++++++- actions/tagother.php | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'actions') diff --git a/actions/showstream.php b/actions/showstream.php index 419c4421a..b9ab699d3 100644 --- a/actions/showstream.php +++ b/actions/showstream.php @@ -355,12 +355,17 @@ class ShowstreamAction extends StreamAction { common_element('dt', 'tags', _('Tags')); common_element_start('dd', 'tags'); $tags = Profile_tag::getTags($profile->id, $profile->id); + + common_element_start('ul', 'tags xoxo'); foreach ($tags as $tag) { - common_element('a', array('rel' => 'tag', + common_element_start('li'); + common_element('a', array('rel' => 'bookmark tag', 'href' => common_local_url('peopletag', array('tag' => $tag))), $tag); + common_element_end('li'); } + common_element_end('ul'); common_element_end('dd'); common_element_end('dl'); diff --git a/actions/tagother.php b/actions/tagother.php index ed9d7c80d..f95724152 100644 --- a/actions/tagother.php +++ b/actions/tagother.php @@ -88,7 +88,7 @@ class TagotherAction extends Action { } common_element_start('form', array('method' => 'post', - 'id' => 'tagother', + 'id' => 'tag_user', 'name' => 'tagother', 'action' => $this->self_url())); common_hidden('token', common_session_token()); -- cgit v1.2.3-54-g00ecf