mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-26 04:41:41 +02:00
Move note as new field in stock contact fields
This commit is contained in:
parent
342afbdccc
commit
d22b947dbc
@ -80,7 +80,7 @@
|
|||||||
$fields["tz"] = $timezone;
|
$fields["tz"] = $timezone;
|
||||||
$fields["bday"] = $bday;
|
$fields["bday"] = $bday;
|
||||||
$fields["url"] = $url;
|
$fields["url"] = $url;
|
||||||
$fields["notes"] = $notes;
|
$fields["note"] = $notes;
|
||||||
|
|
||||||
addressbook_add_entry($phpgw_info["user"]["account_id"],$fields);
|
addressbook_add_entry($phpgw_info["user"]["account_id"],$fields);
|
||||||
$ab_id = addressbook_get_lastid();
|
$ab_id = addressbook_get_lastid();
|
||||||
|
@ -41,7 +41,6 @@
|
|||||||
"mphone" => "mphone",
|
"mphone" => "mphone",
|
||||||
"ophone" => "ophone",
|
"ophone" => "ophone",
|
||||||
"address2" => "address2",
|
"address2" => "address2",
|
||||||
"notes" => "notes"
|
|
||||||
);
|
);
|
||||||
$qfields = $this->stock_contact_fields + $extrafields;
|
$qfields = $this->stock_contact_fields + $extrafields;
|
||||||
$fields = addressbook_read_entry($ab_id,$qfields);
|
$fields = addressbook_read_entry($ab_id,$qfields);
|
||||||
@ -85,7 +84,7 @@
|
|||||||
$fields["tz"] = $timezone;
|
$fields["tz"] = $timezone;
|
||||||
$fields["bday"] = $bday;
|
$fields["bday"] = $bday;
|
||||||
$fields["url"] = $url;
|
$fields["url"] = $url;
|
||||||
$fields["notes"] = $notes;
|
$fields["note"] = $notes;
|
||||||
|
|
||||||
// this is now in functions.inc.php and will handle acl soon
|
// this is now in functions.inc.php and will handle acl soon
|
||||||
//if (!$userid) {
|
//if (!$userid) {
|
||||||
|
@ -78,6 +78,7 @@
|
|||||||
"geo" => "geo",
|
"geo" => "geo",
|
||||||
"url" => "url",
|
"url" => "url",
|
||||||
"bday" => "bday",
|
"bday" => "bday",
|
||||||
|
"note" => "note",
|
||||||
"a_tel" => "a_tel",
|
"a_tel" => "a_tel",
|
||||||
"a_tel_work" => "a_tel_work", //yn
|
"a_tel_work" => "a_tel_work", //yn
|
||||||
"a_tel_home" => "a_tel_home", //yn
|
"a_tel_home" => "a_tel_home", //yn
|
||||||
|
@ -87,7 +87,7 @@
|
|||||||
"address2" => "address2",
|
"address2" => "address2",
|
||||||
"bday" => "birthday",
|
"bday" => "birthday",
|
||||||
"url" => "url",
|
"url" => "url",
|
||||||
"notes" => "notes"
|
"note" => "notes"
|
||||||
);
|
);
|
||||||
|
|
||||||
while($name = each($abc) ) {
|
while($name = each($abc) ) {
|
||||||
@ -165,7 +165,7 @@
|
|||||||
$country = $fields["adr_countryname"];
|
$country = $fields["adr_countryname"];
|
||||||
$timezone = $fields["tz"];
|
$timezone = $fields["tz"];
|
||||||
$bday = $fields["bday"];
|
$bday = $fields["bday"];
|
||||||
$notes = stripslashes($fields["notes"]);
|
$notes = stripslashes($fields["note"]);
|
||||||
$company = $fields["org_name"];
|
$company = $fields["org_name"];
|
||||||
$department = $fields["org_unit"];
|
$department = $fields["org_unit"];
|
||||||
$url = $fields["url"];
|
$url = $fields["url"];
|
||||||
|
@ -33,7 +33,6 @@
|
|||||||
"mphone" => "mphone",
|
"mphone" => "mphone",
|
||||||
"ophone" => "ophone",
|
"ophone" => "ophone",
|
||||||
"address2" => "address2",
|
"address2" => "address2",
|
||||||
"notes" => "notes"
|
|
||||||
);
|
);
|
||||||
$qfields = $this->stock_contact_fields + $extrafields;
|
$qfields = $this->stock_contact_fields + $extrafields;
|
||||||
|
|
||||||
|
@ -27,9 +27,6 @@
|
|||||||
"mphone" => "mphone",
|
"mphone" => "mphone",
|
||||||
"ophone" => "ophone",
|
"ophone" => "ophone",
|
||||||
"address2" => "address2",
|
"address2" => "address2",
|
||||||
"bday" => "bday",
|
|
||||||
"url" => "url",
|
|
||||||
"notes" => "notes"
|
|
||||||
);
|
);
|
||||||
$qfields = $this->stock_contact_fields + $extrafields;
|
$qfields = $this->stock_contact_fields + $extrafields;
|
||||||
|
|
||||||
|
@ -64,7 +64,7 @@
|
|||||||
$company = $fields["org_name"];
|
$company = $fields["org_name"];
|
||||||
$dept = $fields["org_unit"];
|
$dept = $fields["org_unit"];
|
||||||
$bday = $fields["bday"];
|
$bday = $fields["bday"];
|
||||||
$notes = $fields["notes"];
|
$notes = $fields["note"];
|
||||||
$access = $fields["access"];
|
$access = $fields["access"];
|
||||||
$url = $fields["url"];
|
$url = $fields["url"];
|
||||||
|
|
||||||
|
@ -48,7 +48,6 @@
|
|||||||
"mphone" => "mphone",
|
"mphone" => "mphone",
|
||||||
"ophone" => "ophone",
|
"ophone" => "ophone",
|
||||||
"address2" => "address2",
|
"address2" => "address2",
|
||||||
"notes" => "notes",
|
|
||||||
);
|
);
|
||||||
$qfields = $this->stock_contact_fields + $extrafields;
|
$qfields = $this->stock_contact_fields + $extrafields;
|
||||||
$fields = addressbook_read_entry($ab_id,$qfields);
|
$fields = addressbook_read_entry($ab_id,$qfields);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user