diff --git a/interface/lib/config.inc.php b/interface/lib/config.inc.php index b584146bb95ea0f371bfc51d61cc763fe4ac5ba3..813c2c64876eeec05befca87f00547e939704397 100644 --- a/interface/lib/config.inc.php +++ b/interface/lib/config.inc.php @@ -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/ diff --git a/interface/web/client/form/client.tform.php b/interface/web/client/form/client.tform.php index be3c6311383fb1109034e1889f17c2df3e23a8b6..43d824bf639cfcb6b3cb68f0f7bd1a24d78ce97d 100644 --- a/interface/web/client/form/client.tform.php +++ b/interface/web/client/form/client.tform.php @@ -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', diff --git a/interface/web/client/form/reseller.tform.php b/interface/web/client/form/reseller.tform.php index b53717a61c368890c2bcbb15d72a60883edc2b02..86ccd4a24b8bedee017b3e22fbd1e85a0832efa8 100644 --- a/interface/web/client/form/reseller.tform.php +++ b/interface/web/client/form/reseller.tform.php @@ -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',