@@ -, +, @@
to be valid)
1
userid
---
installer/data/mysql/sysprefs.sql | 1 +
.../prog/en/modules/admin/preferences/admin.pref | 4 ++++
koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt | 5 +++--
koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc | 7 ++++---
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt | 11 ++++++-----
5 files changed, 18 insertions(+), 10 deletions(-)
--- a/installer/data/mysql/sysprefs.sql
+++ a/installer/data/mysql/sysprefs.sql
@@ -521,6 +521,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `
('ShelfBrowserUsesCcode','1','0','Use the item collection code when finding items for the shelf browser.','YesNo'),
('ShelfBrowserUsesHomeBranch','1','1','Use the item home branch when finding items for the shelf browser.','YesNo'),
('ShelfBrowserUsesLocation','1','1','Use the item location when finding items for the shelf browser.','YesNo'),
+('shibbolethName','',NULL,'Specify the name for Shibboleth accounts, "Shibboleth" will be used if blank','Free'),
('ShowAllCheckins', '0', '', 'Show all checkins', 'YesNo'),
('showLastPatron','0','','If ON, enables the last patron feature in the intranet','YesNo'),
('ShowPatronImageInWebBasedSelfCheck','0','','If ON, displays patron image when a patron uses web-based self-checkout','YesNo'),
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref
@@ -111,6 +111,10 @@ Administration:
choices:
yes: "Yes"
no: "No"
+ -
+ - Refer to Shibboleth accounts as
+ - pref: shibbolethName
+ - "accounts. 'Shibboleth' will be used if left blank."
CAS authentication:
-
- "Use CAS for login authentication: "
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt
@@ -2,6 +2,7 @@
[% USE Koha %]
[% USE Branches %]
[% SET footerjs = 1 %]
+[% SET shibbolethName = Koha.Preference('shibbolethName') || 'Shibboleth' %]
[% INCLUDE 'doc-head-open.inc' %]
Koha ›
[% IF ( nopermission ) %]Access denied[% END %]
@@ -52,9 +53,9 @@
[% IF (shibbolethAuthentication) %]
[% IF (invalidShibLogin ) %]
-Error: Shibboleth login failed
+Error: [% shibbolethName %] login failed
[% END %]
-If you have a shibboleth account, please click here to login.
+To use your [% shibbolethName %] account, please click here to login.
[% END %]
--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc
+++ a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc
@@ -2,6 +2,7 @@
[% USE Koha %]
[% USE Branches %]
[% SET OpacLangSelectorMode = Koha.Preference('OpacLangSelectorMode') %]
+[% SET shibbolethName = Koha.Preference('shibbolethName') || 'Shibboleth' %]