Commit c79b9a22 authored by mmn's avatar mmn

more descriptive setting name

parent 8cfe72c6
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment