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

(-)a/installer/data/mysql/atomicupdate/add_news_prefs.sql (+2 lines)
Line 0 Link Here
1
-- Add NewsAuthorDisplay system preference, bug 14247.
2
INSERT IGNORE INTO systempreferences (`variable`,`value`,`options`,`explanation`,`type`) VALUES('NewsAuthorDisplay','none','none|opac|staff|both','Display the author name for news items.','Choice');
(-)a/installer/data/mysql/sysprefs.sql (+1 lines)
Lines 215-220 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
215
('MembershipExpiryDaysNotice',NULL,'Send an account expiration notice that a patron\'s card is about to expire after',NULL,'Integer'),
215
('MembershipExpiryDaysNotice',NULL,'Send an account expiration notice that a patron\'s card is about to expire after',NULL,'Integer'),
216
('minPasswordLength','3',NULL,'Specify the minimum length of a patron/staff password','free'),
216
('minPasswordLength','3',NULL,'Specify the minimum length of a patron/staff password','free'),
217
('NewItemsDefaultLocation','','','If set, all new items will have a location of the given Location Code ( Authorized Value type LOC )',''),
217
('NewItemsDefaultLocation','','','If set, all new items will have a location of the given Location Code ( Authorized Value type LOC )',''),
218
('NewsAuthorDisplay','none','none|opac|staff|both','Display the author name for news items.','Choice'),
218
('noissuescharge','5','','Define maximum amount withstanding before check outs are blocked','Integer'),
219
('noissuescharge','5','','Define maximum amount withstanding before check outs are blocked','Integer'),
219
('noItemTypeImages','0',NULL,'If ON, disables item-type images','YesNo'),
220
('noItemTypeImages','0',NULL,'If ON, disables item-type images','YesNo'),
220
('NoLoginInstructions', '', '60|10', 'Instructions to display on the OPAC login form when a patron is not logged in', 'Textarea'),
221
('NoLoginInstructions', '', '60|10', 'Instructions to display on the OPAC login form when a patron is not logged in', 'Textarea'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/tools.pref (-1 / +10 lines)
Lines 11-13 Tools: Link Here
11
            - pref: ImageLimit
11
            - pref: ImageLimit
12
              class: Integer
12
              class: Integer
13
            - images.
13
            - images.
14
- 
14
    News:
15
        -
16
            - "Show the author for news items:"
17
            - pref: NewsAuthorDisplay
18
              choices:
19
                  none: "Not at all"
20
                  opac: "OPAC only"
21
                  staff: "Staff client only"
22
                  both: "Both OPAC and staff client"
23
            -

Return to bug 14247