"fix for bug #953: Addresbook Contact Info ignores Default Address Format Rule"

This commit is contained in:
Ralf Becker 2007-06-23 07:09:52 +00:00
parent bd30386440
commit ab74fbeca0

View File

@ -1518,6 +1518,10 @@ class uicontacts extends bocontacts
// ToDo: fix vCard export // ToDo: fix vCard export
$readonlys['button[vcard]'] = true; $readonlys['button[vcard]'] = true;
// how to display addresses
$content['addr_format'] = $this->addr_format_by_country($content['adr_one_countryname']);
$content['addr_format2'] = $this->addr_format_by_country($content['adr_two_countryname']);
$sel_options['fileas_type'][$content['fileas_type']] = $this->fileas($content); $sel_options['fileas_type'][$content['fileas_type']] = $this->fileas($content);
$sel_options['owner'] = $this->get_addressbooks(); $sel_options['owner'] = $this->get_addressbooks();
for($i = -23; $i<=23; $i++) $tz[$i] = ($i > 0 ? '+' : '').$i; for($i = -23; $i<=23; $i++) $tz[$i] = ($i > 0 ? '+' : '').$i;