[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: addressbook csv_import.php,1.16,1.17
From: |
Ralf Becker <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: addressbook csv_import.php,1.16,1.17 |
Date: |
Sun, 06 Apr 2003 08:52:26 -0400 |
Update of /cvsroot/phpgroupware/addressbook
In directory subversions:/tmp/cvs-serv752
Modified Files:
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.16
retrieving revision 1.17
diff -C2 -r1.16 -r1.17
*** csv_import.php 6 Apr 2003 12:32:53 -0000 1.16
--- csv_import.php 6 Apr 2003 12:52:24 -0000 1.17
***************
*** 165,168 ****
--- 165,175 ----
'ab_id' => 'Address Id:
@addr_id(n_family,n_given,org_name)'
);
+ $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))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: addressbook csv_import.php,1.16,1.17,
Ralf Becker <address@hidden> <=