public function viewthread_postbottom_output() { global $_G; if ($this->allow && $GLOBALS['page'] == 1 && $_G['forum_firstpid'] && $GLOBALS['postlist'][$_G['forum_firstpid']]['invisible'] == 0) { return (array) tpl_cloudsearch_viewthread_postbottom_output(); } }
public function viewthread_postbottom_output() { if (!$this->allow_thread_related) { return; } global $_G; $return = array(); if ($GLOBALS['page'] == 1 && $_G['forum_firstpid'] && $GLOBALS['postlist'][$_G['forum_firstpid']]['invisible'] == 0) { $return[] = tpl_cloudsearch_viewthread_postbottom_output(); return $return; } }