function _post_infloat_btn_extra_output() { if (!$this->allow) { return; } global $_G; $allowconnectfeed = $this->_allowconnectfeed(); $allowconnectt = $this->_allowconnectt(); if ($_G['inajax'] && ($allowconnectfeed || $allowconnectt) && $_G['gp_action'] == 'newthread') { require_once libfile('function/connect'); connect_merge_member(); return tpl_sync_method($allowconnectfeed, $allowconnectt, ' z'); } }
function _post_sync_method_output() { if (!$this->allow) { return; } global $_G; $allowconnectfeed = $this->_allowconnectfeed(); $allowconnectt = $this->_allowconnectt(); if (!$_G['inajax'] && ($allowconnectfeed || $allowconnectt) && ($_GET['action'] == 'newthread' || $_GET['action'] == 'edit' && $GLOBALS['isfirstpost'] && $GLOBALS['thread']['displayorder'] == -4)) { $connectService = Cloud::loadClass('Service_Connect'); $connectService->connectMergeMember(); if ($_G['member']['is_feed']) { return tpl_sync_method($allowconnectfeed, $allowconnectt); } } }
function _viewthread_fastpost_btn_extra_output() { if (!$this->allow) { return; } global $_G; $allowconnectt = $this->_allowconnectt(); if ($GLOBALS['fastpost'] && $allowconnectt) { $connectService = Cloud::loadClass('Service_Connect'); $connectService->connectMergeMember(); if ($_G['member']['is_feed']) { return lang('plugin/qqconnect', 'connect_post_sync_method') . tpl_sync_method(false, $allowconnectt) . ' | '; } } }
function _post_sync_method_output() { if (!$this->allow) { return; } global $_G; $allowconnectfeed = $this->_allowconnectfeed(); $allowconnectt = $this->_allowconnectt(); if (!$_G['inajax'] && ($allowconnectfeed || $allowconnectt) && ($_G['gp_action'] == 'newthread' || $_G['gp_action'] == 'edit' && $GLOBALS['isfirstpost'] && $GLOBALS['thread']['displayorder'] == -4)) { require_once libfile('function/connect'); connect_merge_member(); if ($_G['member']['is_feed']) { return tpl_sync_method($allowconnectfeed, $allowconnectt); } } }