From 8438decfc617baffa20259e45ef2b0bf06f9ac26 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Thu, 6 Jun 2019 16:17:19 +0800 Subject: [PATCH] * finish task #5640. --- module/entry/config.php | 3 --- module/entry/lang/en.php | 3 +++ module/entry/lang/zh-cn.php | 3 +++ module/entry/view/create.html.php | 6 +++--- module/entry/view/edit.html.php | 6 +++--- 5 files changed, 12 insertions(+), 9 deletions(-) diff --git a/module/entry/config.php b/module/entry/config.php index 98913d48b4..ae856edd78 100644 --- a/module/entry/config.php +++ b/module/entry/config.php @@ -5,9 +5,6 @@ $config->entry->create->requiredFields = 'name, code, account, key'; $config->entry->edit = new stdclass(); $config->entry->edit->requiredFields = 'name, code, account, key'; -$config->entry->help = 'https://www.zentao.net/book/zentaopmshelp/integration-287.html'; -$config->entry->notify = 'https://www.zentao.net/book/zentaopmshelp/301.html'; - $config->entry->errcode['PARAM_CODE_MISSING'] = 401; $config->entry->errcode['PARAM_TOKEN_MISSING'] = 401; $config->entry->errcode['SESSION_CODE_MISSING'] = 401; diff --git a/module/entry/lang/en.php b/module/entry/lang/en.php index f1dbd40804..676bfa8acc 100644 --- a/module/entry/lang/en.php +++ b/module/entry/lang/en.php @@ -30,6 +30,9 @@ $lang->entry->confirmDelete = 'Do you want to delete this entry?'; $lang->entry->help = 'Help'; $lang->entry->notify = 'Notification'; +$lang->entry->helpLink = 'https://www.zentao.pm/book/zentaomanual/scrum-tool-open-source-integrate-third-party-application-221.html'; +$lang->entry->notifyLink = 'https://www.zentao.net/book/zentaopmshelp/301.html'; + $lang->entry->note = new stdClass(); $lang->entry->note->name = 'Name'; $lang->entry->note->code = 'Code should be letters and numbers'; diff --git a/module/entry/lang/zh-cn.php b/module/entry/lang/zh-cn.php index 092587b9af..f1e5b044c2 100644 --- a/module/entry/lang/zh-cn.php +++ b/module/entry/lang/zh-cn.php @@ -30,6 +30,9 @@ $lang->entry->confirmDelete = '您确认要删除该应用吗?'; $lang->entry->help = '使用说明'; $lang->entry->notify = '消息通知'; +$lang->entry->helpLink = 'https://www.zentao.net/book/zentaopmshelp/integration-287.html'; +$lang->entry->notifyLink = 'https://www.zentao.net/book/zentaopmshelp/301.html'; + $lang->entry->note = new stdClass(); $lang->entry->note->name = '授权应用名称'; $lang->entry->note->code = '授权应用代号,必须为字母或数字的组合'; diff --git a/module/entry/view/create.html.php b/module/entry/view/create.html.php index cdf6fbe532..ff65c223e4 100644 --- a/module/entry/view/create.html.php +++ b/module/entry/view/create.html.php @@ -25,7 +25,7 @@ entry->name;?> entry->note->name}' placeholder='{$lang->entry->note->name}'");?> - + entry->code;?> @@ -61,8 +61,8 @@ - entry->help, $lang->entry->help, '_blank', "class='help'");?> - entry->notify, $lang->entry->notify, '_blank', "class='help'");?> + entry->helpLink, $lang->entry->help, '_blank', "class='help'");?> + entry->notifyLink, $lang->entry->notify, '_blank', "class='help'");?> diff --git a/module/entry/view/edit.html.php b/module/entry/view/edit.html.php index 4f31b337b4..498f50f3f5 100644 --- a/module/entry/view/edit.html.php +++ b/module/entry/view/edit.html.php @@ -25,7 +25,7 @@ entry->name;?> name, "class='form-control' title='{$lang->entry->note->name}' placeholder='{$lang->entry->note->name}'");?> - + entry->code;?> @@ -59,8 +59,8 @@ - entry->help, $lang->entry->help, '_blank', "class='help'");?> - entry->notify, $lang->entry->notify, '_blank', "class='help'");?> + entry->helpLink, $lang->entry->help, '_blank', "class='help'");?> + entry->notifyLink, $lang->entry->notify, '_blank', "class='help'");?>