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

(-)a/installer/data/mysql/atomicupdate/bug_31446-add_OpacLightboxImageDescriptions_syspref.pl (+12 lines)
Line 0 Link Here
1
use Modern::Perl;
2
3
return {
4
    bug_number => "31446",
5
    description => "Add new system preference OpacLightboxImageDescriptions",
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 ('OpacLightboxImageDescriptions', '1', '', 'Show descriptions under each cover image in the lightbox gallery on item detail pages on the OPAC', 'YesNo') });
11
    },
12
};
(-)a/installer/data/mysql/mandatory/sysprefs.sql (+1 lines)
Lines 451-456 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
451
('OPACLanguages','en',NULL,'Set the default language in the OPAC.','Languages'),
451
('OPACLanguages','en',NULL,'Set the default language in the OPAC.','Languages'),
452
('opaclanguagesdisplay','0','','If ON, enables display of Change Language feature on OPAC','YesNo'),
452
('opaclanguagesdisplay','0','','If ON, enables display of Change Language feature on OPAC','YesNo'),
453
('opaclayoutstylesheet','opac.css','','Enter the name of the layout CSS stylesheet to use in the OPAC','free'),
453
('opaclayoutstylesheet','opac.css','','Enter the name of the layout CSS stylesheet to use in the OPAC','free'),
454
('OpacLightboxImageDescriptions', '1', '', 'Show descriptions under each cover image in the lightbox gallery on item detail pages on the OPAC', 'YesNo'),
454
('OPACLocalCoverImages','0','1','Display local cover images on OPAC search and details pages.','YesNo'),
455
('OPACLocalCoverImages','0','1','Display local cover images on OPAC search and details pages.','YesNo'),
455
('OpacLocationBranchToDisplay','holding','holding|home|both','In the OPAC, under location show which branch for Location in the record details.','Choice'),
456
('OpacLocationBranchToDisplay','holding','holding|home|both','In the OPAC, under location show which branch for Location in the record details.','Choice'),
456
('OpacLocationOnDetail','holding','holding|home|both|column','In the OPAC detail, display the shelving location on its own column or under a library columns.',  'Choice'),
457
('OpacLocationOnDetail','holding','holding|home|both|column','In the OPAC detail, display the shelving location on its own column or under a library columns.',  'Choice'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/enhanced_content.pref (-1 / +7 lines)
Lines 16-21 Enhanced content: Link Here
16
                  1: Show
16
                  1: Show
17
                  0: "Don't show"
17
                  0: "Don't show"
18
            - other editions of an item on the OPAC.
18
            - other editions of an item on the OPAC.
19
        -
20
            - pref: OpacLightboxImageDescriptions
21
              default: 1
22
              choices:
23
                  1: Show
24
                  0: "Don't show"
25
            - descriptions under each cover image in the lightbox gallery on item detail pages on the OPAC.
19
    Amazon:
26
    Amazon:
20
        -
27
        -
21
            - Use Amazon data from its
28
            - Use Amazon data from its
22
- 

Return to bug 31446