forked from GNUsocial/gnu-social
Removed <dl> structure from NoticeListItem::showReplyLink. Reason:
Same as commit e0b877b26c
.
This commit is contained in:
parent
e0b877b26c
commit
66a959a776
@ -453,17 +453,12 @@ class NoticeListItem extends Widget
|
|||||||
if (common_logged_in()) {
|
if (common_logged_in()) {
|
||||||
$reply_url = common_local_url('newnotice',
|
$reply_url = common_local_url('newnotice',
|
||||||
array('replyto' => $this->profile->nickname));
|
array('replyto' => $this->profile->nickname));
|
||||||
|
|
||||||
$this->out->elementStart('dl', 'notice_reply');
|
|
||||||
$this->out->element('dt', null, _('Reply to this notice'));
|
|
||||||
$this->out->elementStart('dd');
|
|
||||||
$this->out->elementStart('a', array('href' => $reply_url,
|
$this->out->elementStart('a', array('href' => $reply_url,
|
||||||
|
'class' => 'notice_reply',
|
||||||
'title' => _('Reply to this notice')));
|
'title' => _('Reply to this notice')));
|
||||||
$this->out->text(_('Reply'));
|
$this->out->text(_('Reply'));
|
||||||
$this->out->element('span', 'notice_id', $this->notice->id);
|
$this->out->element('span', 'notice_id', $this->notice->id);
|
||||||
$this->out->elementEnd('a');
|
$this->out->elementEnd('a');
|
||||||
$this->out->elementEnd('dd');
|
|
||||||
$this->out->elementEnd('dl');
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -921,22 +921,16 @@ left:29px;
|
|||||||
.notice-options .notice_delete {
|
.notice-options .notice_delete {
|
||||||
right:0;
|
right:0;
|
||||||
}
|
}
|
||||||
.notice-options .notice_reply dt {
|
|
||||||
display:none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.notice-options input,
|
.notice-options input,
|
||||||
.notice-options a {
|
.notice-options a {
|
||||||
text-indent:-9999px;
|
text-indent:-9999px;
|
||||||
outline:none;
|
outline:none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.notice-options .notice_reply a,
|
|
||||||
.notice-options input.submit {
|
.notice-options input.submit {
|
||||||
display:block;
|
display:block;
|
||||||
border:0;
|
border:0;
|
||||||
}
|
}
|
||||||
.notice-options .notice_reply a,
|
.notice-options .notice_reply,
|
||||||
.notice-options .notice_delete {
|
.notice-options .notice_delete {
|
||||||
text-decoration:none;
|
text-decoration:none;
|
||||||
padding-left:16px;
|
padding-left:16px;
|
||||||
|
@ -214,11 +214,7 @@ background:transparent url(../../base/images/icons/twotone/green/clip-02.gif) no
|
|||||||
#attachments .attachment {
|
#attachments .attachment {
|
||||||
background:none;
|
background:none;
|
||||||
}
|
}
|
||||||
.notice-options .notice_reply a,
|
.notice-options .notice_reply {
|
||||||
.notice-options form input.submit {
|
|
||||||
background-color:transparent;
|
|
||||||
}
|
|
||||||
.notice-options .notice_reply a {
|
|
||||||
background:transparent url(../../base/images/icons/twotone/green/reply.gif) no-repeat 0 45%;
|
background:transparent url(../../base/images/icons/twotone/green/reply.gif) no-repeat 0 45%;
|
||||||
}
|
}
|
||||||
.notice-options form.form_favor input.submit {
|
.notice-options form.form_favor input.submit {
|
||||||
|
@ -214,11 +214,7 @@ background:transparent url(../../base/images/icons/twotone/green/clip-02.gif) no
|
|||||||
#attachments .attachment {
|
#attachments .attachment {
|
||||||
background:none;
|
background:none;
|
||||||
}
|
}
|
||||||
.notice-options .notice_reply a,
|
.notice-options .notice_reply {
|
||||||
.notice-options form input.submit {
|
|
||||||
background-color:transparent;
|
|
||||||
}
|
|
||||||
.notice-options .notice_reply a {
|
|
||||||
background:transparent url(../../base/images/icons/twotone/green/reply.gif) no-repeat 0 45%;
|
background:transparent url(../../base/images/icons/twotone/green/reply.gif) no-repeat 0 45%;
|
||||||
}
|
}
|
||||||
.notice-options form.form_favor input.submit {
|
.notice-options form.form_favor input.submit {
|
||||||
|
Loading…
Reference in New Issue
Block a user