From 2918a217ee977e0a3415f620d076ea60c8f48bc2 Mon Sep 17 00:00:00 2001 From: csarven Date: Thu, 20 Nov 2008 22:18:11 -0500 Subject: [PATCH] Linking directly from Your tags instead of Tag user darcs-hash:20081121031811-eefa4-80ec886c93a3357baffe332a5bf19214e8b64e93.gz --- lib/profilelist.php | 11 +++++++---- theme/default/display.css | 7 +------ 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/lib/profilelist.php b/lib/profilelist.php index de9c6395a4..9102c03eaa 100644 --- a/lib/profilelist.php +++ b/lib/profilelist.php @@ -148,7 +148,12 @@ class ProfileList { if ($tags) { common_element_start('div', 'tags_user'); common_element_start('dl'); - common_element('dt', null, _("Your tags:")); + common_element_start('dt'); + common_element('a', array('href' => common_local_url('tagother', + array('id' => $this->profile->id))), + _('Your tags')); + common_text(":"); + common_element_end('dt'); common_element_start('dd'); common_element_start('ul', 'tags xoxo'); foreach ($tags as $tag) { @@ -167,9 +172,7 @@ class ProfileList { } common_element_start('p', 'tag_user'); - common_element('a', array('href' => common_local_url('tagother', - array('id' => $this->profile->id))), - _('Tag user')); + common_element_end('p'); } } diff --git a/theme/default/display.css b/theme/default/display.css index 8b22d2b09a..b1345c1615 100644 --- a/theme/default/display.css +++ b/theme/default/display.css @@ -861,10 +861,6 @@ font-size: 60%; .tags_user { margin-left:4.5em; } -.tags_self, -.tags_user { -/*float:right;*/ -} .tags_self dl, .tags_user dl { margin-left:0; @@ -872,8 +868,8 @@ margin-left:0; .tags_self dt, .tags_user dt { -/*display:none;*/ display:inline; +margin-right:0.5em; } .tags_self dd, @@ -900,7 +896,6 @@ line-height:1.5; } .tag_user { - text-align:right; margin-top:0; margin-bottom:0; -- 2.39.5