task->deniedNotice, array_keys($task->team)[0]);?>
+task->deniedNotice;?>
diff --git a/module/my/lang/en.php b/module/my/lang/en.php index 445cbd1135..17f9ba9602 100644 --- a/module/my/lang/en.php +++ b/module/my/lang/en.php @@ -19,6 +19,7 @@ $lang->my->manageContacts = 'Maintain Contact'; $lang->my->deleteContacts = 'Delete Contact'; $lang->my->limited = 'Restricted operation (editing only content related to itself)'; $lang->my->score = 'My Score'; +$lang->my->scoreRule = 'Score rule'; $lang->my->taskMenu = new stdclass(); $lang->my->taskMenu->assignedToMe = 'Assigned to Me'; diff --git a/module/my/lang/zh-cn.php b/module/my/lang/zh-cn.php index 4f7cab7c73..1c9adf8250 100644 --- a/module/my/lang/zh-cn.php +++ b/module/my/lang/zh-cn.php @@ -19,6 +19,7 @@ $lang->my->manageContacts = '维护联系人'; $lang->my->deleteContacts = '删除联系人'; $lang->my->limited = '受限操作(只能编辑与自己相关的内容)'; $lang->my->score = '我的积分'; +$lang->my->scoreRule = '积分规则'; $lang->my->taskMenu = new stdclass(); $lang->my->taskMenu->assignedToMe = '指派给我'; diff --git a/module/my/lang/zh-tw.php b/module/my/lang/zh-tw.php index b00caf4ac9..9e09c76c72 100644 --- a/module/my/lang/zh-tw.php +++ b/module/my/lang/zh-tw.php @@ -19,6 +19,7 @@ $lang->my->manageContacts = '維護聯繫人'; $lang->my->deleteContacts = '刪除聯繫人'; $lang->my->limited = '受限操作(只能編輯與自己相關的內容)'; $lang->my->score = '我的積分'; +$lang->my->scoreRule = '積分規則'; $lang->my->taskMenu = new stdclass(); $lang->my->taskMenu->assignedToMe = '指派給我'; diff --git a/module/my/view/score.html.php b/module/my/view/score.html.php index 9e3a979015..d61caeecaf 100644 --- a/module/my/view/score.html.php +++ b/module/my/view/score.html.php @@ -15,6 +15,7 @@
| lang->score->module;?> | +lang->score->method;?> | +lang->score->times;?> | +lang->score->hour;?> | +lang->score->score;?> | +备注 | +
|---|---|---|---|---|---|
| lang->score->models[$key];?> | +lang->score->methods[$key][$oneKey];?> | +lang->score->noLimit : $oneValue['times'];?> | +lang->score->noLimit : $oneValue['hour'];?> | ++ | + lang->score->extended->{$key . $oneKey})) + { + $str = $this->lang->score->extended->{$key . $oneKey}; + $strArray = explode('#', $str); + if(!empty($strArray)) foreach($strArray as $strKey => $strVal) + { + if($strKey % 2 == 1) + { + $ab = explode(',', $strVal); + $score = count($ab) == 3 ? $rule->extended->{$ab[0]}[$ab[1]][$ab[2]] : $rule->extended->{$ab[0]}[$ab[1]]; + $str = str_replace('#' . $strVal . '#', $score, $str); + } + } + echo $str; + } + ?> + | +