Commit 9e9caf05 authored by haemmer's avatar haemmer

Corrected wrongly spelled configuration option

parent b90b96e8
...@@ -53,7 +53,7 @@ $cookieValidity = 100; ...@@ -53,7 +53,7 @@ $cookieValidity = 100;
$showPermanentSetting = false; $showPermanentSetting = false;
// Whether or not to use the search-as-you-type feature of the drop down list // 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 // Set to true in order to enable reading the Identity Provider from a SAML2
// metadata file defined below in $metadataFile // metadata file defined below in $metadataFile
......
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
setFocus(); setFocus();
if (<?php echo ($userImprovedDropDownList) ? 'true' : 'false' ?>){ if (<?php echo ($useImprovedDropDownList) ? 'true' : 'false' ?>){
var searchText = '<?php echo getLocalString('search_idp', 'js') ?>'; var searchText = '<?php echo getLocalString('search_idp', 'js') ?>';
$("#userIdPSelection:enabled option[value='-']").text(searchText); $("#userIdPSelection:enabled option[value='-']").text(searchText);
......
...@@ -16,7 +16,7 @@ function initConfigOptions(){ ...@@ -16,7 +16,7 @@ function initConfigOptions(){
global $cookieSecurity; global $cookieSecurity;
global $cookieValidity; global $cookieValidity;
global $showPermanentSetting; global $showPermanentSetting;
global $userImprovedDropDownList; global $useImprovedDropDownList;
global $useSAML2Metadata; global $useSAML2Metadata;
global $SAML2MetaOverLocalConf; global $SAML2MetaOverLocalConf;
global $includeLocalConfEntries; global $includeLocalConfEntries;
...@@ -54,7 +54,7 @@ function initConfigOptions(){ ...@@ -54,7 +54,7 @@ function initConfigOptions(){
$defaults['cookieSecurity'] = false; $defaults['cookieSecurity'] = false;
$defaults['cookieValidity'] = 100; $defaults['cookieValidity'] = 100;
$defaults['showPermanentSetting'] = false; $defaults['showPermanentSetting'] = false;
$defaults['userImprovedDropDownList'] = true; $defaults['useImprovedDropDownList'] = true;
$defaults['useSAML2Metadata'] = true; $defaults['useSAML2Metadata'] = true;
$defaults['SAML2MetaOverLocalConf'] = false; $defaults['SAML2MetaOverLocalConf'] = false;
$defaults['includeLocalConfEntries'] = true; $defaults['includeLocalConfEntries'] = true;
......
...@@ -16,7 +16,7 @@ if(!isset($_SERVER['REMOTE_ADDR']) || basename($_SERVER['SCRIPT_NAME']) == 'temp ...@@ -16,7 +16,7 @@ if(!isset($_SERVER['REMOTE_ADDR']) || basename($_SERVER['SCRIPT_NAME']) == 'temp
function printHeader(){ function printHeader(){
global $langStrings, $language, $imageURL, $javascriptURL, $cssURL, $logoURL, $userImprovedDropDownList; global $langStrings, $language, $imageURL, $javascriptURL, $cssURL, $logoURL, $useImprovedDropDownList;
// Check if custom header template exists // Check if custom header template exists
if(file_exists('custom-header.php')){ if(file_exists('custom-header.php')){
......
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