From b184173352fa07658913b40fcf0e44d590db25cd Mon Sep 17 00:00:00 2001 From: xieqiyu Date: Mon, 30 Oct 2023 01:20:15 +0000 Subject: [PATCH] * Modify the style of contact code. --- module/bug/ui/create.html.php | 32 +++++++++++++------------------- module/bug/ui/edit.html.php | 32 +++++++++++++------------------- module/my/lang/zh-cn.php | 2 +- 3 files changed, 27 insertions(+), 39 deletions(-) diff --git a/module/bug/ui/create.html.php b/module/bug/ui/create.html.php index 3b52a37ba1..4434d267f4 100644 --- a/module/bug/ui/create.html.php +++ b/module/bug/ui/create.html.php @@ -377,29 +377,23 @@ formPanel set::value(), set::placeholder($lang->contact->common) ) : - inputGroup + span ( - span + set('class', 'input-group-addon'), + a ( - set('class', 'input-group-addon'), - a - ( - set('href', createLink('my', 'managecontacts', 'listID=0&mode=new')), - set('title', $lang->user->contacts->manage), - set('data-toggle', 'modal'), - icon('cog') - ) + set('class', 'mr-2'), + set('href', createLink('my', 'managecontacts', 'listID=0&mode=new')), + set('title', $lang->user->contacts->manage), + set('data-toggle', 'modal'), + icon('cog') ), - span + a ( - set('class', 'input-group-addon'), - a - ( - set('id', 'refreshMailto'), - set('class', 'text-black'), - set('href', 'javascript:void(0)'), - icon('refresh') - ) + set('id', 'refreshMailto'), + set('class', 'text-black'), + set('href', 'javascript:void(0)'), + icon('refresh') ) ) ), diff --git a/module/bug/ui/edit.html.php b/module/bug/ui/edit.html.php index e878c27c1b..d6b1b0bbed 100644 --- a/module/bug/ui/edit.html.php +++ b/module/bug/ui/edit.html.php @@ -342,29 +342,23 @@ detailBody set::value(), set::placeholder($lang->contact->common) ) : - inputGroup + span ( - span + set('class', 'input-group-addon'), + a ( - set('class', 'input-group-addon'), - a - ( - set('href', createLink('my', 'managecontacts', 'listID=0&mode=new')), - set('title', $lang->user->contacts->manage), - set('data-toggle', 'modal'), - icon('cog'), - ) + set('class', 'mr-2'), + set('href', createLink('my', 'managecontacts', 'listID=0&mode=new')), + set('title', $lang->user->contacts->manage), + set('data-toggle', 'modal'), + icon('cog'), ), - span + a ( - set('class', 'input-group-addon'), - a - ( - set('id', 'refreshMailto'), - set('class', 'text-black'), - set('href', 'javascript:void(0)'), - icon('refresh') - ) + set('id', 'refreshMailto'), + set('class', 'text-black'), + set('href', 'javascript:void(0)'), + icon('refresh') ) ) ), diff --git a/module/my/lang/zh-cn.php b/module/my/lang/zh-cn.php index c8e00fa38b..b364b92cb9 100644 --- a/module/my/lang/zh-cn.php +++ b/module/my/lang/zh-cn.php @@ -32,7 +32,7 @@ $lang->my->manageContacts = '维护联系人'; $lang->my->createContacts = '创建联系人'; $lang->my->deleteContacts = '删除联系人'; $lang->my->viewContacts = '查看联系人'; -$lang->my->shareContacts = '公开联系人'; +$lang->my->shareContacts = '公共联系人'; $lang->my->limited = '受限操作(只能编辑与自己相关的内容)'; $lang->my->score = '我的积分'; $lang->my->scoreRule = '积分规则';