$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) {
$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');
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();
width:100%;
}
.entity_actions a,
-#entity_nudge p,
+.entity_nudge p,
.entity_remote_subscribe {
text-decoration:none;
font-weight:bold;
.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;
}
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;
}
}
-#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;
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);
}