From 8e4f985e4502a14d66f84f9e5c8d4a54bb8e5594 Mon Sep 17 00:00:00 2001 From: sarven Date: Sat, 24 Jan 2009 03:45:44 +0000 Subject: Minor --- actions/showstream.php | 8 ++++---- theme/base/css/display.css | 10 +++++----- theme/identica/css/display.css | 12 ++++++------ 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/actions/showstream.php b/actions/showstream.php index c1ef8ba52..eab1fc0a2 100644 --- a/actions/showstream.php +++ b/actions/showstream.php @@ -316,7 +316,7 @@ class ShowstreamAction extends Action $this->elementStart('div', 'entity_actions'); $this->element('h2', null, _('User actions')); $this->elementStart('ul'); - $this->elementStart('li', array('id' => 'entity_subscribe')); + $this->elementStart('li', array('class' => 'entity_subscribe')); $cur = common_current_user(); if ($cur) { if ($cur->id != $this->profile->id) { @@ -337,14 +337,14 @@ class ShowstreamAction extends Action $user = User::staticGet('id', $this->profile->id); if ($cur && $cur->id != $user->id && $cur->mutuallySubscribed($user)) { - $this->elementStart('li', array('id' => 'entity_send-a-message')); + $this->elementStart('li', array('class' => 'entity_send-a-message')); $this->element('a', array('href' => common_local_url('newmessage', array('to' => $user->id)), 'title' => _('Send a direct message to this user')), _('Message')); $this->elementEnd('li'); if ($user->email && $user->emailnotifynudge) { - $this->elementStart('li', array('id' => 'entity_nudge')); + $this->elementStart('li', array('class' => 'entity_nudge')); $nf = new NudgeForm($this, $user); $nf->show(); $this->elementEnd('li'); @@ -353,7 +353,7 @@ class ShowstreamAction extends Action if ($cur && $cur->id != $this->profile->id) { $blocked = $cur->hasBlocked($this->profile); - $this->elementStart('li', array('id' => 'entity_block')); + $this->elementStart('li', array('class' => 'entity_block')); if ($blocked) { $ubf = new UnblockForm($this, $this->profile); $ubf->show(); diff --git a/theme/base/css/display.css b/theme/base/css/display.css index d4e9742b2..b6a3102e5 100644 --- a/theme/base/css/display.css +++ b/theme/base/css/display.css @@ -600,7 +600,7 @@ text-align:left; width:100%; } .entity_actions a, -#entity_nudge p, +.entity_nudge p, .entity_remote_subscribe { text-decoration:none; font-weight:bold; @@ -609,15 +609,15 @@ display:block; .form_user_block input.submit, .form_user_unblock input.submit, -#entity_send-a-message a, +.entity_send-a-message a, .form_user_nudge input.submit, -#entity_nudge p { +.entity_nudge p { border:0; padding-left:20px; } -#entity_send-a-message a, -#entity_nudge p { +.entity_send-a-message a, +.entity_nudge p { padding:4px 4px 4px 23px; } diff --git a/theme/identica/css/display.css b/theme/identica/css/display.css index 33d133bd5..a307ea290 100644 --- a/theme/identica/css/display.css +++ b/theme/identica/css/display.css @@ -54,9 +54,9 @@ a, div.notice-options input, .form_user_block input.submit, .form_user_unblock input.submit, -#entity_send-a-message a, +.entity_send-a-message a, .form_user_nudge input.submit, -#entity_nudge p { +.entity_nudge p { color:#002E6E; } @@ -160,11 +160,11 @@ background-image:url(../../base/images/icons/icon_vcard.gif); } -#entity_send-a-message a, +.entity_send-a-message a, .form_user_nudge input.submit, .form_user_block input.submit, .form_user_unblock input.submit, -#entity_nudge p { +.entity_nudge p { background-position: 0 40%; background-repeat: no-repeat; background-color:transparent; @@ -181,10 +181,10 @@ color:#fff; background-color:#97BFD1; } -#entity_send-a-message a { +.entity_send-a-message a { background-image:url(../images/icons/twotone/green/quote.gif); } -#entity_nudge p, +.entity_nudge p, .form_user_nudge input.submit { background-image:url(../images/icons/twotone/green/mail.gif); } -- cgit v1.2.3-54-g00ecf