@@ -, +, @@ --- .../bug_19532_-_add_Recalls_syspref.sql | 1 + installer/data/mysql/sysprefs.sql | 1 + .../intranet-tmpl/prog/en/includes/circ-menu.inc | 6 ++-- .../intranet-tmpl/prog/en/includes/circ-nav.inc | 8 ++++-- .../en/modules/admin/preferences/circulation.pref | 17 ++++++++---- .../prog/en/modules/circ/circulation.tt | 4 +-- .../prog/en/modules/circ/recalls_overdue.tt | 4 +++ .../prog/en/modules/circ/recalls_queue.tt | 32 ++++++++++------------ .../prog/en/modules/circ/recalls_waiting.tt | 5 +++- .../prog/en/modules/members/moremember.tt | 5 +++- .../prog/en/modules/members/recallshistory.tt | 10 +++++-- .../opac-tmpl/bootstrap/en/includes/usermenu.inc | 12 ++++---- .../opac-tmpl/bootstrap/en/modules/opac-recall.tt | 4 +++ .../opac-tmpl/bootstrap/en/modules/opac-recalls.tt | 4 +++ .../opac-tmpl/bootstrap/en/modules/opac-user.tt | 4 +-- members/recallshistory.pl | 24 ++++++++++++++-- 16 files changed, 97 insertions(+), 44 deletions(-) create mode 100644 installer/data/mysql/atomicupdate/bug_19532_-_add_Recalls_syspref.sql --- a/installer/data/mysql/atomicupdate/bug_19532_-_add_Recalls_syspref.sql +++ a/installer/data/mysql/atomicupdate/bug_19532_-_add_Recalls_syspref.sql @@ -0,0 +1, @@ +INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES ('UseRecalls','1',NULL,'Enable or disable recalls','YesNo'); --- a/installer/data/mysql/sysprefs.sql +++ a/installer/data/mysql/sysprefs.sql @@ -611,6 +611,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` ('UseICU','0','1','Tell Koha if ICU indexing is in use for Zebra or not.','YesNo'), ('UseKohaPlugins','0','','Enable or disable the ability to use Koha Plugins.','YesNo'), ('UseQueryParser','0',NULL,'If enabled, try to use QueryParser for queries.','YesNo'), +('UseRecalls', '1', NULL, 'Enable or disable recalls', 'YesNo'), ('UseTransportCostMatrix','0','','Use Transport Cost Matrix when filling holds','YesNo'), ('UseWYSIWYGinSystemPreferences','0','','Show WYSIWYG editor when editing certain HTML system preferences.','YesNo'), ('viewISBD','1','','Allow display of ISBD view of bibiographic records','YesNo'), --- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc @@ -124,6 +124,8 @@ [% IF Koha.Preference('ILLModule') && CAN_user_ill %]