more descriptive setting name

This commit is contained in:
Mikael Nordfeldth 2015-03-10 18:10:27 +01:00
parent 8cfe72c683
commit c79b9a2289

View File

@ -31,10 +31,10 @@ if (!defined('GNUSOCIAL')) { exit(1); }
class DefaultLayoutPlugin extends Plugin
{
public $replyforms = false;
public $prerender_replyforms = false;
public function onEndShowThreadedNoticeTail(NoticeListItem $nli, Notice $notice, array $notices) {
if ($this->replyforms) {
if ($this->prerender_replyforms) {
$nli->out->elementStart('li', array('class'=>'notice-reply', 'style'=>'display: none;'));
$replyForm = new NoticeForm($nli->out, array('inreplyto' => $notice->getID()));
$replyForm->show();