-
-
-
-
-
-
-
- comment;?>
-
-
-
-
@@ -243,6 +226,6 @@
todo->thisIsPrivate;?>
diff --git a/xuanxuan/module/admin/ext/control/xuanxuan.php b/xuanxuan/module/admin/ext/control/xuanxuan.php
index db62eda02e..37f5a5a983 100644
--- a/xuanxuan/module/admin/ext/control/xuanxuan.php
+++ b/xuanxuan/module/admin/ext/control/xuanxuan.php
@@ -24,7 +24,7 @@ class admin extends control
if(empty($setting->sslkey)) $errors['sslkey'] = $this->lang->chat->errorSSLKey;
}
- if(strpos($setting->server, '127.0.0.1') !== false) $errors[] = $this->lang->chat->xxdServerError;
+ if($setting->turnon and strpos($setting->server, '127.0.0.1') !== false) $errors[] = $this->lang->chat->xxdServerError;
if(strpos($setting->server, 'https://') !== 0 and strpos($setting->server, 'http://') !== 0) $errors[] = $this->lang->chat->xxdSchemeError;
if(empty($setting->server)) $errors[] = $this->lang->chat->xxdServerEmpty;
diff --git a/xuanxuan/module/admin/ext/view/xuanxuan.html.php b/xuanxuan/module/admin/ext/view/xuanxuan.html.php
index 7cd361c466..2bc42f885f 100644
--- a/xuanxuan/module/admin/ext/view/xuanxuan.html.php
+++ b/xuanxuan/module/admin/ext/view/xuanxuan.html.php
@@ -34,7 +34,11 @@
chat->key;?>
- xuanxuan, 'key', '');?>
+
+ xuanxuan, 'key', '');?>
+
+
+ chat->createKey, '', 'onclick="createKey()"') : '';?>
chat->debug;?>
@@ -116,8 +120,9 @@
goback, '', 'class="btn" style="min-width: 120px"');?>
- chat->downloadXXD, 'hiddenwin', "class='btn btn-primary download download-package'");?>
- chat->downloadConfig, 'hiddenwin', "class='btn btn-primary download'");?>
+ xuanxuan->turnon ? '' : 'disabled';?>
+ chat->downloadXXD, 'hiddenwin', "class='btn btn-primary download download-package $disabled'");?>
+ chat->downloadConfig, 'hiddenwin', "class='btn btn-primary download $disabled'");?>
chat->changeSetting, '', "class='btn'");?>
chat->help, '_blank', "class='btn'");?>
diff --git a/xuanxuan/module/chat/ext/lang/en/xuanxuan.php b/xuanxuan/module/chat/ext/lang/en/xuanxuan.php
index 3d1336ce2d..70eb7b4657 100644
--- a/xuanxuan/module/chat/ext/lang/en/xuanxuan.php
+++ b/xuanxuan/module/chat/ext/lang/en/xuanxuan.php
@@ -25,7 +25,7 @@ $lang->chat->turnonList[0] = 'Disable';
$lang->chat->info = "ZenTao client is powered by Xuan, a secure and open source Instant Messenger by Nature Easy Soft. It is a self-hosted and cross-platform tool with numerous plug-ins and robust features. In Xuan, you can code your own plug-ins. Click HERE for more.";
$lang->chat->xxClientConfirm = 'Click Download ZenTao Client at the right bottom to download it!';
-$lang->chat->xxServerConfirm = 'Go to Admin-Integrate-ZT Client to download the ZenTao Client Server!';
+$lang->chat->xxServerConfirm = 'Go to Admin-ZT Client to download the ZenTao Client Server!';
$lang->chat->xxdServerTip = 'XXD server address contains protocol, host and port,such as http://192.168.1.35 or http://pms.zentao.com. It should not be 127.0.0.1.';
$lang->chat->xxdServerEmpty = 'XXD server address is empty.';
diff --git a/xuanxuan/module/chat/ext/lang/zh-cn/xuanxuan.php b/xuanxuan/module/chat/ext/lang/zh-cn/xuanxuan.php
index 91a001b097..219f0c6a1b 100644
--- a/xuanxuan/module/chat/ext/lang/zh-cn/xuanxuan.php
+++ b/xuanxuan/module/chat/ext/lang/zh-cn/xuanxuan.php
@@ -25,7 +25,7 @@ $lang->chat->turnonList[0] = '否';
$lang->chat->info = "禅道客户端由易软天创旗下另外一款免费、开源、安全的IM产品喧喧驱动,支持私有部署,跨平台操作,内置大量插件,功能丰富,在喧喧里,您甚至还可以为自己编写个性化的插件,点击查看。";
$lang->chat->xxClientConfirm = '与禅道深度集成,支持成员沟通,小组讨论,文件传输,任务指派,更加方便的项目管理,更加流畅的团队协作!点击界面右下角下载禅道客户端。';
-$lang->chat->xxServerConfirm = '与禅道深度集成,支持成员沟通,小组讨论,文件传输,任务指派,更加方便的项目管理,更加流畅的团队协作!进入后台-集成-客户端集成进行下载配置。';
+$lang->chat->xxServerConfirm = '与禅道深度集成,支持成员沟通,小组讨论,文件传输,任务指派,更加方便的项目管理,更加流畅的团队协作!进入后台-客户端集成进行下载配置。';
$lang->chat->xxdServerTip = '禅道服务器地址为完整的协议+地址+端口,示例:http://192.168.1.35 或 http://pms.zentao.com ,不能使用127.0.0.1。';
$lang->chat->xxdServerEmpty = '禅道服务器地址为空。';