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

(-)a/C4/Auth.pm (-1 lines)
Lines 436-442 sub get_template_and_user { Link Here
436
            OpacMainUserBlock         => "" . C4::Context->preference("OpacMainUserBlock"),
436
            OpacMainUserBlock         => "" . C4::Context->preference("OpacMainUserBlock"),
437
            OpacMainUserBlockMobile   => "" . C4::Context->preference("OpacMainUserBlockMobile"),
437
            OpacMainUserBlockMobile   => "" . C4::Context->preference("OpacMainUserBlockMobile"),
438
            OpacShowFiltersPulldownMobile => C4::Context->preference("OpacShowFiltersPulldownMobile"),
438
            OpacShowFiltersPulldownMobile => C4::Context->preference("OpacShowFiltersPulldownMobile"),
439
            OpacShowLibrariesPulldownMobile => C4::Context->preference("OpacShowLibrariesPulldownMobile"),
440
            OpacNav                   => "" . C4::Context->preference("OpacNav"),
439
            OpacNav                   => "" . C4::Context->preference("OpacNav"),
441
            OpacNavRight              => "" . C4::Context->preference("OpacNavRight"),
440
            OpacNavRight              => "" . C4::Context->preference("OpacNavRight"),
442
            OpacNavBottom             => "" . C4::Context->preference("OpacNavBottom"),
441
            OpacNavBottom             => "" . C4::Context->preference("OpacNavBottom"),
(-)a/installer/data/mysql/sysprefs.sql (-1 lines)
Lines 281-287 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
281
('OPACShowCheckoutName','0','','Displays in the OPAC the name of patron who has checked out the material. WARNING: Most sites should leave this off. It is intended for corporate or special sites which need to track who has the item.','YesNo'),
281
('OPACShowCheckoutName','0','','Displays in the OPAC the name of patron who has checked out the material. WARNING: Most sites should leave this off. It is intended for corporate or special sites which need to track who has the item.','YesNo'),
282
('OpacShowFiltersPulldownMobile','1',NULL,'Show the search filters pulldown on the mobile version of the OPAC.','YesNo'),
282
('OpacShowFiltersPulldownMobile','1',NULL,'Show the search filters pulldown on the mobile version of the OPAC.','YesNo'),
283
('OPACShowHoldQueueDetails','none','none|priority|holds|holds_priority','Show holds details in OPAC','Choice'),
283
('OPACShowHoldQueueDetails','none','none|priority|holds|holds_priority','Show holds details in OPAC','Choice'),
284
('OpacShowLibrariesPulldownMobile','1',NULL,'Show the libraries pulldown on the mobile version of the OPAC.','YesNo'),
285
('OpacShowRecentComments','0',NULL,'If ON a link to recent comments will appear in the OPAC masthead','YesNo'),
284
('OpacShowRecentComments','0',NULL,'If ON a link to recent comments will appear in the OPAC masthead','YesNo'),
286
('OPACShowUnusedAuthorities','1','','Show authorities that are not being used in the OPAC.','YesNo'),
285
('OPACShowUnusedAuthorities','1','','Show authorities that are not being used in the OPAC.','YesNo'),
287
('opacsmallimage','','','Enter a complete URL to an image to replace the default Koha logo','free'),
286
('opacsmallimage','','','Enter a complete URL to an image to replace the default Koha logo','free'),
(-)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='OpacShowLibrariesPulldownMobile'");
8567
    print "Upgrade to $DBversion done ( Bug 12513 - PROG/CCSR deprecation: Remove OpacShowLibrariesPulldownMobile 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 (-7 lines)
Lines 204-215 OPAC: Link Here
204
              type: textarea
204
              type: textarea
205
              class: code
205
              class: code
206
        -
206
        -
207
            - pref: OpacShowLibrariesPulldownMobile
208
              choices:
209
                  yes: Show
210
                  no: "Don't show"
211
            - the libraries pulldown on the mobile version of the OPAC.
212
        -
213
            - pref: OpacShowFiltersPulldownMobile
207
            - pref: OpacShowFiltersPulldownMobile
214
              choices:
208
              choices:
215
                  yes: Show
209
                  yes: Show
216
- 

Return to bug 12513