This commit is contained in:
sarven 2009-01-24 03:45:44 +00:00
parent 08030196ca
commit 8e4f985e45
3 changed files with 15 additions and 15 deletions

View File

@ -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();

View File

@ -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;
}

View File

@ -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);
}