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

(-)a/C4/Auth.pm (-1 lines)
Lines 422-428 sub get_template_and_user { Link Here
422
            OPACShelfBrowser          => "". C4::Context->preference("OPACShelfBrowser"),
422
            OPACShelfBrowser          => "". C4::Context->preference("OPACShelfBrowser"),
423
            OPACURLOpenInNewWindow    => "" . C4::Context->preference("OPACURLOpenInNewWindow"),
423
            OPACURLOpenInNewWindow    => "" . C4::Context->preference("OPACURLOpenInNewWindow"),
424
            OPACUserCSS               => "". C4::Context->preference("OPACUserCSS"),
424
            OPACUserCSS               => "". C4::Context->preference("OPACUserCSS"),
425
            OPACMobileUserCSS         => "". C4::Context->preference("OPACMobileUserCSS"),
426
            OPACViewOthersSuggestions => "" . C4::Context->preference("OPACViewOthersSuggestions"),
425
            OPACViewOthersSuggestions => "" . C4::Context->preference("OPACViewOthersSuggestions"),
427
            OpacAuthorities           => C4::Context->preference("OpacAuthorities"),
426
            OpacAuthorities           => C4::Context->preference("OpacAuthorities"),
428
            OPACBaseURL               => ($in->{'query'}->https() ? "https://" : "http://") . $ENV{'SERVER_NAME'} .
427
            OPACBaseURL               => ($in->{'query'}->https() ? "https://" : "http://") . $ENV{'SERVER_NAME'} .
(-)a/installer/data/mysql/sysprefs.sql (-1 lines)
Lines 253-259 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
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'),
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'),
255
('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'),
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'),
258
('OPACMySummaryNote','','','Note to display on the patron summary page. This note only appears if the patron is connected.','Free'),
257
('OPACMySummaryNote','','','Note to display on the patron summary page. This note only appears if the patron is connected.','Free'),
259
('OpacNav','Important links here.','70|10','Use HTML tags to add navigational links to the left-hand navigational bar in OPAC','Textarea'),
258
('OpacNav','Important links here.','70|10','Use HTML tags to add navigational links to the left-hand navigational bar in OPAC','Textarea'),
(-)a/installer/data/mysql/updatedatabase.pl (+8 lines)
Lines 8560-8565 if ( CheckVersion($DBversion) ) { Link Here
8560
    SetVersion($DBversion);
8560
    SetVersion($DBversion);
8561
}
8561
}
8562
8562
8563
8564
$DBversion = "3.17.00.XXX";
8565
if ( CheckVersion($DBversion) ) {
8566
    $dbh->do("DELETE FROM systempreferences WHERE variable='OPACMobileUserCSS'");
8567
    print "Upgrade to $DBversion done ( Bug 12245 - PROG/CCSR deprecation: Remove OPACMobileUserCSS system preference )\n";
8568
    SetVersion ($DBversion);
8569
}
8570
8563
=head1 FUNCTIONS
8571
=head1 FUNCTIONS
8564
8572
8565
=head2 TableExists($table)
8573
=head2 TableExists($table)
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref (-6 lines)
Lines 189-199 OPAC: Link Here
189
              type: textarea
189
              type: textarea
190
              class: code
190
              class: code
191
        -
191
        -
192
            - "Include the following CSS for the mobile view on all pages in the OPAC:"
193
            - pref: OPACMobileUserCSS
194
              type: textarea
195
              class: code
196
        -
197
            - "Show the following HTML in its own column on the main page of the OPAC:"
192
            - "Show the following HTML in its own column on the main page of the OPAC:"
198
            - pref: OpacMainUserBlock
193
            - pref: OpacMainUserBlock
199
              type: textarea
194
              type: textarea
200
- 

Return to bug 12245