2007-03-18 16:37:36 +01:00
|
|
|
<?xml version='1.0' standalone='yes'?>
|
|
|
|
<!DOCTYPE var:component>
|
|
|
|
<var:component
|
|
|
|
xmlns="http://www.w3.org/1999/xhtml"
|
|
|
|
xmlns:var="http://www.skyrix.com/od/binding"
|
|
|
|
xmlns:const="http://www.skyrix.com/od/constant"
|
|
|
|
xmlns:uix="OGo:uix"
|
|
|
|
xmlns:rsrc="OGo:url"
|
|
|
|
xmlns:label="OGo:label"
|
|
|
|
className="UIxPageFrame"
|
|
|
|
const:popup="YES"
|
|
|
|
title="name"
|
2007-10-18 23:54:24 +02:00
|
|
|
var:toolbar="toolbar"
|
2007-11-18 11:16:25 +01:00
|
|
|
const:cssFiles="UIxComponentEditor.css"
|
2009-09-10 20:31:20 +02:00
|
|
|
const:jsFiles="skycalendar.js,UIxComponentEditor.js,SOGoAutoCompletion.js">
|
2007-03-18 16:37:36 +01:00
|
|
|
|
2007-09-15 00:50:17 +02:00
|
|
|
<script type="text/javascript">
|
|
|
|
var activeCalendar = '<var:string value="clientObject.container.nameInContainer"/>';
|
|
|
|
var activeComponent = '<var:string value="clientObject.nameInContainer"/>';
|
2009-08-07 18:01:14 +02:00
|
|
|
var readOnly = <var:if condition="eventIsReadOnly">true</var:if><var:if condition="eventIsReadOnly"
|
|
|
|
const:negate="YES">false</var:if>;
|
2009-09-10 20:31:20 +02:00
|
|
|
var attendees = <var:string value="jsonAttendees" const:escapeHTML="NO" />;
|
2007-09-15 00:50:17 +02:00
|
|
|
</script>
|
|
|
|
|
2009-07-23 22:11:06 +02:00
|
|
|
<var:if condition="eventIsReadOnly" const:negate="YES">
|
2007-03-18 16:37:36 +01:00
|
|
|
<div class="menu" id="privacy-menu">
|
2007-10-22 23:55:32 +02:00
|
|
|
<ul id="itemPrivacyList" class="choiceMenu">
|
2007-04-27 21:41:04 +02:00
|
|
|
<var:foreach list="privacyClasses" item="item">
|
|
|
|
<li var:classification="item"><var:string
|
|
|
|
var:value="itemPrivacyText" /></li>
|
|
|
|
</var:foreach>
|
2007-03-18 16:37:36 +01:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<form var:href="saveURL" name="editform" onsubmit="return validateAptEditor();">
|
|
|
|
<div id="eventView">
|
|
|
|
<label><var:string label:value="Title:" /><span class="content"
|
|
|
|
><input type="text" name="summary" id="summary"
|
|
|
|
class="textField"
|
|
|
|
var:value="title"
|
|
|
|
/></span></label>
|
|
|
|
<label><var:string label:value="Location:" /><span class="content"
|
|
|
|
><input type="text" name="location" id="location"
|
|
|
|
class="textField"
|
|
|
|
var:value="location"
|
|
|
|
/></span></label>
|
|
|
|
<span class="checkBoxList"><var:string label:value="Category:" />
|
2009-07-29 20:46:44 +02:00
|
|
|
<span class="content"><var:popup list="categoryList" item="item"
|
2009-07-16 15:52:53 +02:00
|
|
|
label:noSelectionString="category_none"
|
2009-07-15 21:28:20 +02:00
|
|
|
string="item" selection="category"
|
2008-11-07 21:03:12 +01:00
|
|
|
/> <var:string label:value="Calendar:" />
|
2007-04-02 21:27:46 +02:00
|
|
|
<var:popup const:id="calendarList"
|
2008-07-17 23:12:43 +02:00
|
|
|
var:disabled="isChildOccurence"
|
2007-04-02 21:27:46 +02:00
|
|
|
list="calendarList" item="item"
|
2007-11-20 20:15:26 +01:00
|
|
|
string="calendarDisplayName"
|
2007-11-21 17:05:07 +01:00
|
|
|
var:selection="componentCalendar"
|
2007-04-02 21:27:46 +02:00
|
|
|
/></span></span>
|
2007-10-10 20:44:26 +02:00
|
|
|
<span class="checkBoxList"><var:string label:value="Priority:" />
|
|
|
|
<span class="content"><var:popup list="priorities" item="item"
|
|
|
|
label:noSelectionString="prio_0"
|
|
|
|
string="itemPriorityText" selection="priority"/>
|
|
|
|
</span></span>
|
2007-11-18 11:16:25 +01:00
|
|
|
<var:if condition="hasOrganizer"
|
|
|
|
><label id="organizerLabel"><var:string label:value="Organizer:"
|
2007-11-19 22:07:54 +01:00
|
|
|
/><span class="content"><var:string
|
|
|
|
value="organizerName"/></span></label>
|
2007-11-18 11:16:25 +01:00
|
|
|
</var:if>
|
2008-11-05 22:04:16 +01:00
|
|
|
<!--<var:if condition="canBeOrganizer"
|
2007-11-19 22:07:54 +01:00
|
|
|
><label id="organizerListLabel"><var:string label:value="Organizer:"
|
|
|
|
/><span class="content"><var:popup list="organizerList"
|
|
|
|
item="item" string="itemOrganizerText"
|
|
|
|
var:selection="organizerIdentity"/>
|
2008-11-05 22:04:16 +01:00
|
|
|
</span></label></var:if>-->
|
2007-03-18 16:37:36 +01:00
|
|
|
<var:component-content />
|
|
|
|
<hr />
|
2008-01-14 14:57:28 +01:00
|
|
|
<label><var:string label:value="Repeat:" />
|
|
|
|
<span class="content"><var:popup list="repeatList" item="item"
|
|
|
|
label:noSelectionString="repeat_NEVER"
|
2009-04-21 16:34:22 +02:00
|
|
|
var:disabled="isChildOccurence"
|
2008-01-14 14:57:28 +01:00
|
|
|
const:disabledValue="-"
|
2008-01-15 22:45:48 +01:00
|
|
|
const:name="repeatList"
|
2008-01-14 14:57:28 +01:00
|
|
|
const:id="repeatList"
|
2008-01-15 22:45:48 +01:00
|
|
|
string="itemRepeatText" var:selection="repeat"
|
|
|
|
/> <a href="#" id="repeatHref" style="display: none;"
|
|
|
|
><var:string label:value="Edit"/></a></span></label>
|
2008-01-14 14:57:28 +01:00
|
|
|
<hr />
|
|
|
|
<label><var:string label:value="Reminder:" />
|
|
|
|
<span class="content"><var:popup list="reminderList" item="item"
|
|
|
|
const:disabledValue="-"
|
|
|
|
label:noSelectionString="reminder_NONE"
|
2009-04-21 16:34:22 +02:00
|
|
|
const:name="reminderList"
|
|
|
|
const:id="reminderList"
|
|
|
|
string="itemReminderText" var:selection="reminder"
|
|
|
|
/> <a href="#" id="reminderHref" style="display: none;"
|
|
|
|
><var:string label:value="Edit"/></a></span></label>
|
2008-01-14 14:57:28 +01:00
|
|
|
<hr />
|
2007-03-18 16:37:36 +01:00
|
|
|
<label id="commentArea"><var:string label:value="Description:"
|
2007-07-13 22:34:40 +02:00
|
|
|
/><textarea rows="20" name="comment" var:value="comment" /></label>
|
2007-03-18 16:37:36 +01:00
|
|
|
<label id="documentLabel" style="display: none;"><var:string label:value="Document:"
|
|
|
|
/><span class="content"
|
|
|
|
><a href="#" id="documentHref"><!-- space --></a
|
2009-07-07 23:17:43 +02:00
|
|
|
><a id="changeAttachButton" class="button" var:href="#"
|
2007-03-18 16:37:36 +01:00
|
|
|
><var:string label:value="Change..."/></a
|
|
|
|
></span></label>
|
|
|
|
|
|
|
|
<!-- hidden -->
|
2009-07-07 23:17:43 +02:00
|
|
|
<input type="hidden" name="attach" id="attach" var:value="attach"/>
|
2007-03-18 16:37:36 +01:00
|
|
|
<input type="hidden" name="privacy" id="privacy"
|
|
|
|
var:value="privacy"/>
|
2009-09-10 20:31:20 +02:00
|
|
|
<input type="hidden" name="attendees" id="attendees" />
|
2007-04-02 21:27:46 +02:00
|
|
|
<input type="hidden" name="calendarFoldersList"
|
|
|
|
id="calendarFoldersList"
|
|
|
|
var:value="calendarsFoldersList"/>
|
2008-01-14 14:57:28 +01:00
|
|
|
|
|
|
|
<input type="hidden" name="repeatType"
|
|
|
|
id="repeatType"
|
|
|
|
var:value="repeatType"/>
|
|
|
|
<input type="hidden" name="repeat1"
|
|
|
|
id="repeat1"
|
|
|
|
var:value="repeat1"/>
|
|
|
|
<input type="hidden" name="repeat2"
|
|
|
|
id="repeat2"
|
|
|
|
var:value="repeat2"/>
|
|
|
|
<input type="hidden" name="repeat3"
|
|
|
|
id="repeat3"
|
|
|
|
var:value="repeat3"/>
|
|
|
|
<input type="hidden" name="repeat4"
|
|
|
|
id="repeat4"
|
|
|
|
var:value="repeat4"/>
|
|
|
|
<input type="hidden" name="repeat5"
|
|
|
|
id="repeat5"
|
|
|
|
var:value="repeat5"/>
|
|
|
|
<input type="hidden" name="repeat6"
|
|
|
|
id="repeat6"
|
|
|
|
var:value="repeat6"/>
|
|
|
|
<input type="hidden" name="repeat7"
|
|
|
|
id="repeat7"
|
|
|
|
var:value="repeat7"/>
|
|
|
|
|
|
|
|
<input type="hidden" name="range1"
|
|
|
|
id="range1"
|
|
|
|
var:value="range1"/>
|
|
|
|
<input type="hidden" name="range2"
|
|
|
|
id="range2"
|
|
|
|
var:value="range2"/>
|
2009-04-21 16:34:22 +02:00
|
|
|
|
|
|
|
<input type="hidden" name="reminderQuantity"
|
|
|
|
id="reminderQuantity"
|
|
|
|
var:value="reminderQuantity"/>
|
|
|
|
<input type="hidden" name="reminderUnit"
|
|
|
|
id="reminderUnit"
|
|
|
|
var:value="reminderUnit"/>
|
|
|
|
<input type="hidden" name="reminderRelation"
|
|
|
|
id="reminderRelation"
|
|
|
|
var:value="reminderRelation"/>
|
|
|
|
<input type="hidden" name="reminderReference"
|
|
|
|
id="reminderReference"
|
|
|
|
var:value="reminderReference"/>
|
2007-03-18 16:37:36 +01:00
|
|
|
</div>
|
|
|
|
</form>
|
2009-07-23 22:11:06 +02:00
|
|
|
</var:if>
|
|
|
|
<var:if condition="eventIsReadOnly">
|
2009-09-10 20:31:20 +02:00
|
|
|
<div class="popupMenu" id="contactsMenu">
|
|
|
|
<ul></ul>
|
|
|
|
</div>
|
2009-08-07 18:01:14 +02:00
|
|
|
<label class="calendarName"><var:string var:value="componentCalendarName" />
|
|
|
|
</label>
|
2009-07-23 22:11:06 +02:00
|
|
|
<div id="eventView">
|
2009-07-27 14:48:27 +02:00
|
|
|
<div id="generalDiv">
|
|
|
|
<label class="title titleNoSpace"><var:string label:value="General:" />
|
2009-08-07 18:01:14 +02:00
|
|
|
<span class="content headerContent"><!-- line --></span>
|
2009-07-27 14:48:27 +02:00
|
|
|
</label>
|
|
|
|
<label><var:string label:value="Title:" />
|
|
|
|
<span class="content"><var:string var:value="title"/></span>
|
|
|
|
</label>
|
|
|
|
<var:if condition="hasLocation">
|
|
|
|
<label><var:string label:value="Location:" />
|
|
|
|
<span class="content"><var:string var:value="location" /></span>
|
|
|
|
</label>
|
|
|
|
</var:if>
|
|
|
|
<var:if condition="hasCategory">
|
|
|
|
<label><var:string label:value="Category:" />
|
|
|
|
<span class="content"><var:string var:value="category" /></span>
|
|
|
|
</label>
|
|
|
|
</var:if>
|
|
|
|
<var:if condition="hasPriority">
|
|
|
|
<label><var:string label:value="Priority:" />
|
|
|
|
<span class="content"><var:string var:value="priority"/></span>
|
|
|
|
</label>
|
|
|
|
</var:if>
|
2009-07-29 20:46:44 +02:00
|
|
|
<var:component-content />
|
2009-07-27 14:48:27 +02:00
|
|
|
<var:if condition="hasRepeat">
|
|
|
|
<label><var:string label:value="Repeat:" />
|
|
|
|
<span class="content"><var:string var:value="repeatLabel" /></span>
|
|
|
|
</label>
|
|
|
|
</var:if>
|
|
|
|
<label id="documentLabel" style="display: none;"><var:string label:value="Document:" />
|
|
|
|
<span class="content"><a href="#" id="documentHref"><!-- space --></a></span>
|
|
|
|
</label>
|
2009-07-30 03:07:17 +02:00
|
|
|
<var:if condition="hasAttendees">
|
|
|
|
<label id="organizerLabel"><var:string label:value="Organizer:"/>
|
2009-07-29 23:47:02 +02:00
|
|
|
<span class="content"><var:string value="organizerName"/></span>
|
2009-07-30 03:07:17 +02:00
|
|
|
</label>
|
|
|
|
</var:if>
|
2009-07-27 14:48:27 +02:00
|
|
|
<var:if condition="userIsAttendee">
|
|
|
|
<label><var:string label:value="Reply:" />
|
|
|
|
<span class="content"><var:popup list="replyList" item="item"
|
|
|
|
const:disabledValue="-"
|
|
|
|
label:noSelectionString="partStat_NEEDS-ACTION"
|
|
|
|
const:name="replyList"
|
|
|
|
const:id="replyList"
|
|
|
|
string="itemReplyText"
|
|
|
|
var:selection="reply" /></span>
|
|
|
|
</label>
|
2009-09-10 20:31:20 +02:00
|
|
|
<var:if condition="ownerAsAttendee.delegatedTo" const:negate="YES">
|
|
|
|
<label id="delegateEditor" style="display: none;">
|
|
|
|
<span class="content">
|
|
|
|
<input name="delegatedTo" id="delegatedTo" type="text" var:value="ownerAsAttendee.delegatedTo" var:uid="delegatedTo" />
|
|
|
|
<br />
|
|
|
|
<input type="checkbox" name="delegateReceiveUpdates" /> <var:string label:value="Keep sending me updates" />
|
|
|
|
</span>
|
|
|
|
</label>
|
|
|
|
</var:if><var:if condition="ownerAsAttendee.delegatedTo">
|
|
|
|
<label id="delegateEditor">
|
|
|
|
<span class="content">
|
|
|
|
<input name="delegatedTo" id="delegatedTo" type="text" var:value="ownerAsAttendee.delegatedTo.rfc822Email" var:uid="ownerAsAttendee.delegatedTo.rfc822Email" />
|
|
|
|
<br />
|
|
|
|
<input type="checkbox" name="delegateReceiveUpdates" /> <var:string label:value="Keep sending me updates" />
|
|
|
|
</span>
|
|
|
|
</label>
|
|
|
|
</var:if>
|
2009-07-27 14:48:27 +02:00
|
|
|
<!--TODO: I'm not sure how to send this
|
|
|
|
<label><var:string label:value="Reminder:" />
|
2009-07-23 22:11:06 +02:00
|
|
|
<span class="content"><var:popup list="reminderList" item="item"
|
2009-07-27 14:48:27 +02:00
|
|
|
const:disabledValue="-"
|
|
|
|
label:noSelectionString="reminder_NONE"
|
2009-07-23 22:11:06 +02:00
|
|
|
const:name="reminderList"
|
2009-07-27 14:48:27 +02:00
|
|
|
const:id="reminderList"
|
|
|
|
string="itemReminderText"
|
|
|
|
var:selection="reminder"
|
|
|
|
const:onchange="?" /></span>
|
|
|
|
</label>-->
|
|
|
|
</var:if>
|
|
|
|
</div>
|
2009-08-07 00:03:58 +02:00
|
|
|
<var:if condition="hasAttendees">
|
2009-07-27 14:48:27 +02:00
|
|
|
<div id="attendeesDiv">
|
|
|
|
<label class="title"><var:string label:value="Attendees:" />
|
2009-08-07 18:01:14 +02:00
|
|
|
<span class="content headerContent"><!-- line --></span>
|
2009-07-27 14:48:27 +02:00
|
|
|
</label>
|
|
|
|
<label id="attendeesLabel">
|
|
|
|
<span class="content"><div id="attendeesMenu" class="fakeTextArea">
|
2009-09-10 20:31:20 +02:00
|
|
|
<var:foreach list="component.participants" item="attendee">
|
|
|
|
<var:if condition="attendee.delegatedTo" const:negate="YES"><div var:class="attendee.partStatWithDefault.lowercaseString"><a var:href="attendee.email" var:email="attendee.email.rfc822Email"><var:string value="attendeeForDisplay" /></a><var:if condition="attendee.delegatedFrom"> (<var:string label:value="delegated from" /> <var:string value="attendee.delegatedFrom.rfc822Email" />)</var:if></div></var:if>
|
|
|
|
</var:foreach>
|
2009-07-27 14:48:27 +02:00
|
|
|
</div></span>
|
|
|
|
</label>
|
|
|
|
</div>
|
2009-08-07 00:03:58 +02:00
|
|
|
</var:if>
|
2009-07-27 14:48:27 +02:00
|
|
|
<var:if condition="hasComment">
|
|
|
|
<div id="descriptionDiv">
|
|
|
|
<label class="title"><var:string label:value="Description:" />
|
2009-08-07 18:01:14 +02:00
|
|
|
<span class="content headerContent"><!-- line --></span>
|
2009-07-27 14:48:27 +02:00
|
|
|
</label>
|
2009-08-07 18:01:14 +02:00
|
|
|
<label><span class="content">
|
2009-07-27 14:48:27 +02:00
|
|
|
<div class="fakeTextArea"><var:string var:value="comment" /></div>
|
|
|
|
</span>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
</var:if>
|
2009-08-07 00:03:58 +02:00
|
|
|
|
|
|
|
<input type="hidden" name="attach" id="attach" var:value="attach"/>
|
2009-07-23 22:11:06 +02:00
|
|
|
<input type="hidden" name="privacy" id="privacy"
|
|
|
|
var:value="privacy"/>
|
|
|
|
<input type="hidden" name="attendeesNames" id="attendeesNames"
|
|
|
|
var:value="attendeesNames"/>
|
|
|
|
<input type="hidden" name="attendeesUIDs" id="attendeesUIDs"
|
|
|
|
var:value="attendeesUIDs"/>
|
|
|
|
<input type="hidden" name="attendeesEmails" id="attendeesEmails"
|
|
|
|
var:value="attendeesEmails"/>
|
|
|
|
<input type="hidden" name="attendeesStates" id="attendeesStates"
|
|
|
|
var:value="attendeesStates"/>
|
|
|
|
<input type="hidden" name="calendarFoldersList"
|
|
|
|
id="calendarFoldersList"
|
|
|
|
var:value="calendarsFoldersList"/>
|
|
|
|
|
|
|
|
<input type="hidden" name="repeatType"
|
|
|
|
id="repeatType"
|
|
|
|
var:value="repeatType"/>
|
|
|
|
<input type="hidden" name="repeat1"
|
|
|
|
id="repeat1"
|
|
|
|
var:value="repeat1"/>
|
|
|
|
<input type="hidden" name="repeat2"
|
|
|
|
id="repeat2"
|
|
|
|
var:value="repeat2"/>
|
|
|
|
<input type="hidden" name="repeat3"
|
|
|
|
id="repeat3"
|
|
|
|
var:value="repeat3"/>
|
|
|
|
<input type="hidden" name="repeat4"
|
|
|
|
id="repeat4"
|
|
|
|
var:value="repeat4"/>
|
|
|
|
<input type="hidden" name="repeat5"
|
|
|
|
id="repeat5"
|
|
|
|
var:value="repeat5"/>
|
|
|
|
<input type="hidden" name="repeat6"
|
|
|
|
id="repeat6"
|
|
|
|
var:value="repeat6"/>
|
|
|
|
<input type="hidden" name="repeat7"
|
|
|
|
id="repeat7"
|
|
|
|
var:value="repeat7"/>
|
|
|
|
|
|
|
|
<input type="hidden" name="range1"
|
|
|
|
id="range1"
|
|
|
|
var:value="range1"/>
|
|
|
|
<input type="hidden" name="range2"
|
|
|
|
id="range2"
|
|
|
|
var:value="range2"/>
|
|
|
|
|
|
|
|
<input type="hidden" name="reminderQuantity"
|
|
|
|
id="reminderQuantity"
|
|
|
|
var:value="reminderQuantity"/>
|
|
|
|
<input type="hidden" name="reminderUnit"
|
|
|
|
id="reminderUnit"
|
|
|
|
var:value="reminderUnit"/>
|
|
|
|
<input type="hidden" name="reminderRelation"
|
|
|
|
id="reminderRelation"
|
|
|
|
var:value="reminderRelation"/>
|
|
|
|
<input type="hidden" name="reminderReference"
|
|
|
|
id="reminderReference"
|
|
|
|
var:value="reminderReference"/>
|
2009-07-27 14:48:27 +02:00
|
|
|
|
|
|
|
<div id="windowButtons">
|
2009-07-27 21:30:05 +02:00
|
|
|
<a id="cancelButton" href="#" class="button"
|
|
|
|
><var:string label:value="Cancel"/></a>
|
2009-07-29 20:46:44 +02:00
|
|
|
<var:if condition="userIsAttendee"><a id="okButton" href="#" class="button"
|
|
|
|
><var:string label:value="OK"/></a></var:if>
|
2009-07-27 14:48:27 +02:00
|
|
|
</div>
|
2009-07-23 22:11:06 +02:00
|
|
|
</div>
|
|
|
|
</var:if>
|
2007-03-18 16:37:36 +01:00
|
|
|
</var:component>
|