block->getByID($blockID); if(empty($block)) return false; $this->app->loadLang('im'); $html = '
'.$this->lang->im->xxdServer.' | '.$this->loadModel('im')->getServer().' | ||
'.$this->lang->im->key.' | '.(strlen($key) > 8 ? (substr($key, 0, 4).'...'.substr($key, -4)) : $key).' | '; $debug = zget($this->config->xuanxuan, 'debug', 0); $html .= ''.$this->lang->im->debug.' | '.zget($this->lang->im->debugStatus, $debug).' |
'.$this->lang->im->xxd->https.' | '.zget($this->lang->im->httpsOptions, $https).' | '; $html .= ''.$this->lang->im->xxd->ip.' | '.zget($this->config->xuanxuan, 'ip', '0.0.0.0').' |
'.$this->lang->im->xxd->chatPort.' | '.zget($this->config->xuanxuan, 'chatPort', 11444).' | '; $html .= ''.$this->lang->im->xxd->commonPort.' | '.zget($this->config->xuanxuan, 'commonPort', 11444).' |
'.$this->lang->im->xxd->uploadFileSize.' | '.$this->lang->im->xxd->max.zget($this->config->xuanxuan, 'uploadFileSize', 20).'M'.' | '; $html .= ''.$this->lang->im->pollingInterval.' | '.zget($this->config->xuanxuan, 'pollingInterval', 60).' |
'.$this->lang->conference->enabled.' | '.(!empty($owtEnabled) && $owtEnabled != 'false' ? $this->lang->im->enabled : $this->lang->im->disabled).' | '; $this->app->loadLang('push'); $pushEnabled = $this->setting->getItem("owner=system&module=push§ion=common&key=enable"); $html .= ''.$this->lang->push->enable.' | '.(!empty($pushEnabled) && $pushEnabled != 'close' ? $this->lang->im->enabled : $this->lang->im->disabled).' |
'.$this->lang->integration->office.' | '.(!empty($officeEnabled) && $officeEnabled != '0' ? $this->lang->im->enabled : $this->lang->im->disabled).' | '; $html .= ''.html::a(helper::createLink('setting', 'downloadXXD', 'type=config'), $this->lang->im->downloadConf, "class='btn btn-sm btn-primary download' target='hiddenwin'").' | '; $html .= ''.html::a(helper::createLink('setting', 'xuanxuan', 'type=edit'), $this->lang->im->changeSetting, "class='btn btn-sm'").' |