From 32d74d5d93a33623d42ed006490bf965d20e1602 Mon Sep 17 00:00:00 2001 From: Lars Kneschke Date: Sun, 23 Jul 2006 18:14:49 +0000 Subject: [PATCH] added support for nokia 6600 --- addressbook/inc/class.vcaladdressbook.inc.php | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/addressbook/inc/class.vcaladdressbook.inc.php b/addressbook/inc/class.vcaladdressbook.inc.php index f43e2e20e2..ed2a1497d3 100644 --- a/addressbook/inc/class.vcaladdressbook.inc.php +++ b/addressbook/inc/class.vcaladdressbook.inc.php @@ -246,6 +246,26 @@ 'URL;WORK' => array('url'), ); + $defaultFields[4] = array( + 'ADR;WORK' => array('','','adr_one_street','adr_one_locality','adr_one_region', + 'adr_one_postalcode','adr_one_countryname'), + 'ADR;HOME' => array('','','adr_two_street','adr_two_locality','adr_two_region', + 'adr_two_postalcode','adr_two_countryname'), + 'BDAY' => array('bday'), + 'EMAIL;INTERNET;WORK' => array('email'), + 'EMAIL;INTERNET;HOME' => array('email_home'), + 'N' => array('n_family','n_given','','',''), + 'NOTE' => array('note'), + 'ORG' => array('org_name',''), + 'TEL;CELL;WORK' => array('tel_cell'), + 'TEL;FAX;WORK' => array('tel_fax'), + 'TEL;HOME' => array('tel_home'), + 'TEL;PAGER;WORK' => array('tel_pager'), + 'TEL;WORK' => array('tel_work'), + 'TITLE' => array('title'), + 'URL;WORK' => array('url'), + ); + switch(strtolower($_productManufacturer)) { case 'nexthaus corporation': @@ -258,6 +278,16 @@ } break; + case 'nokia': + switch(strtolower($_productName)) + { + case '6600': + default: + $this->supportedFields = $defaultFields[4]; + break; + } + break; + // multisync does not provide anymore information then the manufacturer // we suppose multisync with evolution case 'the multisync project':