diff --git a/config/config.php b/config/config.php index 5832892fe4..0af47c222b 100644 --- a/config/config.php +++ b/config/config.php @@ -16,7 +16,7 @@ if(!class_exists('config')){class config{}} if(!function_exists('getWebRoot')){function getWebRoot(){}} /* 基本设置。Basic settings. */ -$config->version = '16.4'; // ZenTaoPHP的版本。 The version of ZenTaoPHP. Don't change it. +$config->version = '16.5'; // ZenTaoPHP的版本。 The version of ZenTaoPHP. Don't change it. $config->charset = 'UTF-8'; // ZenTaoPHP的编码。 The encoding of ZenTaoPHP. $config->cookieLife = time() + 2592000; // Cookie的生存时间。The cookie life time. $config->timezone = 'Asia/Shanghai'; // 时区设置。 The time zone setting, for more see http://www.php.net/manual/en/timezones.php. diff --git a/db/update16.4.sql b/db/update16.4.sql index 2f2265fb9c..dfd7d07147 100644 --- a/db/update16.4.sql +++ b/db/update16.4.sql @@ -23,4 +23,4 @@ ALTER TABLE `zt_story` ADD `activatedDate` datetime NOT NULL AFTER `closedReason ALTER TABLE `zt_task` MODIFY `activatedDate` datetime NOT NULL AFTER `lastEditedDate`; ALTER TABLE `zt_user` ADD `visions` varchar(20) NOT NULL AFTER `visits`; -UPDATE `zt_user` SET `visions`='rnd,lite'; +UPDATE `zt_user` SET `visions`='rnd,lite'; \ No newline at end of file diff --git a/extension/lite/action/ext/lang/zh-cn/lite.php b/extension/lite/action/ext/lang/zh-cn/lite.php index 8bb9e00e85..bedbda2bb6 100644 --- a/extension/lite/action/ext/lang/zh-cn/lite.php +++ b/extension/lite/action/ext/lang/zh-cn/lite.php @@ -36,3 +36,61 @@ $lang->action->dynamicAction->task['unlinkparenttask'] = '从父任务取消 $lang->action->dynamicAction->task['deletechildrentask'] = '删除子任务'; $lang->action->dynamicAction->task['linkparenttask'] = '关联到父任务'; $lang->action->dynamicAction->task['linkchildtask'] = '关联子任务'; + +$lang->action->label->createchildrenstory = "创建子目标"; +$lang->action->label->linkchildstory = "关联子目标"; +$lang->action->label->unlinkchildrenstory = "取消关联子目标"; +$lang->action->label->linkparentstory = "关联到父目标"; +$lang->action->label->unlinkparentstory = "从父目标取消关联"; +$lang->action->label->deletechildrenstory = "删除子目标"; + +$lang->action->search->label = array(); +$lang->action->search->label[''] = ''; +$lang->action->search->label['created'] = $lang->action->label->created; +$lang->action->search->label['opened'] = $lang->action->label->opened; +$lang->action->search->label['changed'] = $lang->action->label->changed; +$lang->action->search->label['edited'] = $lang->action->label->edited; +$lang->action->search->label['assigned'] = $lang->action->label->assigned; +$lang->action->search->label['closed'] = $lang->action->label->closed; +$lang->action->search->label['deleted'] = $lang->action->label->deleted; +$lang->action->search->label['deletedfile'] = $lang->action->label->deletedfile; +$lang->action->search->label['editfile'] = $lang->action->label->editfile; +$lang->action->search->label['erased'] = $lang->action->label->erased; +$lang->action->search->label['undeleted'] = $lang->action->label->undeleted; +$lang->action->search->label['hidden'] = $lang->action->label->hidden; +$lang->action->search->label['commented'] = $lang->action->label->commented; +$lang->action->search->label['activated'] = $lang->action->label->activated; +$lang->action->search->label['reviewed'] = $lang->action->label->reviewed; +$lang->action->search->label['moved'] = $lang->action->label->moved; +$lang->action->search->label['confirmed'] = $lang->action->label->confirmed; +$lang->action->search->label['totask'] = $lang->action->label->totask; +$lang->action->search->label['changestatus'] = $lang->action->label->changestatus; +$lang->action->search->label['marked'] = $lang->action->label->marked; +$lang->action->search->label['linked2project'] = $lang->action->label->linked2project; +$lang->action->search->label['unlinkedfromproject'] = $lang->action->label->unlinkedfromproject; +$lang->action->search->label['linked2execution'] = $lang->action->label->linked2execution; +$lang->action->search->label['unlinkedfromexecution'] = $lang->action->label->unlinkedfromexecution; +$lang->action->search->label['started'] = $lang->action->label->started; +$lang->action->search->label['restarted'] = $lang->action->label->restarted; +$lang->action->search->label['recordestimate'] = $lang->action->label->recordestimate; +$lang->action->search->label['editestimate'] = $lang->action->label->editestimate; +$lang->action->search->label['canceled'] = $lang->action->label->canceled; +$lang->action->search->label['finished'] = $lang->action->label->finished; +$lang->action->search->label['paused'] = $lang->action->label->paused; +$lang->action->search->label['verified'] = $lang->action->label->verified; +$lang->action->search->label['login'] = $lang->action->label->login; +$lang->action->search->label['logout'] = $lang->action->label->logout; + +$lang->action->label->createchildrenstory = "创建子目标"; +$lang->action->label->linkchildstory = "关联子目标"; +$lang->action->label->unlinkchildrenstory = "取消关联子目标"; +$lang->action->label->linkparentstory = "关联到父目标"; +$lang->action->label->unlinkparentstory = "从父目标取消关联"; +$lang->action->label->deletechildrenstory = "删除子目标"; + +$lang->action->desc->createchildrenstory = '$date, 由 $actor 创建子目标 $extra。' . "\n"; +$lang->action->desc->linkchildstory = '$date, 由 $actor 关联子目标 $extra。' . "\n"; +$lang->action->desc->unlinkchildrenstory = '$date, 由 $actor 移除子目标 $extra。' . "\n"; +$lang->action->desc->linkparentstory = '$date, 由 $actor 关联到父目标 $extra。' . "\n"; +$lang->action->desc->unlinkparentstory = '$date, 由 $actor 从父目标$extra取消关联。' . "\n"; +$lang->action->desc->deletechildrenstory = '$date, 由 $actor 删除子目标$extra。' . "\n"; diff --git a/extension/lite/common/ext/lang/zh-cn/lite.php b/extension/lite/common/ext/lang/zh-cn/lite.php index 8f1fd98ac4..029f37b3c1 100644 --- a/extension/lite/common/ext/lang/zh-cn/lite.php +++ b/extension/lite/common/ext/lang/zh-cn/lite.php @@ -18,6 +18,7 @@ if($config->edition != 'open') { $lang->navIcons['feedback'] = ""; $lang->navIcons['oa'] = ""; + $lang->navIcons['workflow'] = ""; $lang->mainNav->feedback = $lang->navIcons['feedback'] . '反馈|feedback|browse|'; $lang->mainNav->oa = $lang->navIcons['oa'] . '办公|attend|personal|'; @@ -75,7 +76,7 @@ $lang->project->target = '目标'; $lang->kanban->menu = new stdclass(); $lang->kanban->menu->index = array('link' => "{$lang->dashboard}|project|index|project=%s"); $lang->kanban->menu->execution = array('link' => "$lang->executionKanban|project|execution|status=all&projectID=%s", 'subModule' => 'execution,task'); -$lang->kanban->menu->story = array('link' => "{$lang->project->target}|projectstory|story|projectID=%s", 'subModule' => 'projectstory,tree', 'alias' => 'story,track'); +$lang->kanban->menu->story = array('link' => "{$lang->project->target}|projectstory|story|projectID=%s", 'subModule' => 'projectstory,tree,story', 'alias' => 'story,track'); $lang->kanban->menu->doc = array('link' => "{$lang->doc->common}|doc|tableContents|type=project&objectID=%s", 'subModule' => 'doc'); $lang->kanban->menu->dynamic = array('link' => "$lang->dynamic|project|dynamic|project=%s"); $lang->kanban->menu->settings = array('link' => "$lang->settings|project|view|project=%s", 'subModule' => 'stakeholder', 'alias' => 'edit,manageproducts,group,managemembers,manageview,managepriv,whitelist,addwhitelist,team'); diff --git a/extension/lite/datatable/ext/lang/zh-cn/lite.php b/extension/lite/datatable/ext/lang/zh-cn/lite.php new file mode 100644 index 0000000000..013fb74d20 --- /dev/null +++ b/extension/lite/datatable/ext/lang/zh-cn/lite.php @@ -0,0 +1,6 @@ +datatable->moduleSetting = '目录设置'; +$lang->datatable->showModule = '列表页是否显示目录名'; +$lang->datatable->showAllModule = '是否显示完整产品目录'; +$lang->datatable->showModuleList['base'] = '只显示一级目录'; +$lang->datatable->showModuleList['end'] = '只显示最后一级目录'; diff --git a/extension/lite/project/ext/css/edit/edit.css b/extension/lite/project/ext/css/edit/edit.css new file mode 100644 index 0000000000..adca7333b2 --- /dev/null +++ b/extension/lite/project/ext/css/edit/edit.css @@ -0,0 +1,5 @@ +#dataform table tbody tr:first-child{display:none!important;} +#dataform table tbody tr:nth-child(5){display:none!important;} +#dataform table tbody tr:nth-child(7){display:none!important;} +#dataform table tbody tr:nth-child(8){display:none!important;} +#dataform table tbody tr:nth-child(13){display:none!important;} diff --git a/extension/lite/project/ext/view/edit.lite.html.hook.php b/extension/lite/project/ext/view/edit.lite.html.hook.php deleted file mode 100644 index 46e8e1f046..0000000000 --- a/extension/lite/project/ext/view/edit.lite.html.hook.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/extension/lite/project/ext/view/execution.html.php b/extension/lite/project/ext/view/execution.html.php index ba68cfbab0..aeabeeebac 100644 --- a/extension/lite/project/ext/view/execution.html.php +++ b/extension/lite/project/ext/view/execution.html.php @@ -31,7 +31,7 @@
execution->noExecution;?> - createLink('execution', 'create', "projectID=$projectID"), " " . $lang->execution->createKanban, '', "class='btn btn-info' data-app='project'");?> + createLink('execution', 'create', "projectID=$projectID"), " " . $lang->project->createKanban, '', "class='btn btn-info' data-app='project'");?>
diff --git a/extension/lite/task/ext/view/batchcreate.html.php b/extension/lite/task/ext/view/batchcreate.html.php index 85a5fdb90b..8bf5d597eb 100644 --- a/extension/lite/task/ext/view/batchcreate.html.php +++ b/extension/lite/task/ext/view/batchcreate.html.php @@ -34,6 +34,7 @@ createLink('custom', 'ajaxSaveCustomFields', 'module=task§ion=custom&key=batchCreateFields')?> app->getModuleRoot() . '/common/view/customfield.html.php';?> + + + +';?> + + app->getModuleRoot() . '/common/view/pastetext.html.php';?> app->getModuleRoot() . '/common/view/footer.html.php';?> diff --git a/extension/lite/task/ext/view/create.html.php b/extension/lite/task/ext/view/create.html.php index 9ef19f6d53..6583ef2260 100644 --- a/extension/lite/task/ext/view/create.html.php +++ b/extension/lite/task/ext/view/create.html.php @@ -41,6 +41,16 @@