function _post_infloat_btn_extra_output() { if (!$this->allow) { return; } global $_G; $allowconnectfeed = $this->_allowconnectfeed(); $allowconnectt = $this->_allowconnectt(); if ($_G['inajax'] && ($allowconnectfeed || $allowconnectt) && $_GET['action'] == 'newthread') { $connectService = Cloud::loadClass('Service_Connect'); $connectService->connectMergeMember(); if ($_G['member']['is_feed']) { return tpl_infloat_sync_method($allowconnectfeed, $allowconnectt, ' z'); } } if ($_G['inajax'] && ($allowconnectfeed || $allowconnectt) && $_GET['action'] == 'reply') { $connectService = Cloud::loadClass('Service_Connect'); $connectService->connectMergeMember(); if ($_G['member']['is_feed']) { return tpl_infloat_sync_method(false, $allowconnectt, ' z'); } } }
function _post_infloat_btn_extra_output() { if (!$this->allow) { return; } global $_G; $allowconnectfeed = $this->_allowconnectfeed(); $allowconnectt = $this->_allowconnectt(); if (($allowconnectfeed || $allowconnectt) && $_G['gp_action'] == 'newthread') { require_once libfile('function/connect'); connect_merge_member(); if ($_G['member']['is_feed']) { return tpl_infloat_sync_method($allowconnectfeed, $allowconnectt); } } }