From 9e9caf055e4e4ab8a8e7bf09fcb8a9d4ebc03b2b Mon Sep 17 00:00:00 2001 From: haemmer Date: Wed, 13 Jun 2012 10:31:57 +0000 Subject: [PATCH] Corrected wrongly spelled configuration option --- config.dist.php | 2 +- default-header.php | 2 +- functions.php | 4 ++-- templates.php | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config.dist.php b/config.dist.php index 8fe1e15..22d9a6e 100755 --- a/config.dist.php +++ b/config.dist.php @@ -53,7 +53,7 @@ $cookieValidity = 100; $showPermanentSetting = false; // Whether or not to use the search-as-you-type feature of the drop down list -$userImprovedDropDownList = true; +$useImprovedDropDownList = true; // Set to true in order to enable reading the Identity Provider from a SAML2 // metadata file defined below in $metadataFile diff --git a/default-header.php b/default-header.php index f5a98d2..1cf17cb 100644 --- a/default-header.php +++ b/default-header.php @@ -78,7 +78,7 @@ setFocus(); - if (){ + if (){ var searchText = ''; $("#userIdPSelection:enabled option[value='-']").text(searchText); diff --git a/functions.php b/functions.php index cb47bd8..c339849 100644 --- a/functions.php +++ b/functions.php @@ -16,7 +16,7 @@ function initConfigOptions(){ global $cookieSecurity; global $cookieValidity; global $showPermanentSetting; - global $userImprovedDropDownList; + global $useImprovedDropDownList; global $useSAML2Metadata; global $SAML2MetaOverLocalConf; global $includeLocalConfEntries; @@ -54,7 +54,7 @@ function initConfigOptions(){ $defaults['cookieSecurity'] = false; $defaults['cookieValidity'] = 100; $defaults['showPermanentSetting'] = false; - $defaults['userImprovedDropDownList'] = true; + $defaults['useImprovedDropDownList'] = true; $defaults['useSAML2Metadata'] = true; $defaults['SAML2MetaOverLocalConf'] = false; $defaults['includeLocalConfEntries'] = true; diff --git a/templates.php b/templates.php index 253a588..6fc839b 100755 --- a/templates.php +++ b/templates.php @@ -16,7 +16,7 @@ if(!isset($_SERVER['REMOTE_ADDR']) || basename($_SERVER['SCRIPT_NAME']) == 'temp function printHeader(){ - global $langStrings, $language, $imageURL, $javascriptURL, $cssURL, $logoURL, $userImprovedDropDownList; + global $langStrings, $language, $imageURL, $javascriptURL, $cssURL, $logoURL, $useImprovedDropDownList; // Check if custom header template exists if(file_exists('custom-header.php')){ -- GitLab