X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FDefaultLayout%2FDefaultLayoutPlugin.php;h=3c3846faf3cce934114ba83bd67b1232cb3690a0;hb=2b43d484ebcf63471629a396546dc363d5faa278;hp=9ff21c6e50ac5c9a716c3c31d729cf4c695573c8;hpb=13039434240e7738d8c9a75d2c0e8a45c2f7d239;p=quix0rs-gnu-social.git diff --git a/plugins/DefaultLayout/DefaultLayoutPlugin.php b/plugins/DefaultLayout/DefaultLayoutPlugin.php index 9ff21c6e50..3c3846faf3 100644 --- a/plugins/DefaultLayout/DefaultLayoutPlugin.php +++ b/plugins/DefaultLayout/DefaultLayoutPlugin.php @@ -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,