phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: addressbook csv_import.php,1.4.2.8,1.4.2.9


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: addressbook csv_import.php,1.4.2.8,1.4.2.9
Date: Sun, 06 Apr 2003 08:51:39 -0400

Update of /cvsroot/phpgroupware/addressbook
In directory subversions:/tmp/cvs-serv704

Modified Files:
      Tag: Version-0_9_14-branch
        csv_import.php 
Log Message:
included custom-fields in the import


Index: csv_import.php
===================================================================
RCS file: /cvsroot/phpgroupware/addressbook/csv_import.php,v
retrieving revision 1.4.2.8
retrieving revision 1.4.2.9
diff -C2 -r1.4.2.8 -r1.4.2.9
*** csv_import.php      6 Apr 2003 12:40:06 -0000       1.4.2.8
--- csv_import.php      6 Apr 2003 12:51:37 -0000       1.4.2.9
***************
*** 163,166 ****
--- 163,173 ----
                                'ophone'   => 'Other Phone'
                        );
+                       $config = CreateObject('phpgwapi.config','addressbook');
+                       $config->read_repository();
+                       while(list($name,$descr) = 
@each($config->config_data['custom_fields']))
+                       {
+                               $addr_names[$name] = $descr;
+                       }
+                       unset($config);
  
                        while(list($field,$name) = each($addr_names))





reply via email to

[Prev in Thread] Current Thread [Next in Thread]