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

(-)a/installer/data/mysql/sysprefs.sql (-1 lines)
Lines 251-257 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
251
('OpacLocationBranchToDisplayShelving','holding','holding|home|both','In the OPAC, display the shelving location under which which column.',  'Choice'),
251
('OpacLocationBranchToDisplayShelving','holding','holding|home|both','In the OPAC, display the shelving location under which which column.',  'Choice'),
252
('OpacMaintenance','0','','If ON, enables maintenance warning in OPAC','YesNo'),
252
('OpacMaintenance','0','','If ON, enables maintenance warning in OPAC','YesNo'),
253
('OpacMainUserBlock','Welcome to Koha...\r\n<hr>','70|10','A user-defined block of HTML  in the main content area of the opac main page','Textarea'),
253
('OpacMainUserBlock','Welcome to Koha...\r\n<hr>','70|10','A user-defined block of HTML  in the main content area of the opac main page','Textarea'),
254
('OpacMainUserBlockMobile','',NULL,'Show the following HTML in its own column on the main page of the OPAC (mobile version):','free'),
255
('OpacMaxItemsToDisplay','50','','Max items to display at the OPAC on a biblio detail','Integer'),
254
('OpacMaxItemsToDisplay','50','','Max items to display at the OPAC on a biblio detail','Integer'),
256
('OPACMobileUserCSS','',NULL,'Include the following CSS for the mobile view on all pages in the OPAC:','free'),
255
('OPACMobileUserCSS','',NULL,'Include the following CSS for the mobile view on all pages in the OPAC:','free'),
257
('OPACMySummaryHTML','','70|10','Enter the HTML that will appear in a column on the \'my summary\' and \'my reading 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'),
256
('OPACMySummaryHTML','','70|10','Enter the HTML that will appear in a column on the \'my summary\' and \'my reading 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'),
(-)a/installer/data/mysql/updatedatabase.pl (+7 lines)
Lines 8560-8565 if ( CheckVersion($DBversion) ) { Link Here
8560
    SetVersion($DBversion);
8560
    SetVersion($DBversion);
8561
}
8561
}
8562
8562
8563
$DBversion = "3.17.00.XXX";
8564
if ( CheckVersion($DBversion) ) {
8565
    $dbh->do("DELETE FROM systempreferences WHERE variable='OpacMainUserBlockMobile'");
8566
    print "Upgrade to $DBversion done ( Bug 12246 - PROG/CCSR deprecation: Remove OpacMainUserBlockMobile system preference )\n";
8567
    SetVersion ($DBversion);
8568
}
8569
8563
=head1 FUNCTIONS
8570
=head1 FUNCTIONS
8564
8571
8565
=head2 TableExists($table)
8572
=head2 TableExists($table)
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref (-6 lines)
Lines 199-209 OPAC: Link Here
199
              type: textarea
199
              type: textarea
200
              class: code
200
              class: code
201
        -
201
        -
202
            - "Show the following HTML in its own column on the main page of the OPAC (mobile version):"
203
            - pref: OpacMainUserBlockMobile
204
              type: textarea
205
              class: code
206
        -
207
            - pref: OpacShowLibrariesPulldownMobile
202
            - pref: OpacShowLibrariesPulldownMobile
208
              choices:
203
              choices:
209
                  yes: Show
204
                  yes: Show
210
- 

Return to bug 12246