showReplyLink
This commit is contained in:
parent
55cb32d7eb
commit
179ad6c13b
|
@ -438,16 +438,13 @@ class NoticeListItem extends Widget
|
||||||
$reply_url = common_local_url('newnotice',
|
$reply_url = common_local_url('newnotice',
|
||||||
array('replyto' => $this->profile->nickname));
|
array('replyto' => $this->profile->nickname));
|
||||||
|
|
||||||
$reply_js =
|
$this->out->elementStart('dl', 'reply');
|
||||||
'return doreply("'.$this->profile->nickname.'",'.$this->notice->id.');';
|
$this->out->element('dt', null, _('Reply to this notice'));
|
||||||
|
$this->out->elementStart('dd');
|
||||||
$this->out->elementStart('a',
|
$this->out->element('a', array('href' => $reply_url,
|
||||||
array('href' => $reply_url,
|
'title' => _('reply')), _('Reply'));
|
||||||
'onclick' => $reply_js,
|
$this->out->elementEnd('dd');
|
||||||
'title' => _('reply'),
|
$this->out->elementEnd('dl');
|
||||||
'class' => 'replybutton'));
|
|
||||||
$this->out->raw(' →');
|
|
||||||
$this->out->elementEnd('a');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue
Block a user