Monotone-Parent: 6ff7f1f265054d35bee90648f1c1b1ae73749a9e

Monotone-Revision: d8bc80bdd59d6e91fe82607634aa33721dc30547

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-02-02T20:48:56
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2007-02-02 20:48:56 +00:00
parent e43ac3de78
commit 4fb337b916
5 changed files with 24 additions and 5 deletions

View File

@ -1,5 +1,8 @@
2007-02-02 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/Contacts/UIxContactEditor.m: display and handle the new
Freebusy URL entry.
* SoObjects/Contacts/SOGoContactLDAPFolder.m
([SOGoContactLDAPFolder -_searchAttributes]): retrieve "calFBURL"
from the server.

View File

@ -76,6 +76,7 @@
"Note: " = "Note: ";
"Timezone: " = "Timezone: ";
"Birthday: " = "Birthday: ";
"Freebusy URL: " = "Freebusy URL: ";
"Add as..." = "Add as...";
"Recipient" = "Recipient";

View File

@ -76,6 +76,7 @@
"Note: " = "Commentaires : ";
"Timezone: " = "Fuseau horaire : ";
"Birthday: " = "D. de naissance : ";
"Freebusy URL: " = "Adresse du FreeBusy : ";
"Add as..." = "Ajouter...";
"Recipient" = "Destinataire";

View File

@ -36,7 +36,7 @@
{
if ((self = [super init]))
{
snapshot = [[NSMutableDictionary alloc] initWithCapacity:16];
snapshot = [[NSMutableDictionary alloc] initWithCapacity: 16];
preferredEmail = nil;
}
@ -330,6 +330,8 @@
to: [self _simpleValueForType: @"work" inArray: elements]];
[self _setSnapshotValue: @"homeURL"
to: [self _simpleValueForType: @"home" inArray: elements]];
[self _setSnapshotValue: @"calFBURL"
to: [[card uniqueChildWithTag: @"FBURL"] value: 0]];
[self _setSnapshotValue: @"title" to: [card title]];
[self _setupOrgFields];
@ -338,10 +340,10 @@
[self _setSnapshotValue: @"tz" to: [card tz]];
[self _setSnapshotValue: @"note" to: [card note]];
[self _retrieveQueryParameter: @"contactEmail"
intoSnapshotValue: @"workMail"];
[self _retrieveQueryParameter: @"contactFN"
intoSnapshotValue: @"fn"];
[self _retrieveQueryParameter: @"contactEmail"
intoSnapshotValue: @"workMail"];
[self _retrieveQueryParameter: @"contactFN"
intoSnapshotValue: @"fn"];
}
- (id <WOActionResults>) defaultAction
@ -455,6 +457,10 @@
[element setValue: 5 to: [snapshot objectForKey: @"workPostalCode"]];
[element setValue: 6 to: [snapshot objectForKey: @"workCountry"]];
element = [CardElement simpleElementWithTag: @"fburl"
value: [snapshot objectForKey: @"calFBURL"]];
[card setUniqueChild: element];
[self _savePhoneValues];
[self _saveEmails];
}

View File

@ -329,6 +329,14 @@
</label>
</td>
</tr>
<tr>
<td colspan="2">
<label><var:string label:value="Freebusy URL: " const:escapeHTML="NO" />
<input type="text" class="textField" name="calFBURL" id="calFBURL"
var:value="snapshot.calFBURL" />
</label>
</td>
</tr>
<tr>
<td colspan="2">
<label><var:string label:value="Note: " const:escapeHTML="NO" />