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

(-)a/installer/data/mysql/atomicupdate/bug_33317.pl (-1 / +1 lines)
Lines 7-13 return { Link Here
7
        my ($args) = @_;
7
        my ($args) = @_;
8
        my ($dbh, $out) = @$args{qw(dbh out)};
8
        my ($dbh, $out) = @$args{qw(dbh out)};
9
9
10
        $dbh->do(q{INSERT IGNORE INTO systempreferences (variable, value, options, explanation, type) VALUES ('OpacMetaRobots','','','Improve search engine crawling.', 'Textarea') });
10
        $dbh->do(q{INSERT IGNORE INTO systempreferences (variable, value, options, explanation, type) VALUES ('OpacMetaRobots','','','Improve search engine crawling.', 'Multiple') });
11
11
12
        say $out "Added system preference 'OpacMetaRobots'";
12
        say $out "Added system preference 'OpacMetaRobots'";
13
    },
13
    },
(-)a/installer/data/mysql/mandatory/sysprefs.sql (-1 / +1 lines)
Lines 493-499 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
493
('OpacMaintenance','0','','If ON, enables maintenance warning in OPAC','YesNo'),
493
('OpacMaintenance','0','','If ON, enables maintenance warning in OPAC','YesNo'),
494
('OpacMaxItemsToDisplay','50','','Max items to display at the OPAC on a biblio detail','Integer'),
494
('OpacMaxItemsToDisplay','50','','Max items to display at the OPAC on a biblio detail','Integer'),
495
('OpacMetaDescription','','','This description will show in search engine results (160 characters).','Textarea'),
495
('OpacMetaDescription','','','This description will show in search engine results (160 characters).','Textarea'),
496
('OpacMetaRobots','','','Improve search engine crawling.','Textarea'),
496
('OpacMetaRobots', 'noindex,nofollow', NULL, 'Improve search engine crawling.', 'Multiple'),
497
('OPACMySummaryHTML','','70|10','Enter the HTML that will appear in a column on the \'my summary\' and \'my checkout history\' tabs when a user is logged in to the OPAC. Enter {BIBLIONUMBER}, {TITLE}, {AUTHOR}, or {ISBN} in place of their respective variables in the HTML. Leave blank to disable.','Textarea'),
497
('OPACMySummaryHTML','','70|10','Enter the HTML that will appear in a column on the \'my summary\' and \'my checkout history\' tabs when a user is logged in to the OPAC. Enter {BIBLIONUMBER}, {TITLE}, {AUTHOR}, or {ISBN} in place of their respective variables in the HTML. Leave blank to disable.','Textarea'),
498
('OpacNewsLibrarySelect','0','','Show selector for branches on OPAC news page','YesNo'),
498
('OpacNewsLibrarySelect','0','','Show selector for branches on OPAC news page','YesNo'),
499
('OpacNoItemTypeImages','0',NULL,'If ON, disables itemtype images in the OPAC','YesNo'),
499
('OpacNoItemTypeImages','0',NULL,'If ON, disables itemtype images in the OPAC','YesNo'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref (-2 / +3 lines)
Lines 63-69 OPAC: Link Here
63
        -
63
        -
64
            - "Improve search engine crawling."
64
            - "Improve search engine crawling."
65
            - pref: OpacMetaRobots
65
            - pref: OpacMetaRobots
66
              type: textarea
66
              multiple:
67
               noindex: "noindex"
68
               nofollow: "nofollow"
67
        -
69
        -
68
            - By default, show bibliographic records
70
            - By default, show bibliographic records
69
            - pref: BiblioDefaultView
71
            - pref: BiblioDefaultView
70
- 

Return to bug 33317