1 <?xml version='1.0' standalone='yes'?>
3 xmlns="http://www.w3.org/1999/xhtml"
4 xmlns:var="http://www.skyrix.com/od/binding"
5 xmlns:const="http://www.skyrix.com/od/constant"
7 xmlns:label="OGo:label"
8 className="UIxPageFrame"
11 <var:js-stringtable const:framework="SchedulerUI.SOGo"
12 const:identifier="labels" />
14 <form var:href="clientObject.baseURL" name="editform"
15 onsubmit="return validateAptEditor()">
17 <script language="JavaScript"> <!-- TODO: use a resource -->
18 <var:string value="jsCode" const:escapeHTML="NO" />
21 <table cellspacing="0" cellpadding="5" width="100%">
24 <table cellpadding="0" cellspacing="0" width="100%">
27 <td class="window_label">
28 <var:string label:value="Appointment editor" /></td>
29 <td width="36" align="right" valign="center">
30 <var:component className="UIxWinClose" />
38 <var:if condition="hasErrorText">
39 <div style="background-color: #AA0000;">
40 <var:string value="errorText" />
45 <table border="0" cellpadding="2" cellspacing="0" width="100%"
49 <td align="left" colspan="2">
50 <span class="aptview_title">
51 <var:string label:value="Appointment on" />
52 <var:string formatter="titleDateFormatter"
53 value="aptStartDate" /></span>
57 <td align="right" width="15%">
58 <span class="aptview_text">
59 <var:string label:value="Start time" />:
62 <td align="left" bgcolor="#FFFFF0">
63 <span class="aptview_text">
64 <var:component className="UIxDatePickerScript" />
65 <var:component className="UIxTimeDateControl"
66 const:controlID="startTime"
73 <td align="right" width="15%">
74 <span class="aptview_text">
75 <var:string label:value="End time" />:
78 <td align="left" bgcolor="#FFFFF0">
79 <span class="aptview_text">
80 <var:component className="UIxTimeDateControl"
81 const:controlID="endTime"
88 <td align="right" width="15%">
89 <span class="aptview_text">
90 <var:string label:value="Title" />:
93 <td align="left" bgcolor="#FFFFF0">
94 <span class="aptview_text">
95 <input type="text" name="summary" id="summary"
96 const:size="40" var:value="title" />
101 <td align="right" width="15%">
102 <span class="aptview_text">
103 <var:string label:value="Location" />:
106 <td align="left" bgcolor="#FFFFF0">
107 <span class="aptview_text">
108 <input type="text" name="location" const:size="40"
109 var:value="location" />
114 <td align="right" width="15%">
115 <span class="aptview_text">
116 <var:string label:value="Priority" />:
119 <td align="left" bgcolor="#FFFFF0">
120 <span class="aptview_text">
121 <var:popup list="priorities" item="item"
122 string="itemPriorityText" selection="priority"/>
127 <td align="right" width="15%">
128 <span class="aptview_text">
129 <var:string label:value="Cycle" />:
132 <td align="left" bgcolor="#FFFFF0">
133 <span class="aptview_text">
137 <var:popup list="cycles" item="item"
138 label:string="$cycleLabel"
140 const:onChange="selectHasCycle(this);"
143 <td id="cycle_end_label"
144 var:style="initialCycleVisibility"
145 ><var:string label:value="Cycle End"
146 const:style="aptview_text"
148 <td id="cycle_end_mode"
149 var:style="initialCycleVisibility"
151 <var:popup list="cycleEnds" item="item"
152 label:string="$item" value="item"
154 const:onChange="selectCycleEnd(this);"
155 const:id="cycle_end_mode_selection"
158 <td id="cycle_end_until"
159 var:style="initialCycleEndUntilVisibility"
161 <var:component className="UIxTimeDateControl"
162 date="cycleUntilDate"
164 const:controlID="cycleUntilDate"
165 const:displayTimeControl="NO"
174 <td align="right" width="15%">
175 <span class="aptview_text">
176 <var:string label:value="Categories" />:
179 <td align="left" bgcolor="#FFFFF0">
180 <span class="aptview_text">
181 <var:checkbox-list list="categoryItems" item="item"
182 suffix="itemCategoryText"
183 selections="categories"
189 <td align="right" width="15%">
190 <span class="aptview_text">
191 <var:string label:value="Classification" />:
194 <td align="left" bgcolor="#FFFFF0">
195 <span class="aptview_text">
196 <input type="checkbox" var:selection="isPrivate"
197 var:checked="isPrivate" />
198 <var:string label:value="is private" />
207 <table border="0" cellpadding="2" cellspacing="0"
208 width="100%" bgcolor="#e8e8e0"
211 <td align="left" colspan="2">
212 <span class="aptview_title">
213 <var:string label:value="Search participants" />
218 <td align="right" width="15%">
219 <span class="aptview_text">
220 <var:string label:value="Participants" />:</span>
222 <td align="left" bgcolor="#FFFFF0">
223 <span class="aptview_text">
224 <!-- use '1' instead of 'YES', otherwise breaks on OSX -->
226 <var:component className="AnaisAttendeeSelector"
227 const:selectorID="participant"
228 const:role="REQ-PARTICIPANT"
229 attendees="participants"
230 var:emailForUser="emailForUser"
231 var:cnForUser="cnForUser"
233 const:withAddressBook="1"
236 TODO: need attendee selector (AB)
245 <table border="0" cellpadding="2" cellspacing="0" width="100%"
249 <td align="left" colspan="2">
250 <span class="aptview_title">
251 <var:string label:value="Search resources" />
256 <td align="right" width="15%">
257 <span class="aptview_text">
258 <var:string label:value="Resources" />:
261 <td align="left" bgcolor="#FFFFF0">
262 <span class="aptview_text">
264 <var:component className="AnaisAttendeeSelector"
265 const:selectorID="resource"
266 const:role="NON-PARTICIPANT"
267 attendees="resources"
269 const:withAddressBook="YES"
272 TODO: need attendee selector (AB)
281 <table border="0" cellpadding="2" cellspacing="0" width="100%"
285 <td align="left" colspan="2">
286 <span class="aptview_title">
287 <var:string label:value="Comment" />
292 <td align="right" width="15%">
293 <span class="aptview_text">
294 <var:string label:value="Comment" />:
297 <td align="left" bgcolor="#FFFFF0">
298 <span class="aptview_text">
299 <textarea name="comment" rows="8" cols="80" wrap="physical"
300 var:value="comment" />
309 <span class="aptview_text">
310 <input type="checkbox"
311 var:selection="checkForConflicts"
312 var:checked="checkForConflicts"
313 /> <var:string label:value="check for conflicts" />
319 <input type="submit" label:value="Save" name="save:method" />
320 <span class="button_auto_env"
321 ><a href="../weekoverview"
322 var:queryDictionary="queryParameters"
324 ><var:string label:value="Cancel" /></a></span>
325 <var:if condition="isUIxDebugEnabled">
326 <input type="submit" value="Test" name="test:method" />
331 <input type="hidden" name="ical" var:value="iCalString" />
334 <var:if condition="canEditApt" const:negate="YES">
335 Forbidden ... <var:redirect const:setURL="view" />