Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
SWITCHwayf
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Guillaume Rousse
SWITCHwayf
Commits
9e9caf05
Commit
9e9caf05
authored
Jun 13, 2012
by
haemmer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Corrected wrongly spelled configuration option
parent
b90b96e8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
config.dist.php
config.dist.php
+1
-1
default-header.php
default-header.php
+1
-1
functions.php
functions.php
+2
-2
templates.php
templates.php
+1
-1
No files found.
config.dist.php
View file @
9e9caf05
...
...
@@ -53,7 +53,7 @@ $cookieValidity = 100;
$showPermanentSetting
=
false
;
// Whether or not to use the search-as-you-type feature of the drop down list
$use
r
ImprovedDropDownList
=
true
;
$useImprovedDropDownList
=
true
;
// Set to true in order to enable reading the Identity Provider from a SAML2
// metadata file defined below in $metadataFile
...
...
default-header.php
View file @
9e9caf05
...
...
@@ -78,7 +78,7 @@
setFocus
();
if
(
<?php
echo
(
$use
r
ImprovedDropDownList
)
?
'true'
:
'false'
?>
){
if
(
<?php
echo
(
$useImprovedDropDownList
)
?
'true'
:
'false'
?>
){
var
searchText
=
'
<?php
echo
getLocalString
(
'search_idp'
,
'js'
)
?>
'
;
$
(
"
#userIdPSelection:enabled option[value='-']
"
).
text
(
searchText
);
...
...
functions.php
View file @
9e9caf05
...
...
@@ -16,7 +16,7 @@ function initConfigOptions(){
global
$cookieSecurity
;
global
$cookieValidity
;
global
$showPermanentSetting
;
global
$use
r
ImprovedDropDownList
;
global
$useImprovedDropDownList
;
global
$useSAML2Metadata
;
global
$SAML2MetaOverLocalConf
;
global
$includeLocalConfEntries
;
...
...
@@ -54,7 +54,7 @@ function initConfigOptions(){
$defaults
[
'cookieSecurity'
]
=
false
;
$defaults
[
'cookieValidity'
]
=
100
;
$defaults
[
'showPermanentSetting'
]
=
false
;
$defaults
[
'use
r
ImprovedDropDownList'
]
=
true
;
$defaults
[
'useImprovedDropDownList'
]
=
true
;
$defaults
[
'useSAML2Metadata'
]
=
true
;
$defaults
[
'SAML2MetaOverLocalConf'
]
=
false
;
$defaults
[
'includeLocalConfEntries'
]
=
true
;
...
...
templates.php
View file @
9e9caf05
...
...
@@ -16,7 +16,7 @@ if(!isset($_SERVER['REMOTE_ADDR']) || basename($_SERVER['SCRIPT_NAME']) == 'temp
function
printHeader
(){
global
$langStrings
,
$language
,
$imageURL
,
$javascriptURL
,
$cssURL
,
$logoURL
,
$use
r
ImprovedDropDownList
;
global
$langStrings
,
$language
,
$imageURL
,
$javascriptURL
,
$cssURL
,
$logoURL
,
$useImprovedDropDownList
;
// Check if custom header template exists
if
(
file_exists
(
'custom-header.php'
)){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment