use country-class instead of sbox-class

This commit is contained in:
Ralf Becker 2006-07-06 22:53:45 +00:00
parent 970ebe0784
commit 2ed20963ed

View File

@ -67,7 +67,6 @@
'24' => lang('24 hour') '24' => lang('24 hour')
); );
$sbox =& CreateObject('phpgwapi.sbox');
$langs = $GLOBALS['egw']->translation->get_installed_langs(); $langs = $GLOBALS['egw']->translation->get_installed_langs();
$user_apps = array(); $user_apps = array();
@ -163,7 +162,7 @@
'type' => 'select', 'type' => 'select',
'label' => 'Country', 'label' => 'Country',
'name' => 'country', 'name' => 'country',
'values' => $sbox->country_array, 'values' => ExecMethod('phpgwapi.country.countries'),
'help' => 'In which country are you. This is used to set certain defaults for you.', 'help' => 'In which country are you. This is used to set certain defaults for you.',
'xmlrpc' => True, 'xmlrpc' => True,
'admin' => False 'admin' => False