@@ -, +, @@ syspref for upgrade. Define syspref in UI. --- installer/data/mysql/atomicupdate/ill_tables.sql | 3 +++ installer/data/mysql/sysprefs.sql | 1 + koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref | 5 +++++ 3 files changed, 9 insertions(+) --- a/installer/data/mysql/atomicupdate/ill_tables.sql +++ a/installer/data/mysql/atomicupdate/ill_tables.sql @@ -46,6 +46,9 @@ CREATE TABLE illrequestattributes ( INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES ('ILLModule','0','If ON, enables the interlibrary loans module.','','YesNo'); +INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES + ('ILLModuleCopyrightClearance','','70|10','Enter text to enable the copyright clearance stage of request creation. Text will be displayed','Textarea'); + -- Userflags INSERT INTO userflags (bit,flag,flagdesc,defaulton) --- a/installer/data/mysql/sysprefs.sql +++ a/installer/data/mysql/sysprefs.sql @@ -199,6 +199,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` ('IDreamBooksReviews','0','','Display book review snippets from IDreamBooks.com','YesNo'), ('IdRef','0','','Disable/enable the IdRef webservice from the OPAC detail page.','YesNo'), ('ILLModule','0','If ON, enables the interlibrary loans module.','','YesNo'), +('ILLModuleCopyrightClearance','','70|10','Enter text to enable the copyright clearance stage of request creation. Text will be displayed','Textarea'), ('ILS-DI','0','','Enables ILS-DI services at OPAC.','YesNo'), ('ILS-DI:AuthorizedIPs','','Restricts usage of ILS-DI to some IPs','.','Free'), ('ImageLimit','5','','Limit images stored in the database by the Patron Card image manager to this number.','Integer'), --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref @@ -73,6 +73,11 @@ Administration: yes: Enable no: Disable - the interlibrary loans module (master switch). + - + - "Adding text will enable the copyright clearance stage in request creation. The text you enter will be the text displayed." + - pref: ILLModuleCopyrightClearance + type: textarea + class: long Login options: - - "Inactivity timeout in seconds to automatically log out users: " --