From f4e0ba66e6fed396f8a0850a7231ced79e924cf2 Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Tue, 8 Jan 2008 20:29:51 +0000 Subject: [PATCH] Monotone-Parent: 1d7595555adaaa499a56601d8635282526350a2e Monotone-Revision: 417eb1a0caae0d680292391081de2e4b99beecda Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2008-01-08T20:29:51 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 6 + UI/MailerUI/UIxMailAccountActions.m | 4 +- .../English.lproj/Localizable.strings | 3 + UI/Scheduler/French.lproj/Localizable.strings | 3 + UI/Scheduler/German.lproj/Localizable.strings | 3 + .../SchedulerUI/UIxAppointmentEditor.wox | 10 ++ UI/WebServerResources/MailerUI.js | 10 -- .../UIxAppointmentEditor.css | 18 +++ UI/WebServerResources/UIxAppointmentEditor.js | 115 ++++++++++++++++++ UI/WebServerResources/UIxComponentEditor.js | 32 ----- UI/WebServerResources/generic.js | 37 +++++- 11 files changed, 191 insertions(+), 50 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8832f35d1..2a1643581 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-01-08 Francis Lachapelle + + * UI/MailerUI/UIxMailAccountActions.m ([UIxMailAccountActions + -composeAction]): the mailto form parameter can now be a + comma-separated list of email addresses. + 2007-12-21 Ludovic Marcotte * UI/Contacts/UIxContactView.m diff --git a/UI/MailerUI/UIxMailAccountActions.m b/UI/MailerUI/UIxMailAccountActions.m index ea243bca7..cb54d667b 100644 --- a/UI/MailerUI/UIxMailAccountActions.m +++ b/UI/MailerUI/UIxMailAccountActions.m @@ -1,6 +1,6 @@ /* UIxMailAccountActions.m - this file is part of SOGo * - * Copyright (C) 2007 Inverse groupe conseil + * Copyright (C) 2007, 2008 Inverse groupe conseil * * Author: Wolfgang Sourdeau * @@ -157,7 +157,7 @@ value = [[self request] formValueForKey: @"mailto"]; if ([value length] > 0) { - mailTo = [NSArray arrayWithObject: value]; + mailTo = [value componentsSeparatedByString: @","]; [newDraftMessage setHeaders: [NSDictionary dictionaryWithObject: mailTo forKey: @"to"]]; diff --git a/UI/Scheduler/English.lproj/Localizable.strings b/UI/Scheduler/English.lproj/Localizable.strings index c6e1c5b0b..b873fc644 100644 --- a/UI/Scheduler/English.lproj/Localizable.strings +++ b/UI/Scheduler/English.lproj/Localizable.strings @@ -87,6 +87,9 @@ "Reload Remote Calendars" = "Reload Remote Calendars"; "Properties" = "Properties"; +"Compose E-Mail to All Attendees" = "Compose E-Mail to All Attendees"; +"Compose E-Mail to Undecided Attendees" = "Compose E-Mail to Undecided Attendees"; + /* Folders */ "Personal calendar" = "Personal calendar"; diff --git a/UI/Scheduler/French.lproj/Localizable.strings b/UI/Scheduler/French.lproj/Localizable.strings index 725f03584..e53cd927e 100644 --- a/UI/Scheduler/French.lproj/Localizable.strings +++ b/UI/Scheduler/French.lproj/Localizable.strings @@ -88,6 +88,9 @@ "Reload Remote Calendars" = "Recharger les agendas distants"; "Properties" = "Propriétés"; +"Compose E-Mail to All Attendees" = "Rédiger un courriel pour tous les participants"; +"Compose E-Mail to Undecided Attendees" = "Rédiger un courriel pour les participants indécis"; + /* Folders */ "Personal calendar" = "Agenda personnel"; diff --git a/UI/Scheduler/German.lproj/Localizable.strings b/UI/Scheduler/German.lproj/Localizable.strings index 15ab31454..c0c7a1cc2 100644 --- a/UI/Scheduler/German.lproj/Localizable.strings +++ b/UI/Scheduler/German.lproj/Localizable.strings @@ -76,6 +76,9 @@ "Reload Remote Calendars" = "Externe Kalender neu laden"; "Properties" = "Einstellungen"; +"Compose E-Mail to All Attendees" = "E-Mail an alle Teilnehmer erstellen"; +"Compose E-Mail to Undecided Attendees" = "E-Mail an unentschlossene Teilnehmer erstellen"; + /* Folders */ "Personal calendar" = "Personal calendar"; diff --git a/UI/Templates/SchedulerUI/UIxAppointmentEditor.wox b/UI/Templates/SchedulerUI/UIxAppointmentEditor.wox index 909b253a4..4244e974e 100644 --- a/UI/Templates/SchedulerUI/UIxAppointmentEditor.wox +++ b/UI/Templates/SchedulerUI/UIxAppointmentEditor.wox @@ -11,6 +11,16 @@ var:component="event" var:saveURL="saveURL"> + +