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
ISPConfig
ISPConfig 3
Commits
4dd2c08e
Commit
4dd2c08e
authored
May 19, 2011
by
latham
Browse files
Allow config settings for country on client, reseller pages from the $conf
parent
0888d7df
Changes
3
Hide whitespace changes
Inline
Side-by-side
interface/lib/config.inc.php
View file @
4dd2c08e
...
...
@@ -133,6 +133,9 @@ $conf['logo'] = 'themes/default/images/ispc_logo.png';
$conf
[
'language'
]
=
'en'
;
$conf
[
'debug_language'
]
=
false
;
//** Default Country
$conf
[
'country'
]
=
'DE'
;
//** Misc.
$conf
[
'interface_logout_url'
]
=
''
;
// example: http://www.domain.tld/
...
...
interface/web/client/form/client.tform.php
View file @
4dd2c08e
...
...
@@ -220,7 +220,7 @@ $form["tabs"]['address'] = array (
'datatype'
=>
'VARCHAR'
,
'formtype'
=>
'SELECT'
,
'default'
=>
'
$conf["country"]
'
,
'default'
=>
$conf
[
"country"
],
'datasource'
=>
array
(
'type'
=>
'SQL'
,
'querystring'
=>
'SELECT iso,printable_name FROM country ORDER BY printable_name'
,
'keyfield'
=>
'iso'
,
...
...
interface/web/client/form/reseller.tform.php
View file @
4dd2c08e
...
...
@@ -209,7 +209,7 @@ $form["tabs"]['address'] = array (
'datatype'
=>
'VARCHAR'
,
'formtype'
=>
'SELECT'
,
'default'
=>
'DE'
,
'default'
=>
$conf
[
"country"
]
,
'datasource'
=>
array
(
'type'
=>
'SQL'
,
'querystring'
=>
'SELECT iso,printable_name FROM country ORDER BY printable_name'
,
'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