Koha/koha-tmpl/opac-tmpl/bootstrap/en/includes
Fridolin Somers 4bc46dbbcb Bug 12046: Authentication using CAS - bootstrap
At the OPAC, if the bootstrap theme is used, the modal
dialog does not allow to use the CAS authentication.

This patch proposes, in case CAS is enabled, to
redirect to the opac-user.pl page (like prog theme).
This is because the popup content should stay small
(thinking about mobile surf), and that CAS url is
actually only computed in opac-user (see C4/Auth.pm)
and it would not be performant to compute it in all
pages.

Test plan:
- set syspref opacthemes to bootstrap
- enable the casAuthentication syspref
- fill the casServerUrl syspref with something like:
  https://localhost:8443/cas
- go on the opac home page
- click on "Log in to your account" link (top right)
=> You go to cgi-bin/koha/opac-user.pl page where you
  see the cas link
- disable the casAuthentication syspref
- go on the opac home page
- click on "Log in to your account" link (top right)
=> You see a popup for login and password

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Normal login still works with/without CAS.
Passes all tests and QA script.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2014-05-05 05:11:32 +00:00
..
search
authorities-search-results.inc Bug 7442: (follow-up) apply change to Bootstrap theme 2014-05-05 01:30:45 +00:00
calendar.inc
datatables.inc
date-format.inc Bug 11694: Improve handling of individual hold suspension in Bootstrap OPAC 2014-03-26 16:07:44 +00:00
doc-head-close.inc Bug 11060: (Bootstrap theme) fix incorrect rendering for right to left languages 2013-10-21 18:08:08 +00:00
doc-head-open.inc
item-status-schema-org.inc Bug 10626: (follow-up) replace use of KohaAuthorisedValues in the Bootstrap theme 2013-12-20 04:22:20 +00:00
item-status.inc Bug 10626: (follow-up) replace use of KohaAuthorisedValues in the Bootstrap theme 2013-12-20 04:22:20 +00:00
masthead-sco.inc
masthead.inc Bug 12046: Authentication using CAS - bootstrap 2014-05-05 05:11:32 +00:00
navigation.inc
opac-authorities.inc
opac-bottom.inc Bug 11127: (follow-up) define a specific message for suggestions 2014-03-13 16:50:12 +00:00
opac-detail-sidebar.inc
opac-facets.inc Bug 11117: Fix text mixup in facets where RTL text + facet count showed 2014-05-05 00:44:31 +00:00
opac-topissues.inc
page-numbers.inc
patron-title.inc
resort_form.inc
shelfbrowser.inc Bug 10309: (follow-up) Update for Bug 10856, improve shelf browser 2013-10-14 23:13:47 +00:00
subtypes_unimarc.inc Bug 11189: Rename "Print" label in UNIMARC advanced search 2013-11-08 16:48:42 +00:00
usermenu.inc Bug 10807: Add an authority search history for the OPAC - bootstrap 2014-05-05 02:37:57 +00:00