mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-24 23:58:54 +01:00
A few small comment and field choice changes
This commit is contained in:
parent
7d8a40f222
commit
dab3d59f04
@ -84,7 +84,9 @@
|
||||
"address2" => "address2",
|
||||
"address3" => "address3"
|
||||
);
|
||||
$this->qfields = $this->stock_contact_fields;# + $extrafields;# + $customfields;
|
||||
if ($this->type != 'vcard') {
|
||||
$this->qfields = $this->stock_contact_fields;# + $extrafields;# + $customfields;
|
||||
}
|
||||
|
||||
$buffer = $this->export_start_file($buffer);
|
||||
|
||||
|
@ -24,9 +24,9 @@
|
||||
// $access = $n_groups;
|
||||
//echo $access . "<BR>";
|
||||
|
||||
parsevcard($filename,$access);
|
||||
//parsevcard($filename,$access);
|
||||
// Delete the temp file.
|
||||
unlink($filename);
|
||||
unlink($filename . '.info');
|
||||
Header('Location: ' . $phpgw->link('/addressbook/index.php','cd=14'));
|
||||
?>
|
||||
?>
|
||||
|
@ -30,6 +30,7 @@
|
||||
|
||||
// Some of the methods where borrowed from
|
||||
// Squirrelmail <Luke Ehresman> http://www.squirrelmail.org
|
||||
// (only the uploaddir naming anymore)
|
||||
$sep = SEP;
|
||||
|
||||
$uploaddir = $phpgw_info["server"]["temp_dir"] . $sep;
|
||||
@ -48,7 +49,6 @@
|
||||
fputs($ftp,"$uploadedfile_type\n$uploadedfile_name\n");
|
||||
fclose($ftp);
|
||||
|
||||
// This has to be non-interactive in case of a multi-entry vcard.
|
||||
$filename = $uploaddir . $newfilename;
|
||||
|
||||
$contacts = CreateObject("phpgwapi.contacts");
|
||||
@ -78,7 +78,6 @@
|
||||
$entry = $vcard->in($buffer);
|
||||
$contacts->add($phpgw_info["user"]["account_id"],$entry);
|
||||
|
||||
//parsevcard($filename,$access);
|
||||
// Delete the temp file.
|
||||
unlink($filename);
|
||||
unlink($filename . ".info");
|
||||
|
Loading…
Reference in New Issue
Block a user