Commit 4dd2c08e authored by latham's avatar latham
Browse files

Allow config settings for country on client, reseller pages from the $conf

parent 0888d7df
......@@ -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/
......
......@@ -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',
......
......@@ -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',
......
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