Koha/koha-tmpl/opac-tmpl/ccsr/en/includes
Owen Leonard 04dd98fa84 Bug 10552: make several sysprefs available to the OPAC login page
Several system preference variables are unavailable to the OPAC login
template because they are not explicitly enabled for that page. Instead
of adding them to Auth.pm using the old method this patch uses the new
system preference check syntax using the Koha TT plugin.

The following preferences are now checked using this syntax in
masthead.inc:

OpacAddMastheadLibraryPulldown
UseCourseReserves
reviewson
OpacShowRecentComments

In order for the call in masthead.inc to the new plugin to work on all
OPAC pages "[% USE Koha %]" must be added to any template which
includes it (most of them).

Also in this patch: A change to Auth.pm to enable correct display of the
LibraryName in the title of the OPAC login page.

To test, turn on the above system preferences and confirm that the
relevant links appear under the OPAC's main search bar on all pages
including the login page.

Confirm that the text specified in the LibraryName system preference is
shown as the title of the login page.

Confirm that course reserves and comments are displayed correctly on the
biblio detail page.

Signed-off-by: Liz Rea <liz@catalyst.net.nz>
I checked both prog and ccsr - all seems well and the links are appearing and disappearing in accordance with the appropriate sysprefs.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works as described.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-07-22 14:54:15 +00:00
..
doc-head-close.inc Bug 10592: fix display of favicon 2013-07-22 14:00:23 +00:00
masthead.inc Bug 10552: make several sysprefs available to the OPAC login page 2013-07-22 14:54:15 +00:00
navigation.inc
opac-bottom.inc Bug 8884: (follow-up) rearrange placement of the top-bar div in CCSR 2013-06-30 08:32:48 -07:00
top-bar.inc Bug 8884: (follow-up) rearrange placement of the top-bar div in CCSR 2013-06-30 08:32:48 -07:00
usermenu.inc