Bugzilla – Attachment 67297 Details for
Bug 7317
Add an Interlibrary Loan Module to Circulation and OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7317: Add ILLModuleCopyrightClearance syspref.
Bug-7317-Add-ILLModuleCopyrightClearance-syspref.patch (text/plain), 3.39 KB, created by
Magnus Enger
on 2017-09-21 19:30:21 UTC
(
hide
)
Description:
Bug 7317: Add ILLModuleCopyrightClearance syspref.
Filename:
MIME Type:
Creator:
Magnus Enger
Created:
2017-09-21 19:30:21 UTC
Size:
3.39 KB
patch
obsolete
>From eeba703a10237074cc01506fb0ad968750424a5f Mon Sep 17 00:00:00 2001 >From: Alex Sassmannshausen <alex.sassmannshausen@ptfs-europe.com> >Date: Thu, 25 May 2017 16:26:49 +0200 >Subject: [PATCH] Bug 7317: Add ILLModuleCopyrightClearance syspref. > >* installer/data/mysql/atomicupdate/ill_tables.sql: Add default > syspref for upgrade. >* installer/data/mysql/sysprefs.sql: Add default syspref for new installs. >* koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref: > Define syspref in UI. > >Signed-off-by: Magnus Enger <magnus@libriotech.no> >--- > 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(+) > >diff --git a/installer/data/mysql/atomicupdate/ill_tables.sql b/installer/data/mysql/atomicupdate/ill_tables.sql >index 25312d1..cab65f2 100644 >--- a/installer/data/mysql/atomicupdate/ill_tables.sql >+++ b/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) >diff --git a/installer/data/mysql/sysprefs.sql b/installer/data/mysql/sysprefs.sql >index 4eb796b..9aef3fc 100644 >--- a/installer/data/mysql/sysprefs.sql >+++ b/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'), >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref >index 0c1d2cd..d9d5e49 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref >+++ b/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: " >-- >2.7.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 7317
:
59893
|
59894
|
59895
|
59920
|
60485
|
60486
|
60487
|
60488
|
63081
|
63082
|
63083
|
63084
|
63085
|
63086
|
63087
|
63088
|
63089
|
63090
|
63113
|
63175
|
63176
|
63354
|
63421
|
63472
|
63475
|
65469
|
65470
|
65471
|
65472
|
65473
|
65474
|
65475
|
65476
|
66266
|
67242
|
67243
|
67244
|
67245
|
67246
|
67247
|
67248
|
67249
|
67250
|
67251
|
67252
|
67253
|
67254
|
67255
|
67256
|
67257
|
67258
|
67259
|
67260
|
67261
|
67262
|
67263
|
67264
|
67281
|
67282
|
67283
|
67284
|
67285
|
67286
|
67287
|
67288
|
67289
|
67290
|
67291
|
67292
|
67293
|
67294
|
67295
|
67296
|
67297
|
67298
|
67299
|
67300
|
67301
|
67302
|
67303
|
68185
|
68186
|
68328
|
68391
|
68406
|
68407
|
68408
|
68409
|
68418
|
68444
|
68445
|
68483
|
68484
|
68485
|
68487
|
68516
|
68517
|
68518
|
68519
|
68520
|
68521
|
68522
|
68523
|
68524
|
68525
|
68542
|
68543
|
68544
|
68545
|
68546
|
68547
|
68548
|
68549
|
68550
|
68551
|
68552
|
68558
|
68559
|
68560
|
68561
|
68562
|
68563
|
68564
|
68565
|
68566
|
68567
|
68858
|
68874
|
68877
|
68878
|
68885
|
68886
|
68921
|
68922
|
68926
|
68927
|
68928
|
68929
|
68931
|
68932
|
68933
|
68988
|
68989
|
68999
|
69000
|
69006
|
69008
|
69009
|
69012
|
69014
|
69044
|
69045
|
69046
|
69056
|
69059
|
69060
|
69061
|
69063
|
69064
|
69065
|
69066
|
69069
|
69070
|
69071
|
69074