]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/DefaultLayout/DefaultLayoutPlugin.php
UserFlag: Pass proper profile to FlaggedProfileListItem
[quix0rs-gnu-social.git] / plugins / DefaultLayout / DefaultLayoutPlugin.php
index 9ff21c6e50ac5c9a716c3c31d729cf4c695573c8..3c3846faf3cce934114ba83bd67b1232cb3690a0 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();
@@ -43,7 +43,7 @@ class DefaultLayoutPlugin extends Plugin
         return true;
     }
 
-    public function onPluginVersion(&$versions)
+    public function onPluginVersion(array &$versions)
     {
         $versions[] = array('name' => 'Default Layout',
                             'version' => GNUSOCIAL_VERSION,