From e2e9b6cab804533f6240b2d3f5858bb985ed0e06 Mon Sep 17 00:00:00 2001 From: Yagami Date: Tue, 16 Oct 2018 10:27:12 +0800 Subject: [PATCH] * Finish task #5028. --- db/update10.4.sql | 1 + module/doc/view/alllibsbylist.html.php | 2 +- module/doc/view/browse.html.php | 1 + module/doc/view/objectlibs.html.php | 23 --------------------- module/doc/view/objectlibsbylist.html.php | 25 +---------------------- 5 files changed, 4 insertions(+), 48 deletions(-) diff --git a/db/update10.4.sql b/db/update10.4.sql index 5164300388..30637e9184 100644 --- a/db/update10.4.sql +++ b/db/update10.4.sql @@ -2,3 +2,4 @@ update zt_task set `parent` = -1 where `id` in (select `parent` from zt_task whe ALTER TABLE `zt_userview` CHANGE `products` `products` mediumtext COLLATE 'utf8_general_ci' NOT NULL AFTER `account`, CHANGE `projects` `projects` mediumtext COLLATE 'utf8_general_ci' NOT NULL AFTER `products`; ALTER TABLE `zt_task` ADD `finishedList` text NOT NULL AFTER `finishedDate`; +update zt_config set `value` = 'files,customFiles' where `module` = 'doc' and `section` = 'custom' and `key` = 'objectLibs'; diff --git a/module/doc/view/alllibsbylist.html.php b/module/doc/view/alllibsbylist.html.php index 08eca0f9f0..795f134b2b 100644 --- a/module/doc/view/alllibsbylist.html.php +++ b/module/doc/view/alllibsbylist.html.php @@ -29,7 +29,7 @@ doc->addedBy;?> doc->addedDate;?> - actions;?> + actions;?> diff --git a/module/doc/view/browse.html.php b/module/doc/view/browse.html.php index f4d807df7b..d4d312e16d 100644 --- a/module/doc/view/browse.html.php +++ b/module/doc/view/browse.html.php @@ -42,6 +42,7 @@ var browseType = '';
", '', "title='{$lang->doc->browseTypeList['list']}' class='btn btn-icon text-primary'");?> ", '', "title='{$lang->doc->browseTypeList['grid']}' class='btn btn-icon'");?> + ", '',"class='btn btn-icon'");?>
diff --git a/module/doc/view/objectlibs.html.php b/module/doc/view/objectlibs.html.php index ad1ca23575..d95a5654b5 100644 --- a/module/doc/view/objectlibs.html.php +++ b/module/doc/view/objectlibs.html.php @@ -29,29 +29,6 @@ ", '', "title='{$lang->doc->browseTypeList['list']}' class='btn btn-icon'");?> ", '', "title='{$lang->doc->browseTypeList['grid']}' class='btn btn-icon text-primary'");?> -
diff --git a/module/doc/view/objectlibsbylist.html.php b/module/doc/view/objectlibsbylist.html.php index 00d20916cd..b73d34ce05 100644 --- a/module/doc/view/objectlibsbylist.html.php +++ b/module/doc/view/objectlibsbylist.html.php @@ -9,29 +9,6 @@ ", '', "title='{$lang->doc->browseTypeList['list']}' class='btn btn-icon text-primary'");?> ", '', "title='{$lang->doc->browseTypeList['grid']}' class='btn btn-icon'");?>
-
@@ -40,7 +17,7 @@ doc->libName;?> doc->num;?> - actions;?> + actions;?>