latham
2011-05-19 4dd2c08e8bcf56a45047ae282bd94266800bcbfd
Allow config settings for country on client, reseller pages from the $conf
3 files modified
7 ■■■■ changed files
interface/lib/config.inc.php 3 ●●●●● patch | view | raw | blame | history
interface/web/client/form/client.tform.php 2 ●●● patch | view | raw | blame | history
interface/web/client/form/reseller.tform.php 2 ●●● patch | view | raw | blame | history
interface/lib/config.inc.php
@@ -133,6 +133,9 @@
$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
@@ -220,7 +220,7 @@
            '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
@@ -209,7 +209,7 @@
            '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',