View | Details | Raw Unified | Return to bug 33260
Collapse All | Expand All

(-)a/installer/data/mysql/atomicupdate/bug_33260_-_add_NoticesManagement_syspref.pl (+14 lines)
Line 0 Link Here
1
use Modern::Perl;
2
3
return {
4
    bug_number => "33260",
5
    description => "Show message queue on staff interface and make notices printable",
6
    up => sub {
7
        my ($args) = @_;
8
        my ($dbh, $out) = @$args{qw(dbh out)};
9
10
        $dbh->do(q{INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES ('NoticesManagement', '0', NULL, 'Enable the interface to view and print generated notices', 'YesNo') });
11
12
        say $out "Added system preference 'NoticesManagement'";
13
    },
14
};
(-)a/installer/data/mysql/mandatory/sysprefs.sql (+1 lines)
Lines 398-403 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
398
('NoticeBcc','','','Email address to bcc outgoing notices sent by email','free'),
398
('NoticeBcc','','','Email address to bcc outgoing notices sent by email','free'),
399
('NoticeCSS','',NULL,'Notices CSS url.','free'),
399
('NoticeCSS','',NULL,'Notices CSS url.','free'),
400
('NoticesLog','0',NULL,'If enabled, log changes to notice templates','YesNo'),
400
('NoticesLog','0',NULL,'If enabled, log changes to notice templates','YesNo'),
401
('NoticesManagement','0',NULL,'Enable the interface to view and print generated notices','YesNo'),
401
('NotifyBorrowerDeparture','30',NULL,'Define number of days before expiry where circulation is warned about patron account expiry','Integer'),
402
('NotifyBorrowerDeparture','30',NULL,'Define number of days before expiry where circulation is warned about patron account expiry','Integer'),
402
('NotifyPasswordChange','1',NULL,'Notify patrons whenever their password is changed.','YesNo'),
403
('NotifyPasswordChange','1',NULL,'Notify patrons whenever their password is changed.','YesNo'),
403
('NovelistSelectEnabled','0',NULL,'Enable Novelist Select content.  Requires Novelist Profile and Password','YesNo'),
404
('NovelistSelectEnabled','0',NULL,'Enable Novelist Select content.  Requires Novelist Profile and Password','YesNo'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref (-1 / +6 lines)
Lines 225-230 Patrons: Link Here
225
               never: never
225
               never: never
226
               preferences: according to patron messaging preferences
226
               preferences: according to patron messaging preferences
227
               cron: (Deprecated) according to --send-notices cron switch
227
               cron: (Deprecated) according to --send-notices cron switch
228
     -
229
        - pref: NoticesManagement
230
          choices:
231
              1: Enable
232
              0: Disable
233
        - the interface to view and print generated notices.
228
    Patron forms:
234
    Patron forms:
229
     -
235
     -
230
         - "The following <a href='http://schema.koha-community.org/__VERSION__/tables/borrowers.html' target='blank'>database columns</a> must be filled in on the patron entry screen:"
236
         - "The following <a href='http://schema.koha-community.org/__VERSION__/tables/borrowers.html' target='blank'>database columns</a> must be filled in on the patron entry screen:"
231
- 

Return to bug 33260