Move note as new field in stock contact fields

This commit is contained in:
Miles Lott 2001-02-27 13:34:26 +00:00
parent 342afbdccc
commit d22b947dbc
8 changed files with 6 additions and 11 deletions

View File

@ -80,7 +80,7 @@
$fields["tz"] = $timezone;
$fields["bday"] = $bday;
$fields["url"] = $url;
$fields["notes"] = $notes;
$fields["note"] = $notes;
addressbook_add_entry($phpgw_info["user"]["account_id"],$fields);
$ab_id = addressbook_get_lastid();

View File

@ -41,7 +41,6 @@
"mphone" => "mphone",
"ophone" => "ophone",
"address2" => "address2",
"notes" => "notes"
);
$qfields = $this->stock_contact_fields + $extrafields;
$fields = addressbook_read_entry($ab_id,$qfields);
@ -85,7 +84,7 @@
$fields["tz"] = $timezone;
$fields["bday"] = $bday;
$fields["url"] = $url;
$fields["notes"] = $notes;
$fields["note"] = $notes;
// this is now in functions.inc.php and will handle acl soon
//if (!$userid) {

View File

@ -78,6 +78,7 @@
"geo" => "geo",
"url" => "url",
"bday" => "bday",
"note" => "note",
"a_tel" => "a_tel",
"a_tel_work" => "a_tel_work", //yn
"a_tel_home" => "a_tel_home", //yn

View File

@ -87,7 +87,7 @@
"address2" => "address2",
"bday" => "birthday",
"url" => "url",
"notes" => "notes"
"note" => "notes"
);
while($name = each($abc) ) {
@ -165,7 +165,7 @@
$country = $fields["adr_countryname"];
$timezone = $fields["tz"];
$bday = $fields["bday"];
$notes = stripslashes($fields["notes"]);
$notes = stripslashes($fields["note"]);
$company = $fields["org_name"];
$department = $fields["org_unit"];
$url = $fields["url"];

View File

@ -33,7 +33,6 @@
"mphone" => "mphone",
"ophone" => "ophone",
"address2" => "address2",
"notes" => "notes"
);
$qfields = $this->stock_contact_fields + $extrafields;

View File

@ -27,9 +27,6 @@
"mphone" => "mphone",
"ophone" => "ophone",
"address2" => "address2",
"bday" => "bday",
"url" => "url",
"notes" => "notes"
);
$qfields = $this->stock_contact_fields + $extrafields;

View File

@ -64,7 +64,7 @@
$company = $fields["org_name"];
$dept = $fields["org_unit"];
$bday = $fields["bday"];
$notes = $fields["notes"];
$notes = $fields["note"];
$access = $fields["access"];
$url = $fields["url"];

View File

@ -48,7 +48,6 @@
"mphone" => "mphone",
"ophone" => "ophone",
"address2" => "address2",
"notes" => "notes",
);
$qfields = $this->stock_contact_fields + $extrafields;
$fields = addressbook_read_entry($ab_id,$qfields);