Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jens
ISPConfig 3
Commits
f72c382b
Commit
f72c382b
authored
Sep 26, 2022
by
Till Brehm
Browse files
Merge branch '4127-default-country' into 'develop'
Add a default_country config option Closes
#4127
See merge request
!1618
parents
98fd30cd
356726f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface/web/client/form/client.tform.php
View file @
f72c382b
...
...
@@ -318,7 +318,7 @@ $form["tabs"]['address'] = array (
'country'
=>
array
(
'datatype'
=>
'VARCHAR'
,
'formtype'
=>
'SELECT'
,
'default'
=>
(
isset
(
$conf
[
'language'
])
?
strtoupper
(
$conf
[
'language'
])
:
''
),
'default'
=>
(
isset
(
$conf
[
'default_country'
]))
?
strtoupper
(
$conf
[
'default_country'
])
:
(
(
isset
(
$conf
[
'language'
])
)
?
strtoupper
(
$conf
[
'language'
])
:
''
),
'datasource'
=>
array
(
'type'
=>
'SQL'
,
'querystring'
=>
'SELECT iso,printable_name FROM country ORDER BY printable_name ASC'
,
'keyfield'
=>
'iso'
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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