]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
more descriptive setting name
authorMikael Nordfeldth <mmn@hethane.se>
Tue, 10 Mar 2015 17:10:27 +0000 (18:10 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Tue, 10 Mar 2015 17:10:27 +0000 (18:10 +0100)
plugins/DefaultLayout/DefaultLayoutPlugin.php

index 9ff21c6e50ac5c9a716c3c31d729cf4c695573c8..40823ecf9db6ea70fece5334de53bfa99faa1538 100644 (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();