mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:18 +01:00
Allow editing of LABEL
This commit is contained in:
parent
196a33b9e9
commit
e7829e8ab8
@ -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();
|
||||
|
@ -138,6 +138,7 @@
|
||||
$fields["url"] = $url;
|
||||
$fields["pubkey"] = $pubkey;
|
||||
$fields["note"] = $notes;
|
||||
$fields["label"] = $label;
|
||||
|
||||
$userid = $phpgw_info["user"]["account_id"];
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user