mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 17:48:56 +01:00
update addresses
This commit is contained in:
parent
0cb21b95f7
commit
667eb328ee
@ -304,11 +304,13 @@
|
||||
$country = $phpgw_info['user']['preferences']['common']['country'];
|
||||
}
|
||||
|
||||
if ($country == 'DE')
|
||||
// echo PHPGW_SERVER_ROOT . SEP . 'addressbook' . SEP . 'templates' . SEP . 'default' . SEP . 'format_' . strtolower($country) . '.tpl';
|
||||
|
||||
if (file_exists(PHPGW_SERVER_ROOT . SEP . 'addressbook' . SEP . 'templates' . SEP .'default' . SEP . 'format_' . strtolower($country) . '.tpl'))
|
||||
{
|
||||
$a = $t->set_file(array('address_format' => 'format_de.tpl'));
|
||||
$a = $t->set_file(array('address_format' => 'format_' . strtolower($country) . '.tpl'));
|
||||
}
|
||||
elseif ($country == 'US')
|
||||
else
|
||||
{
|
||||
$a = $t->set_file(array('address_format' => 'format_us.tpl'));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user