diff --git a/config/zentaopms.php b/config/zentaopms.php index 15db58d9e7..f2f79bb987 100644 --- a/config/zentaopms.php +++ b/config/zentaopms.php @@ -776,7 +776,7 @@ $config->db->sqliteBlacklist = array('sqlite_queue', 'cron'); $config->hasDropmenuApps = array('program', 'project', 'product', 'execution', 'qa', 'admin', 'bi', 'feedback', 'demandpool'); $config->hasBranchMenuModules = array('product', 'story', 'release', 'bug', 'testcase', 'testtask', 'branch', 'tree'); $config->excludeBranchMenu = array('product-dashboard', 'product-view'); -$config->excludeDropmenuList = array('program-browse', 'program-productview', 'program-kanban', 'product-all', 'product-index', 'product-kanban', 'project-kanban', 'execution-all', 'execution-executionkanban', 'project-browse', 'project-batchedit', 'product-batchedit', 'admin-index', 'product-create', 'project-create', 'execution-create', 'program-create', 'execution-batchedit', 'metric-preview', 'metric-browse', 'metric-view', 'metriclib-browse', 'qa-index', 'caselib-create', 'feedback-batchedit', 'feedback-batchclose', 'feedback-showimport', 'dimension-browse', 'dataview-browse', 'dataview-create', 'dataview-query', 'ticket-batchedit', 'ticket-batchfinish', 'ticket-batchactivate', 'file-download', 'doc-browsereport', 'doc-browsereporttemplate'); +$config->excludeDropmenuList = array('program-browse', 'program-productview', 'program-kanban', 'product-all', 'product-index', 'product-kanban', 'project-kanban', 'execution-all', 'execution-executionkanban', 'project-browse', 'project-batchedit', 'product-batchedit', 'admin-index', 'product-create', 'project-create', 'execution-create', 'program-create', 'execution-batchedit', 'metric-preview', 'metric-browse', 'metric-view', 'metriclib-browse', 'qa-index', 'caselib-create', 'feedback-batchedit', 'feedback-batchclose', 'feedback-showimport', 'dimension-browse', 'dataview-browse', 'dataview-create', 'dataview-query', 'ticket-batchedit', 'ticket-batchfinish', 'ticket-batchactivate', 'file-download'); $config->hasSwitcherModules = array('design'); $config->hasSwitcherMethods = array('project-bug', 'project-testcase', 'execution-bug', 'execution-testcase', 'testtask-cases', 'testtask-view', 'testtask-report', 'testtask-groupcase', 'testtask-linkcase'); $config->excludeSwitcherList = array(); diff --git a/module/doc/control.php b/module/doc/control.php index c5d0e6068e..8ce233a99e 100755 --- a/module/doc/control.php +++ b/module/doc/control.php @@ -2248,49 +2248,4 @@ class doc extends control $this->view->title = $title; $this->display(); } - - /** - * 报告列表。 - * Report list. - * - * @access public - * @return void - */ - public function browseReport() - { - $this->display(); - } - - /** - * 报告模板列表。 - * Report template list. - * - * @param int $libID - * @param string $type - * @param int $docID - * @param string $orderBy - * @param int $recTotal - * @param int $recPerPage - * @param int $pageID - * @param string $mode home|list - * @access public - * @return void - */ - public function browseReportTemplate(int $libID = 0, string $type = 'all', int $docID = 0, string $orderBy = 'id_desc', int $recTotal = 0, int $recPerPage = 20, int $pageID = 1, string $mode = 'home') - { - $this->app->loadClass('pager', true); - $pager = new pager($recTotal, $recPerPage, $pageID); - $templateList = array(); - - $this->view->title = $this->lang->doc->template; - $this->view->libID = $libID; - $this->view->users = $this->loadModel('user')->getPairs('noclosed,noletter'); - $this->view->templateList = $templateList; - $this->view->docID = $docID; - $this->view->orderBy = $orderBy; - $this->view->recPerPage = $recPerPage; - $this->view->pageID = $pageID; - $this->view->mode = $mode; - $this->display(); - } } diff --git a/module/doc/lang/de.php b/module/doc/lang/de.php index 5d04b3c27f..e729e9ab22 100644 --- a/module/doc/lang/de.php +++ b/module/doc/lang/de.php @@ -106,8 +106,6 @@ $lang->docTemplate->editedList = 'Template editor'; $lang->docTemplate->content = 'Template Text'; $lang->docTemplate->templateDesc = 'Template Desc'; $lang->docTemplate->status = 'Template Status'; -$lang->docTemplate->noReportTemplate = 'No Report Template'; -$lang->docTemplate->createReportTemplate = 'Create Report Template'; $lang->docTemplate->create = 'Create Template'; $lang->docTemplate->edit = 'Edit Template'; @@ -279,45 +277,42 @@ $lang->doc->api = 'API'; $lang->doc->displaySetting = 'Display Settings'; $lang->doc->collectAction = 'Add Favorite'; -$lang->doc->libName = 'Name'; -$lang->doc->libType = 'Kategorie'; -$lang->doc->custom = 'Eigene Dok Bibliothek'; -$lang->doc->customAB = 'Eigene Bibliothek'; -$lang->doc->createLib = 'Create Library'; -$lang->doc->createLibAction = 'Create Library'; -$lang->doc->createSpace = 'Create Space'; -$lang->doc->allLibs = 'Bibliothek'; -$lang->doc->objectLibs = "{$lang->productCommon}/{$lang->executionCommon} Bibliothek Liste"; -$lang->doc->showFiles = 'Dok Bibliothek'; -$lang->doc->editLib = 'Edit Document Library'; -$lang->doc->editSpaceAction = 'Edit Space'; -$lang->doc->editLibAction = 'Edit Library'; -$lang->doc->deleteSpaceAction = 'Delete Space'; -$lang->doc->deleteLibAction = 'Delete Library'; -$lang->doc->moveLibAction = 'Move Library'; -$lang->doc->moveDocAction = 'Move Document'; -$lang->doc->batchMove = 'Batch Move'; -$lang->doc->batchMoveDocAction = 'Batch Move Document'; -$lang->doc->fixedMenu = 'Im Menü fixieren'; -$lang->doc->removeMenu = 'Vom Menü entfernen'; -$lang->doc->search = 'Suche'; -$lang->doc->allCollections = 'All Collections'; -$lang->doc->keywordsTips = 'Please use commas to separate multiple keywords.'; -$lang->doc->sortLibs = 'Sort Libs'; -$lang->doc->titlePlaceholder = 'Please enter the title'; -$lang->doc->confirm = 'Confirm'; -$lang->doc->docSummary = 'Total: %s.'; -$lang->doc->docCheckedSummary = 'Seleted: %total%.'; -$lang->doc->showDoc = 'Whether to display documents'; -$lang->doc->uploadFile = 'Upload File'; -$lang->doc->uploadDoc = 'Upload Document'; -$lang->doc->uploadFormat = 'Upload Format'; -$lang->doc->editedList = 'File editor'; -$lang->doc->moveTo = 'Move to'; -$lang->doc->notSupportExport = 'This document does not support export'; -$lang->doc->browseReportTemplate = 'Report Template Home'; -$lang->doc->browseReport = 'Report Home'; -$lang->doc->createReportTemplate = 'Create Report Template'; +$lang->doc->libName = 'Name'; +$lang->doc->libType = 'Kategorie'; +$lang->doc->custom = 'Eigene Dok Bibliothek'; +$lang->doc->customAB = 'Eigene Bibliothek'; +$lang->doc->createLib = 'Create Library'; +$lang->doc->createLibAction = 'Create Library'; +$lang->doc->createSpace = 'Create Space'; +$lang->doc->allLibs = 'Bibliothek'; +$lang->doc->objectLibs = "{$lang->productCommon}/{$lang->executionCommon} Bibliothek Liste"; +$lang->doc->showFiles = 'Dok Bibliothek'; +$lang->doc->editLib = 'Edit Document Library'; +$lang->doc->editSpaceAction = 'Edit Space'; +$lang->doc->editLibAction = 'Edit Library'; +$lang->doc->deleteSpaceAction = 'Delete Space'; +$lang->doc->deleteLibAction = 'Delete Library'; +$lang->doc->moveLibAction = 'Move Library'; +$lang->doc->moveDocAction = 'Move Document'; +$lang->doc->batchMove = 'Batch Move'; +$lang->doc->batchMoveDocAction = 'Batch Move Document'; +$lang->doc->fixedMenu = 'Im Menü fixieren'; +$lang->doc->removeMenu = 'Vom Menü entfernen'; +$lang->doc->search = 'Suche'; +$lang->doc->allCollections = 'All Collections'; +$lang->doc->keywordsTips = 'Please use commas to separate multiple keywords.'; +$lang->doc->sortLibs = 'Sort Libs'; +$lang->doc->titlePlaceholder = 'Please enter the title'; +$lang->doc->confirm = 'Confirm'; +$lang->doc->docSummary = 'Total: %s.'; +$lang->doc->docCheckedSummary = 'Seleted: %total%.'; +$lang->doc->showDoc = 'Whether to display documents'; +$lang->doc->uploadFile = 'Upload File'; +$lang->doc->uploadDoc = 'Upload Document'; +$lang->doc->uploadFormat = 'Upload Format'; +$lang->doc->editedList = 'File editor'; +$lang->doc->moveTo = 'Move to'; +$lang->doc->notSupportExport = 'This document does not support export'; $lang->doc->preview = 'Preview'; $lang->doc->insertTitle = 'Insert %s list'; diff --git a/module/doc/lang/en.php b/module/doc/lang/en.php index 4a390951fa..8945ddc702 100644 --- a/module/doc/lang/en.php +++ b/module/doc/lang/en.php @@ -106,8 +106,6 @@ $lang->docTemplate->editedList = 'Template editor'; $lang->docTemplate->content = 'Template Text'; $lang->docTemplate->templateDesc = 'Template Desc'; $lang->docTemplate->status = 'Template Status'; -$lang->docTemplate->noReportTemplate = 'No Report Template'; -$lang->docTemplate->createReportTemplate = 'Create Report Template'; $lang->docTemplate->create = 'Create Template'; $lang->docTemplate->edit = 'Edit Template'; @@ -279,45 +277,42 @@ $lang->doc->api = 'API'; $lang->doc->displaySetting = 'Display Settings'; $lang->doc->collectAction = 'Add Favorite'; -$lang->doc->libName = 'Document Library'; -$lang->doc->libType = 'Category'; -$lang->doc->custom = 'Custom Document Library'; -$lang->doc->customAB = 'Custom Doc Lib'; -$lang->doc->createLib = 'Create Library'; -$lang->doc->createLibAction = 'Create Library'; -$lang->doc->createSpace = 'Create Space'; -$lang->doc->allLibs = 'Library List'; -$lang->doc->objectLibs = "Document View of Library"; -$lang->doc->showFiles = 'Attachments'; -$lang->doc->editLib = 'Edit Document Library'; -$lang->doc->editSpaceAction = 'Edit Space'; -$lang->doc->editLibAction = 'Edit Library'; -$lang->doc->deleteSpaceAction = 'Delete Space'; -$lang->doc->deleteLibAction = 'Delete Library'; -$lang->doc->moveLibAction = 'Move Library'; -$lang->doc->moveDocAction = 'Move Document'; -$lang->doc->batchMove = 'Batch Move'; -$lang->doc->batchMoveDocAction = 'Batch Move Document'; -$lang->doc->fixedMenu = 'Fix to Menu'; -$lang->doc->removeMenu = 'Remove from Menu'; -$lang->doc->search = 'Search'; -$lang->doc->allCollections = 'All Collections'; -$lang->doc->keywordsTips = 'Please use commas to separate keywords.'; -$lang->doc->sortLibs = 'Sort Libs'; -$lang->doc->titlePlaceholder = 'Enter the title here'; -$lang->doc->confirm = 'Confirm'; -$lang->doc->docSummary = 'Total: %s.'; -$lang->doc->docCheckedSummary = 'Seleted: %total%.'; -$lang->doc->showDoc = 'Whether to display documents'; -$lang->doc->uploadFile = 'Upload File'; -$lang->doc->uploadDoc = 'Import Document'; -$lang->doc->uploadFormat = 'Upload Format'; -$lang->doc->editedList = 'File editor'; -$lang->doc->moveTo = 'Move to'; -$lang->doc->notSupportExport = 'This document does not support export'; -$lang->doc->browseReportTemplate = 'Report Template Home'; -$lang->doc->browseReport = 'Report Home'; -$lang->doc->createReportTemplate = 'Create Report Template'; +$lang->doc->libName = 'Document Library'; +$lang->doc->libType = 'Category'; +$lang->doc->custom = 'Custom Document Library'; +$lang->doc->customAB = 'Custom Doc Lib'; +$lang->doc->createLib = 'Create Library'; +$lang->doc->createLibAction = 'Create Library'; +$lang->doc->createSpace = 'Create Space'; +$lang->doc->allLibs = 'Library List'; +$lang->doc->objectLibs = "Document View of Library"; +$lang->doc->showFiles = 'Attachments'; +$lang->doc->editLib = 'Edit Document Library'; +$lang->doc->editSpaceAction = 'Edit Space'; +$lang->doc->editLibAction = 'Edit Library'; +$lang->doc->deleteSpaceAction = 'Delete Space'; +$lang->doc->deleteLibAction = 'Delete Library'; +$lang->doc->moveLibAction = 'Move Library'; +$lang->doc->moveDocAction = 'Move Document'; +$lang->doc->batchMove = 'Batch Move'; +$lang->doc->batchMoveDocAction = 'Batch Move Document'; +$lang->doc->fixedMenu = 'Fix to Menu'; +$lang->doc->removeMenu = 'Remove from Menu'; +$lang->doc->search = 'Search'; +$lang->doc->allCollections = 'All Collections'; +$lang->doc->keywordsTips = 'Please use commas to separate keywords.'; +$lang->doc->sortLibs = 'Sort Libs'; +$lang->doc->titlePlaceholder = 'Enter the title here'; +$lang->doc->confirm = 'Confirm'; +$lang->doc->docSummary = 'Total: %s.'; +$lang->doc->docCheckedSummary = 'Seleted: %total%.'; +$lang->doc->showDoc = 'Whether to display documents'; +$lang->doc->uploadFile = 'Upload File'; +$lang->doc->uploadDoc = 'Import Document'; +$lang->doc->uploadFormat = 'Upload Format'; +$lang->doc->editedList = 'File editor'; +$lang->doc->moveTo = 'Move to'; +$lang->doc->notSupportExport = 'This document does not support export'; $lang->doc->preview = 'Preview'; $lang->doc->insertTitle = 'Insert %s list'; diff --git a/module/doc/lang/fr.php b/module/doc/lang/fr.php index 9e9e17b3ee..7a309004c2 100644 --- a/module/doc/lang/fr.php +++ b/module/doc/lang/fr.php @@ -106,8 +106,6 @@ $lang->docTemplate->editedList = 'Template editor'; $lang->docTemplate->content = 'Template Text'; $lang->docTemplate->templateDesc = 'Template Desc'; $lang->docTemplate->status = 'Template Status'; -$lang->docTemplate->noReportTemplate = 'No Report Template'; -$lang->docTemplate->createReportTemplate = 'Create Report Template'; $lang->docTemplate->create = 'Create Template'; $lang->docTemplate->edit = 'Edit Template'; @@ -279,45 +277,42 @@ $lang->doc->api = 'API'; $lang->doc->displaySetting = 'Display Settings'; $lang->doc->collectAction = 'Add Favorite'; -$lang->doc->libName = 'Bibliothèque de Documents'; -$lang->doc->libType = 'Catégorie'; -$lang->doc->custom = 'Personnaliser Bibliothèque de Documents'; -$lang->doc->customAB = 'Person. Bib Doc'; -$lang->doc->createLib = 'Create Library'; -$lang->doc->createLibAction = 'Create Library'; -$lang->doc->createSpace = 'Create Space'; -$lang->doc->allLibs = 'Liste des Bibliothèque'; -$lang->doc->objectLibs = "{$lang->productCommon}/{$lang->executionCommon} Bibliothèque"; -$lang->doc->showFiles = 'Pièces Jointes'; -$lang->doc->editLib = 'Edit Document Library'; -$lang->doc->editSpaceAction = 'Edit Space'; -$lang->doc->editLibAction = 'Edit Library'; -$lang->doc->deleteSpaceAction = 'Delete Space'; -$lang->doc->deleteLibAction = 'Delete Library'; -$lang->doc->moveLibAction = 'Move Library'; -$lang->doc->moveDocAction = 'Move Document'; -$lang->doc->batchMove = 'Batch Move'; -$lang->doc->batchMoveDocAction = 'Batch Move Document'; -$lang->doc->fixedMenu = 'Coller au Menu'; -$lang->doc->removeMenu = 'Décoller du Menu'; -$lang->doc->search = 'Rechercher'; -$lang->doc->allCollections = 'All Collections'; -$lang->doc->keywordsTips = 'Please use commas to separate multiple keywords.'; -$lang->doc->sortLibs = 'Sort Libs'; -$lang->doc->titlePlaceholder = 'Veuillez saisir le titre'; -$lang->doc->confirm = 'Confirm'; -$lang->doc->docSummary = 'Total: %s.'; -$lang->doc->docCheckedSummary = 'Seleted: %total%.'; -$lang->doc->showDoc = 'Whether to display documents'; -$lang->doc->uploadFile = 'Upload File'; -$lang->doc->uploadDoc = 'Upload Document'; -$lang->doc->uploadFormat = 'Upload Format'; -$lang->doc->editedList = 'File editor'; -$lang->doc->moveTo = 'Move to'; -$lang->doc->notSupportExport = 'This document does not support export'; -$lang->doc->browseReportTemplate = 'Report Template Home'; -$lang->doc->browseReport = 'Report Home'; -$lang->doc->createReportTemplate = 'Create Report Template'; +$lang->doc->libName = 'Bibliothèque de Documents'; +$lang->doc->libType = 'Catégorie'; +$lang->doc->custom = 'Personnaliser Bibliothèque de Documents'; +$lang->doc->customAB = 'Person. Bib Doc'; +$lang->doc->createLib = 'Create Library'; +$lang->doc->createLibAction = 'Create Library'; +$lang->doc->createSpace = 'Create Space'; +$lang->doc->allLibs = 'Liste des Bibliothèque'; +$lang->doc->objectLibs = "{$lang->productCommon}/{$lang->executionCommon} Bibliothèque"; +$lang->doc->showFiles = 'Pièces Jointes'; +$lang->doc->editLib = 'Edit Document Library'; +$lang->doc->editSpaceAction = 'Edit Space'; +$lang->doc->editLibAction = 'Edit Library'; +$lang->doc->deleteSpaceAction = 'Delete Space'; +$lang->doc->deleteLibAction = 'Delete Library'; +$lang->doc->moveLibAction = 'Move Library'; +$lang->doc->moveDocAction = 'Move Document'; +$lang->doc->batchMove = 'Batch Move'; +$lang->doc->batchMoveDocAction = 'Batch Move Document'; +$lang->doc->fixedMenu = 'Coller au Menu'; +$lang->doc->removeMenu = 'Décoller du Menu'; +$lang->doc->search = 'Rechercher'; +$lang->doc->allCollections = 'All Collections'; +$lang->doc->keywordsTips = 'Please use commas to separate multiple keywords.'; +$lang->doc->sortLibs = 'Sort Libs'; +$lang->doc->titlePlaceholder = 'Veuillez saisir le titre'; +$lang->doc->confirm = 'Confirm'; +$lang->doc->docSummary = 'Total: %s.'; +$lang->doc->docCheckedSummary = 'Seleted: %total%.'; +$lang->doc->showDoc = 'Whether to display documents'; +$lang->doc->uploadFile = 'Upload File'; +$lang->doc->uploadDoc = 'Upload Document'; +$lang->doc->uploadFormat = 'Upload Format'; +$lang->doc->editedList = 'File editor'; +$lang->doc->moveTo = 'Move to'; +$lang->doc->notSupportExport = 'This document does not support export'; $lang->doc->preview = 'Preview'; $lang->doc->insertTitle = 'Insert %s list'; diff --git a/module/doc/lang/zh-cn.php b/module/doc/lang/zh-cn.php index 8b2951478e..3a2b19d2bd 100644 --- a/module/doc/lang/zh-cn.php +++ b/module/doc/lang/zh-cn.php @@ -106,8 +106,6 @@ $lang->docTemplate->editedList = '模板编辑者'; $lang->docTemplate->content = '模板内容'; $lang->docTemplate->templateDesc = '模板描述'; $lang->docTemplate->status = '模板状态'; -$lang->docTemplate->noReportTemplate = '没有报告模板'; -$lang->docTemplate->createReportTemplate = '创建报告模板'; $lang->docTemplate->more = '更多'; $lang->docTemplate->scopeLabel = '范围'; @@ -279,45 +277,42 @@ $lang->doc->api = '接口'; $lang->doc->displaySetting = '显示设置'; $lang->doc->collectAction = '收藏文档'; -$lang->doc->libName = '库名称'; -$lang->doc->libType = '库类型'; -$lang->doc->custom = '自定义文档库'; -$lang->doc->customAB = '自定义库'; -$lang->doc->createLib = '创建库'; -$lang->doc->createLibAction = '创建库'; -$lang->doc->createSpace = '创建空间'; -$lang->doc->allLibs = '库列表'; -$lang->doc->objectLibs = "库文档详情"; -$lang->doc->showFiles = '附件库'; -$lang->doc->editLib = '编辑库'; -$lang->doc->editSpaceAction = '编辑空间'; -$lang->doc->editLibAction = '编辑库'; -$lang->doc->deleteSpaceAction = '删除空间'; -$lang->doc->deleteLibAction = '删除库'; -$lang->doc->moveLibAction = '移动库'; -$lang->doc->moveDocAction = '移动文档'; -$lang->doc->batchMove = '批量移动'; -$lang->doc->batchMoveDocAction = '批量移动文档'; -$lang->doc->fixedMenu = '固定到菜单栏'; -$lang->doc->removeMenu = '从菜单栏移除'; -$lang->doc->search = '搜索'; -$lang->doc->allCollections = '查看全部收藏文档'; -$lang->doc->keywordsTips = '多个关键字请用逗号分隔。'; -$lang->doc->sortLibs = '文档库排序'; -$lang->doc->titlePlaceholder = '在此输入标题'; -$lang->doc->confirm = '确认'; -$lang->doc->docSummary = '本页共 %s 个文档。'; -$lang->doc->docCheckedSummary = '共选中 %total% 个文档。'; -$lang->doc->showDoc = '是否显示文档'; -$lang->doc->uploadFile = '上传文件'; -$lang->doc->uploadDoc = '导入'; -$lang->doc->uploadFormat = '上传格式'; -$lang->doc->editedList = '文档编辑者'; -$lang->doc->moveTo = '移动至'; -$lang->doc->notSupportExport = '(此文档暂不支持导出)'; -$lang->doc->browseReportTemplate = '报告模板首页'; -$lang->doc->browseReport = '报告首页'; -$lang->doc->createReportTemplate = '创建报告模板'; +$lang->doc->libName = '库名称'; +$lang->doc->libType = '库类型'; +$lang->doc->custom = '自定义文档库'; +$lang->doc->customAB = '自定义库'; +$lang->doc->createLib = '创建库'; +$lang->doc->createLibAction = '创建库'; +$lang->doc->createSpace = '创建空间'; +$lang->doc->allLibs = '库列表'; +$lang->doc->objectLibs = "库文档详情"; +$lang->doc->showFiles = '附件库'; +$lang->doc->editLib = '编辑库'; +$lang->doc->editSpaceAction = '编辑空间'; +$lang->doc->editLibAction = '编辑库'; +$lang->doc->deleteSpaceAction = '删除空间'; +$lang->doc->deleteLibAction = '删除库'; +$lang->doc->moveLibAction = '移动库'; +$lang->doc->moveDocAction = '移动文档'; +$lang->doc->batchMove = '批量移动'; +$lang->doc->batchMoveDocAction = '批量移动文档'; +$lang->doc->fixedMenu = '固定到菜单栏'; +$lang->doc->removeMenu = '从菜单栏移除'; +$lang->doc->search = '搜索'; +$lang->doc->allCollections = '查看全部收藏文档'; +$lang->doc->keywordsTips = '多个关键字请用逗号分隔。'; +$lang->doc->sortLibs = '文档库排序'; +$lang->doc->titlePlaceholder = '在此输入标题'; +$lang->doc->confirm = '确认'; +$lang->doc->docSummary = '本页共 %s 个文档。'; +$lang->doc->docCheckedSummary = '共选中 %total% 个文档。'; +$lang->doc->showDoc = '是否显示文档'; +$lang->doc->uploadFile = '上传文件'; +$lang->doc->uploadDoc = '导入'; +$lang->doc->uploadFormat = '上传格式'; +$lang->doc->editedList = '文档编辑者'; +$lang->doc->moveTo = '移动至'; +$lang->doc->notSupportExport = '(此文档暂不支持导出)'; $lang->doc->preview = '预览'; $lang->doc->insertTitle = '插入%s列表'; diff --git a/module/doc/ui/browsereport.html.php b/module/doc/ui/browsereport.html.php deleted file mode 100644 index 0f0fd2feb0..0000000000 --- a/module/doc/ui/browsereport.html.php +++ /dev/null @@ -1,11 +0,0 @@ - - * @package doc - * @link https://www.zentao.net - */ -namespace zin; diff --git a/module/doc/ui/browsereporttemplate.html.php b/module/doc/ui/browsereporttemplate.html.php deleted file mode 100644 index 0e010f54b7..0000000000 --- a/module/doc/ui/browsereporttemplate.html.php +++ /dev/null @@ -1,14 +0,0 @@ - - * @package doc - * @link https://www.zentao.net - */ -namespace zin; - -if($mode == 'home' || !$libID) include './reporttemplatehome.html.php'; -else include './reporttemplatelist.html.php'; diff --git a/module/doc/ui/reporttemplatehome.html.php b/module/doc/ui/reporttemplatehome.html.php deleted file mode 100644 index 061fe83281..0000000000 --- a/module/doc/ui/reporttemplatehome.html.php +++ /dev/null @@ -1,78 +0,0 @@ - - * @package doc - * @link https://www.zentao.net - */ -namespace zin; - -$scopeTemplates = array(2 => array(), 3 => array()); - -$scopeItems = array(); -unset($lang->docTemplate->scopes[1]); -unset($lang->docTemplate->scopes[4]); -foreach($lang->docTemplate->scopes as $scopeID => $scopeName) -{ - $scopeDocs = $scopeTemplates[$scopeID]; - $scopeItems[] = div - ( - setClass('doc-space-card ring rounded surface-light'), - div - ( - setClass('row items-center justify-between gap-2 px-2.5 py-1 border-b'), - div - ( - setClass('row items-center ml-2 flex-none'), - div - ( - setClass('min-w-0 flex-auto'), - strong($scopeName), - span(setClass('label ml-2 flex-none bg-white size-sm text-sm'), $lang->docTemplate->scopeLabel) - ), - ), - toolbar - ( - item(set(array - ( - 'data-app' => $app->tab, - 'type' => 'ghost', - 'caret' => 'right', - 'class' => 'text-primary', - 'text' => $lang->more, - 'url' => createLink('doc', 'browseReportTemplate', "libID=$scopeID&type=all&docID=0&orderBy=id_desc&recTotal=&recPerPae=20&pageID=1&mode=list") - ))) - ), - ), - div - ( - setClass('doc-space-card-libs py-3 px-1.5'), - div - ( - setClass('center gap-4 py-10'), - div - ( - setClass('text-gray'), - $lang->docTemplate->noReportTemplate - ), - hasPriv('doc', 'createReportTemplate') ? btn - ( - setClass('btn primary-pale'), - setData('app', $app->tab), - set::icon('plus'), - $lang->docTemplate->createReportTemplate, - set::url(createLink('doc', 'browseReportTemplate', "libID=$scopeID&type=all&docID=0&orderBy=&recTotal=&recPerPae=20&pageID=1&mode=create")) - ) : null - ) - ) - ); -} - -div -( - setClass('doc-home-body flex-auto min-h-0 col gap-4 p-4 items-stretch overflow-auto scrollbar-hover'), - $scopeItems -); diff --git a/module/group/lang/de.php b/module/group/lang/de.php index c464758a07..7de9bc1466 100644 --- a/module/group/lang/de.php +++ b/module/group/lang/de.php @@ -604,7 +604,5 @@ $lang->group->package->mangeApplication = 'Manage Service'; $lang->group->package->trainPracticeLib = 'Practice Library'; $lang->group->package->application = 'Manage Application'; $lang->group->package->component = 'Component'; -$lang->group->package->browseReportTemplate = 'Browse Report and Template'; -$lang->group->package->manageReportTemplate = 'Create and Manage Report and Template'; include (dirname(__FILE__) . '/resource.php'); diff --git a/module/group/lang/en.php b/module/group/lang/en.php index cee6f2476b..13ec6e7396 100644 --- a/module/group/lang/en.php +++ b/module/group/lang/en.php @@ -604,7 +604,5 @@ $lang->group->package->mangeApplication = 'Manage Service'; $lang->group->package->trainPracticeLib = 'Practice Library'; $lang->group->package->application = 'Manage Application'; $lang->group->package->component = 'Component'; -$lang->group->package->browseReportTemplate = 'Browse Report and Template'; -$lang->group->package->manageReportTemplate = 'Create and Manage Report and Template'; include (dirname(__FILE__) . '/resource.php'); diff --git a/module/group/lang/fr.php b/module/group/lang/fr.php index 4748047cee..096ab10ee6 100644 --- a/module/group/lang/fr.php +++ b/module/group/lang/fr.php @@ -604,7 +604,5 @@ $lang->group->package->mangeApplication = 'Manage Service'; $lang->group->package->trainPracticeLib = 'Practice Library'; $lang->group->package->application = 'Manage Application'; $lang->group->package->component = 'Component'; -$lang->group->package->browseReportTemplate = 'Browse Report and Template'; -$lang->group->package->manageReportTemplate = 'Create and Manage Report and Template'; include (dirname(__FILE__) . '/resource.php'); diff --git a/module/group/lang/resource.php b/module/group/lang/resource.php index 3a0d85745d..61e1f9e6cc 100644 --- a/module/group/lang/resource.php +++ b/module/group/lang/resource.php @@ -1545,9 +1545,6 @@ $lang->resource->doc->addChapter = 'addChapter'; $lang->resource->doc->editChapter = 'editChapter'; $lang->resource->doc->sortChapter = 'sortChapter'; $lang->resource->doc->deleteChapter = 'deleteChapter'; -$lang->resource->doc->browseReportTemplate = 'browseReportTemplate'; -$lang->resource->doc->browseReport = 'browseReport'; -$lang->resource->doc->createReportTemplate = 'createReportTemplate'; $lang->doc->methodOrder[5] = 'index'; $lang->doc->methodOrder[10] = 'mySpace'; @@ -1581,9 +1578,6 @@ $lang->doc->methodOrder[160] = 'addChapter'; $lang->doc->methodOrder[170] = 'editChapter'; $lang->doc->methodOrder[180] = 'sortChapter'; $lang->doc->methodOrder[190] = 'deleteChapter'; -$lang->doc->methodOrder[195] = 'browseReportTemplate'; -$lang->doc->methodOrder[200] = 'browseReport'; -$lang->doc->methodOrder[205] = 'createReportTemplate'; /* Mail. */ $lang->resource->mail = new stdclass(); diff --git a/module/group/lang/zh-cn.php b/module/group/lang/zh-cn.php index 7412507915..082b95197b 100644 --- a/module/group/lang/zh-cn.php +++ b/module/group/lang/zh-cn.php @@ -604,7 +604,5 @@ $lang->group->package->mangeApplication = '管理服务'; $lang->group->package->trainPracticeLib = '实践库'; $lang->group->package->application = '管理应用'; $lang->group->package->component = '组件'; -$lang->group->package->browseReportTemplate = '浏览报告和模板'; -$lang->group->package->manageReportTemplate = '创建与维护报告和模板'; include (dirname(__FILE__) . '/resource.php'); diff --git a/module/group/packagemanager.php b/module/group/packagemanager.php index 08acfa8363..f8f96ca0fd 100644 --- a/module/group/packagemanager.php +++ b/module/group/packagemanager.php @@ -285,10 +285,6 @@ $config->group->subset->metric = new stdclass(); $config->group->subset->metric->order = 890; $config->group->subset->metric->nav = 'bi'; -$config->group->subset->reporttemplate = new stdclass(); -$config->group->subset->reporttemplate->order = 900; -$config->group->subset->reporttemplate->nav = 'bi'; - $config->group->subset->systemteam = new stdclass(); $config->group->subset->systemteam->order = 920; $config->group->subset->systemteam->nav = 'system'; @@ -3583,19 +3579,6 @@ $config->group->package->manageMetric->privs['metric-delist'] = array('edit $config->group->package->manageMetric->privs['metric-delete'] = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 45, 'depend' => array('metric-browse'), 'recommend' => array()); $config->group->package->manageMetric->privs['metric-recalculate'] = array('edition' => 'open,biz,max,ipd', 'vision' => 'rnd', 'order' => 5, 'depend' => array(), 'recommend' => array()); -$config->group->package->browseReportTemplate = new stdclass(); -$config->group->package->browseReportTemplate->order = 5; -$config->group->package->browseReportTemplate->subset = 'reporttemplate'; -$config->group->package->browseReportTemplate->privs = array(); -$config->group->package->browseReportTemplate->privs['doc-browseReportTemplate'] = array('edition' => 'max,ipd', 'vision' => 'rnd', 'order' => 5, 'depend' => array(), 'recommend' => array()); -$config->group->package->browseReportTemplate->privs['doc-browseReport'] = array('edition' => 'max,ipd', 'vision' => 'rnd', 'order' => 10, 'depend' => array(), 'recommend' => array()); - -$config->group->package->manageReportTemplate = new stdclass(); -$config->group->package->manageReportTemplate->order = 5; -$config->group->package->manageReportTemplate->subset = 'reporttemplate'; -$config->group->package->manageReportTemplate->privs = array(); -$config->group->package->manageReportTemplate->privs['doc-createReportTemplate'] = array('edition' => 'max,ipd', 'vision' => 'rnd', 'order' => 5, 'depend' => array(), 'recommend' => array()); - $config->group->package->browseDoc = new stdclass(); $config->group->package->browseDoc->order = 10; $config->group->package->browseDoc->subset = 'doc';