@@ -, +, @@ - SelfCheckInMainUserBlock - SelfCheckInModuleUserID - SelfCheckInTimeout - SelfCheckInUserCSS - SelfCheckInUserJS - self_check => self_checkin_module - self_check => self_checkout_module --- installer/data/mysql/atomicupdate/bug_15492.perl | 62 +++++++++++++++++++++- installer/data/mysql/sysprefs.sql | 4 ++ installer/data/mysql/userflags.sql | 3 +- installer/data/mysql/userpermissions.sql | 5 +- .../intranet-tmpl/prog/en/includes/permissions.inc | 9 ++-- .../en/modules/admin/preferences/circulation.pref | 20 +++++++ 6 files changed, 95 insertions(+), 8 deletions(-) --- a/installer/data/mysql/atomicupdate/bug_15492.perl +++ a/installer/data/mysql/atomicupdate/bug_15492.perl @@ -1,10 +1,68 @@ $DBversion = 'XXX'; if( CheckVersion( $DBversion ) ) { - $dbh->do(q| + $dbh->do(q{ + INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) + VALUES ('SelfCheckInMainUserBlock', '', '70|10', 'Add a block of HTML that will display on the self check-in screen.', 'Textarea'); + }); + + $dbh->do(q{ INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES ('SelfCheckInModule', 0, NULL, 'Enable the standalone self-checkin module.', 'YesNo'); - |); + }); + + $dbh->do(q{ + INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) + VALUES ('SelfCheckInModuleUserID', NULL, NULL, 'Patron ID (borrowernumber) to be allowed on the self-checkin module.', 'Integer'); + }); + + $dbh->do(q{ + INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) + VALUES ('SelfCheckInTimeout', 120, NULL, 'Define the number of seconds before the self check-in module times out.', 'Integer'); + }); + + $dbh->do(q{ + INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) + VALUES ('SelfCheckInUserCSS', '', NULL, 'Add CSS to be included in the self check-in module in an embedded