From ba46426f03014dcdb4d6a5e0d3aaedee6aa31945 Mon Sep 17 00:00:00 2001 From: chenfeiCF Date: Fri, 21 Dec 2018 13:36:30 +0800 Subject: [PATCH] * Add client help manual link. --- module/common/lang/en.php | 2 ++ module/common/lang/zh-cn.php | 2 ++ module/common/model.php | 2 +- module/misc/control.php | 2 +- 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/module/common/lang/en.php b/module/common/lang/en.php index 8070e348ba..1caefc4b30 100644 --- a/module/common/lang/en.php +++ b/module/common/lang/en.php @@ -505,6 +505,8 @@ $lang->pager->summery = "%s-%s of %s."; $lang->proVersion = "ZenTao Pro   "; $lang->downNotify = "Download Desktop Notification"; $lang->downloadClient = "Download Desktop Client"; +$lang->clientHelp = "Client help manual"; +$lang->clientHelpLink = "http://www.zentao.net/book/zentaopmshelp/302.html#2"; $lang->website = "https://www.zentao.pm"; $lang->suhosinInfo = "Warning! Data is reaching the limit. Please change sohusin.post.max_vars and sohusin.request.max_vars (set larger %s value) in php.ini, then save and restart Apache or php-fpm, or some data will not be saved."; diff --git a/module/common/lang/zh-cn.php b/module/common/lang/zh-cn.php index e2de871633..9cec01efbd 100644 --- a/module/common/lang/zh-cn.php +++ b/module/common/lang/zh-cn.php @@ -505,6 +505,8 @@ $lang->pager->summery = "第 %s-%s 项,共 %sproVersion = "专业版   "; $lang->downNotify = "下载桌面提醒"; $lang->downloadClient = "下载客户端"; +$lang->clientHelp = "客户端使用说明"; +$lang->clientHelpLink = "http://www.zentao.net/book/zentaopmshelp/302.html#2"; $lang->website = "https://www.zentao.net"; $lang->suhosinInfo = "警告:数据太多,请在php.ini中修改sohusin.post.max_vars和sohusin.request.max_vars(大于%s的数)。 保存并重新启动apache或php-fpm,否则会造成部分数据无法保存。"; diff --git a/module/common/model.php b/module/common/model.php index 05f1a03a2d..39d6b1bb35 100644 --- a/module/common/model.php +++ b/module/common/model.php @@ -699,7 +699,7 @@ class commonModel extends model public static function printClientLink() { global $lang; - echo html::a(helper::createLink('misc', 'downloadClient', '', '', true), $lang->downloadClient, '', "title='$lang->downloadClient' class='text-primary iframe' data-width='600'") . '   '; + echo html::a(helper::createLink('misc', 'downloadClient', '', '', true), $lang->downloadClient, '', "title='$lang->downloadClient' class='text-primary iframe' data-width='600'") . html::a($lang->clientHelpLink, "", '', "title='$lang->clientHelp' target='_blank'") . '   '; } /** diff --git a/module/misc/control.php b/module/misc/control.php index 62c608b968..cb0a5ad12c 100644 --- a/module/misc/control.php +++ b/module/misc/control.php @@ -173,7 +173,7 @@ class misc extends control $zfile->removeDir($clientDir); } - $this->fetch('file', 'sendDownHeader', array('fileName' => "zentaoclient." . $os . '.zip', 'zip', $zipContent)); + $this->fetch('file', 'sendDownHeader', array('fileName' => "zentao_chat_client." . $os . '.zip', 'zip', $zipContent)); } $this->view->action = $action;