Koha/koha-tmpl/opac-tmpl/bootstrap/en/includes
Owen Leonard 0d4ebe4170
Bug 30873: Add system preference to hide libraries link in the OPAC
Some users would prefer that the libraries link not appear in the menu
of links under the OPAC's main search bar. This patch adds a preference
to do so.

The preference defaults to "On" since "On" is the current default
behavior.

To test, apply the patch and run the database update prcoess.

- In the OPAC, confirm that by default the "Libraries" link appears.
- In the staff interface, go to Administration -> System preferences ->
  OPACShowLibraries
- Set the preference to "Don't show"
- Return to the OPAC and confirm that the "Libraries" link isn't there.
- Try to navigate directly to /cgi-bin/koha/opac-library.pl. You should
  be redirected to a 404 page.

Sponsored-by: Athens County Public Libraries
Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-07-02 17:20:39 +02:00
..
modals
account-table.inc
accounts.inc
authorities-search-results.inc
authority-information.inc Bug 29948: (follow-up) Add CSS class to list items 2024-05-13 14:00:14 +02:00
av-build-dropbox.inc
biblio-title-head.inc
biblio-title.inc
bodytag.inc
calendar.inc
columns_settings.inc
csrf-token.inc
datatables.inc
date-format.inc
display-library-address.inc
doc-head-close.inc Bug 33317: Add system preference to set meta robots for the OPAC 2024-06-25 18:34:17 +02:00
doc-head-open.inc
greybox.inc
holds-table.inc
html_helpers.inc
i18n.inc
ill-availability-table.inc
item-status.inc
js-biblio-format.inc
js-date-format.inc
masthead-langmenu.inc
masthead-sci.inc
masthead-sco.inc
masthead.inc Bug 30873: Add system preference to hide libraries link in the OPAC 2024-07-02 17:20:39 +02:00
navigation.inc
opac-authorities.inc
opac-bottom.inc
opac-detail-sidebar.inc
opac-facets.inc Bug 36905: Terminology: home locations / home collections 2024-06-27 17:24:36 +02:00
opac-note.inc Bug 35869: Removes the dismiss button from messages on OPAC SCO module 2024-06-11 11:55:42 +01:00
opac-topissues.inc
openlibrary-readapi.inc
overdrive-checkout.inc
overdrive-login.inc
page-numbers.inc
password_check.inc
patron-title.inc
resort_form.inc
result-batch-controls.inc Bug 36557: (follow-up) Restore missing "Remove from list" control 2024-07-01 18:55:44 +02:00
serial-status.inc
shelfbrowser.inc
slip-print.inc
subtypes_unimarc.inc
title-actions-menu.inc Bug 36557: Convert Cart and Lists controls to buttons and rework logic 2024-07-01 18:55:43 +02:00
user-star-ratings.inc
usermenu.inc
validator-strings.inc
xslt-handler.inc