From cf04a3d2e186ea39c04078447965cf9b620f3d77 Mon Sep 17 00:00:00 2001 From: Banana Date: Thu, 7 Jan 2021 10:53:53 +0100 Subject: [PATCH] jdoc cleanup --- upgrade/from-version-1.0.txt | 5 +++++ webclient/api.php | 2 +- webclient/config/config.php.default | 2 +- webclient/index.php | 2 +- webclient/lib/doomguy.class.php | 2 +- webclient/lib/gorenest.class.php | 2 +- webclient/lib/managecollectionfields.class.php | 2 +- webclient/lib/managecollections.class.php | 2 +- webclient/lib/manageentry.class.php | 2 +- webclient/lib/managetags.class.php | 2 +- webclient/lib/mancubus.class.php | 2 +- webclient/lib/possessed.class.php | 2 +- webclient/lib/spectre.class.php | 2 +- webclient/lib/summoner.class.php | 2 +- webclient/lib/tentacle.class.php | 2 +- webclient/lib/trite.class.php | 2 +- webclient/view/default/advancedsearch/advancedsearch.php | 2 +- webclient/view/default/auth/auth.php | 2 +- webclient/view/default/collections/collections.php | 2 +- webclient/view/default/dashboard/dashboard.php | 2 +- webclient/view/default/entry/entry.php | 2 +- .../managecollectionfields/managecollectionfields.php | 2 +- webclient/view/default/managecolletions/managecolletions.php | 2 +- webclient/view/default/manageentry/manageentry.php | 2 +- webclient/view/default/managetags/managetags.php | 2 +- webclient/view/default/manageusers/manageusers.php | 4 ++-- webclient/view/default/system/menu.php | 2 +- webclient/view/default/system/message.php | 2 +- webclient/view/default/system/pagination_after.php | 2 +- webclient/view/default/system/pagination_before.php | 2 +- webclient/view/default/tags/tags.php | 2 +- webclient/view/default/tool/tool-imdbweb.php | 2 +- webclient/view/default/tool/tool.php | 2 +- 33 files changed, 38 insertions(+), 33 deletions(-) diff --git a/upgrade/from-version-1.0.txt b/upgrade/from-version-1.0.txt index 36e2785..76ccad7 100644 --- a/upgrade/from-version-1.0.txt +++ b/upgrade/from-version-1.0.txt @@ -1,3 +1,8 @@ # Migration of the config files into one config file Please copy the new config/config.php.default to config/config.php and adapt the settings which you have on the old config files. After that you can delete config/database|path|system files. + +# DB changes. Run each line against your bibliotheca DB +UPDATE `bib_menu` SET `rights` = 'rw-rw----' WHERE `bib_menu`.`id` = 10; +UPDATE `bib_menu` SET `group` = '2' WHERE `bib_menu`.`id` = 10; +INSERT INTO `bib_menu` (`id`, `text`, `action`, `icon`, `owner`, `group`, `rights`, `position`, `category`) VALUES (NULL, 'Profile', 'profile', 'user', '1', '2', 'rw-rw----', '5', 'manage'); diff --git a/webclient/api.php b/webclient/api.php index cce16fd..ce077a6 100644 --- a/webclient/api.php +++ b/webclient/api.php @@ -1,6 +1,6 @@