Commit da48b29c authored by haemmer's avatar haemmer

Added new setting $showNumOfPreviouslyUsedIdPs to standalone and embedded...

Added new setting $showNumOfPreviouslyUsedIdPs to standalone and embedded WAYF. Shows last used n IdPs at top of drop-down list
Outsourced Embedded WAYF JS into own file
Logos are now also shown for IdPs from Discovery feed
Refactored some code

parent 6b1e064d
......@@ -65,6 +65,10 @@
// Whether or not to use the search-as-you-type feature of the drop down list
//$useImprovedDropDownList = true;
// Number of previously used Identity Providers to show at top of drop-down list
// Default is 3, set to 0 to disable
//$showNumOfPreviouslyUsedIdPs = 3;
// Set to true in order to enable reading the Identity Providers and Service
// Providers from a SAML2 metadata file defined below in $metadataFile
// The parsed data will be available in $metadataIDPFile and $metadataSPFile
......
......@@ -139,7 +139,6 @@ var wayf_return_url = "https://my-app.switch.ch/aai/index.php?page=show_welcome"
// [Optional, default: false]
// var wayf_use_improved_drop_down_list = false;
// Force the user's Home Organisation selection to be remembered for the
// current browser session. If wayf_show_remember_checkbox is true
// the checkbox will be shown but will be read only.
......@@ -163,6 +162,11 @@ var wayf_return_url = "https://my-app.switch.ch/aai/index.php?page=show_welcome"
// [Optional, default: none]
// var wayf_default_idp = "https://aai-logon.switch.ch/idp/shibboleth";
// Number of last used IdPs to show
// Set to 0 to deactivate
// [Optional, default: 3]
// var wayf_num_last_used_idps = 3;
// Set a custom Assertion Consumer URL instead of
// the default wayf_sp_handlerURL + '/SAML/POST'
// Only relevant if wayf_use_discovery_service is false and SAML1 is used.
......@@ -188,6 +192,9 @@ var wayf_return_url = "https://my-app.switch.ch/aai/index.php?page=show_welcome"
// [Optional, default: none]
// var wayf_overwrite_most_used_idps_text = 'Most popular';
// Overwrites the category name of the last used IdP category in the drop-down list
// [Optional, default: none]
// var wayf_overwrite_last_used_idps_text = 'Previously used';
// Whether to hide the WAYF after the user was logged in
// This requires that the _shib_session_* cookie is set when a user
......
This diff is collapsed.
......@@ -69,6 +69,7 @@ $langStrings['en']['unverified_return_url'] = 'The return URL <code>\'%s\'</code
$langStrings['en']['unknown_sp'] = 'The Service Provider <code>\'%s\'</code> could not be found in metadata and is therefore unknown.';
$langStrings['en']['no_idp_found'] = 'No organisation found for this search text';
$langStrings['en']['no_idp_available'] = 'No organisation available';
$langStrings['en']['last_used'] = 'Last used';
// ****************************
......@@ -119,6 +120,7 @@ $langStrings['de']['unverified_return_url'] = 'Die return URL <code>\'%s\'</code
$langStrings['de']['unknown_sp'] = 'Der Service Provider <code>\'%s\'</code> konnte nicht in den Metadaten gefunden werden und ist deshalb unbekannt.';
$langStrings['de']['no_idp_found'] = 'Keine Organisation gefunden f&uuml;r diesen Suchtext';
$langStrings['de']['no_idp_available'] = 'Keine Organisation verf&uuml;gbar';
$langStrings['en']['last_used'] = 'Zuletzt benutzt';
// ****************************
......@@ -164,6 +166,7 @@ $langStrings['fr']['login_with'] = 'Se connecter avec:';
$langStrings['fr']['other_federation'] = 'D\'autres f&eacute;derations';
$langStrings['fr']['logged_in'] = 'Vous &ecirc;tes d&eacute;j&agrave; authentifi&eacute;. <a href=\"%s\">Continuez</a>.';
$langStrings['fr']['most_used'] = '&Eacute;tablissements les plus utilis&eacute;es';
$langStrings['en']['last_used'] = 'Dernièrement utilisées';
// ****************************
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment