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 217-222 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
217
('MembershipExpiryDaysNotice',NULL,'Send an account expiration notice that a patron\'s card is about to expire after',NULL,'Integer'),
217
('MembershipExpiryDaysNotice',NULL,'Send an account expiration notice that a patron\'s card is about to expire after',NULL,'Integer'),
218
('minPasswordLength','3',NULL,'Specify the minimum length of a patron/staff password','free'),
218
('minPasswordLength','3',NULL,'Specify the minimum length of a patron/staff password','free'),
219
('NewItemsDefaultLocation','','','If set, all new items will have a location of the given Location Code ( Authorized Value type LOC )',''),
219
('NewItemsDefaultLocation','','','If set, all new items will have a location of the given Location Code ( Authorized Value type LOC )',''),
220
('NewsAuthorDisplay','none','none|opac|staff|both','Display the author name for news items.','Choice'),
220
('noissuescharge','5','','Define maximum amount withstanding before check outs are blocked','Integer'),
221
('noissuescharge','5','','Define maximum amount withstanding before check outs are blocked','Integer'),
221
('noItemTypeImages','0',NULL,'If ON, disables item-type images','YesNo'),
222
('noItemTypeImages','0',NULL,'If ON, disables item-type images','YesNo'),
222
('NoLoginInstructions', '', '60|10', 'Instructions to display on the OPAC login form when a patron is not logged in', 'Textarea'),
223
('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