Allow editing of LABEL

This commit is contained in:
Miles Lott 2001-03-21 00:31:27 +00:00
parent 196a33b9e9
commit e7829e8ab8
4 changed files with 14 additions and 0 deletions

View File

@ -139,6 +139,7 @@
$fields["url"] = $url;
$fields["pubkey"] = $pubkey;
$fields["note"] = $notes;
$fields["label"] = $label;
addressbook_add_entry($phpgw_info["user"]["account_id"],$fields);
$ab_id = addressbook_get_lastid();

View File

@ -138,6 +138,7 @@
$fields["url"] = $url;
$fields["pubkey"] = $pubkey;
$fields["note"] = $notes;
$fields["label"] = $label;
$userid = $phpgw_info["user"]["account_id"];

View File

@ -197,6 +197,7 @@
$timezone = $fields["tz"];
$bday = $fields["bday"];
$notes = stripslashes($fields["note"]);
$label = stripslashes($fields["label"]);
$company = $fields["org_name"];
$department = $fields["org_unit"];
$url = $fields["url"];
@ -328,6 +329,7 @@
}
$notes = '<TEXTAREA cols="60" name="notes" rows="4">' . $notes . '</TEXTAREA>';
$label = '<TEXTAREA cols="60" name="notes" rows="6">' . $label . '</TEXTAREA>';
$pubkey = '<TEXTAREA cols="60" name="notes" rows="6">' . $pubkey . '</TEXTAREA>';
} else {
$notes = "<form><TEXTAREA cols=\"60\" name=\"notes\" rows=\"4\">"
@ -443,6 +445,8 @@
$t->set_var("create",$create);
$t->set_var("lang_notes",lang("notes"));
$t->set_var("notes",$notes);
$t->set_var("lang_label",lang("label"));
$t->set_var("label",$label);
$t->set_var("lang_pubkey",lang("Public Key"));
$t->set_var("pubkey",$pubkey);

View File

@ -206,6 +206,14 @@
<font size="-1"><input name="vidphone" value="{vidphone}"></font>{pref_video}
</td>
</tr>
<tr>
<td></td>
<td><font size="-1">{lang_label}:</font></td>
<td colspan="3">
<font size="-1">
{label}
</font></td>
</tr>
<tr>
<td></td>
<td><font size="-1">{lang_pubkey}:</font></td>