summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcsarven <csarven@controlyourself.ca>2008-11-20 22:18:11 -0500
committercsarven <csarven@controlyourself.ca>2008-11-20 22:18:11 -0500
commit2918a217ee977e0a3415f620d076ea60c8f48bc2 (patch)
tree49fc4e71dc385e6b3d8fef307deab5f0674865b6
parent6af0534ea7fd8247478444fc33ba83ce4b1ea161 (diff)
Linking directly from Your tags instead of Tag user
darcs-hash:20081121031811-eefa4-80ec886c93a3357baffe332a5bf19214e8b64e93.gz
-rw-r--r--lib/profilelist.php11
-rw-r--r--theme/default/display.css7
2 files changed, 8 insertions, 10 deletions
diff --git a/lib/profilelist.php b/lib/profilelist.php
index de9c6395a..9102c03ea 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 8b22d2b09..b1345c161 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;