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 210-215 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
210
('maxreserves','50','','Define maximum number of holds a patron can place','Integer'),
210
('maxreserves','50','','Define maximum number of holds a patron can place','Integer'),
211
('minPasswordLength','3',NULL,'Specify the minimum length of a patron/staff password','free'),
211
('minPasswordLength','3',NULL,'Specify the minimum length of a patron/staff password','free'),
212
('NewItemsDefaultLocation','','','If set, all new items will have a location of the given Location Code ( Authorized Value type LOC )',''),
212
('NewItemsDefaultLocation','','','If set, all new items will have a location of the given Location Code ( Authorized Value type LOC )',''),
213
('NewsAuthorDisplay','none','none|opac|staff|both','Display the author name for news items.','Choice'),
213
('noissuescharge','5','','Define maximum amount withstanding before check outs are blocked','Integer'),
214
('noissuescharge','5','','Define maximum amount withstanding before check outs are blocked','Integer'),
214
('noItemTypeImages','0',NULL,'If ON, disables item-type images','YesNo'),
215
('noItemTypeImages','0',NULL,'If ON, disables item-type images','YesNo'),
215
('NoLoginInstructions', '', '60|10', 'Instructions to display on the OPAC login form when a patron is not logged in', 'Textarea'),
216
('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