Monotone-Revision: c6fdd672e2e8dd7987325a4048b66b7eb33967f8 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-08-15T20:54:37 Monotone-Branch: ca.inverse.sogo
346 lines
12 KiB
XML
346 lines
12 KiB
XML
<?xml version='1.0' standalone='yes'?>
|
|
<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:label="OGo:label"
|
|
className="UIxPageFrame"
|
|
const:popup="YES"
|
|
title="name"
|
|
>
|
|
<var:js-stringtable const:framework="SchedulerUI.SOGo"
|
|
const:identifier="labels" />
|
|
|
|
<form var:href="clientObject.baseURL" name="editform"
|
|
onsubmit="return validateAptEditor()">
|
|
|
|
<table cellspacing="0" cellpadding="5" width="100%">
|
|
<tr>
|
|
<td>
|
|
<table cellpadding="0" cellspacing="0" width="100%">
|
|
<tr>
|
|
<td width="5"/>
|
|
<td class="window_label">
|
|
<var:string label:value="Appointment editor" /></td>
|
|
<td width="36" align="right" valign="center">
|
|
<var:component className="UIxWinClose" />
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<var:if condition="hasErrorText">
|
|
<div style="background-color: #AA0000;">
|
|
<var:string value="errorText" />
|
|
</div>
|
|
<hr />
|
|
</var:if>
|
|
|
|
<table border="0" cellpadding="2" cellspacing="0" width="100%"
|
|
bgcolor="#e8e8e0"
|
|
>
|
|
<tr>
|
|
<td align="left" colspan="2">
|
|
<span class="aptview_title">
|
|
<var:string label:value="Appointment on" />
|
|
<var:string formatter="titleDateFormatter"
|
|
value="aptStartDate" /></span>
|
|
</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td align="right" width="15%">
|
|
<span class="aptview_text">
|
|
<var:string label:value="Start time" />:
|
|
</span>
|
|
</td>
|
|
<td align="left" bgcolor="#FFFFF0">
|
|
<span class="aptview_text">
|
|
<var:component className="UIxDatePickerScript" />
|
|
<var:component className="UIxTimeDateControl"
|
|
const:controlID="startTime"
|
|
date="aptStartDate"
|
|
/>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td align="right" width="15%">
|
|
<span class="aptview_text">
|
|
<var:string label:value="End time" />:
|
|
</span>
|
|
</td>
|
|
<td align="left" bgcolor="#FFFFF0">
|
|
<span class="aptview_text">
|
|
<var:component className="UIxTimeDateControl"
|
|
const:controlID="endTime"
|
|
date="aptEndDate"
|
|
/>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td align="right" width="15%">
|
|
<span class="aptview_text">
|
|
<var:string label:value="Title" />:
|
|
</span>
|
|
</td>
|
|
<td align="left" bgcolor="#FFFFF0">
|
|
<span class="aptview_text">
|
|
<input type="text" name="summary" id="summary"
|
|
const:size="40" var:value="title" />
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td align="right" width="15%">
|
|
<span class="aptview_text">
|
|
<var:string label:value="Location" />:
|
|
</span>
|
|
</td>
|
|
<td align="left" bgcolor="#FFFFF0">
|
|
<span class="aptview_text">
|
|
<input type="text" name="location" const:size="40"
|
|
var:value="location" />
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td align="right" width="15%">
|
|
<span class="aptview_text">
|
|
<var:string label:value="Priority" />:
|
|
</span>
|
|
</td>
|
|
<td align="left" bgcolor="#FFFFF0">
|
|
<span class="aptview_text">
|
|
<var:popup list="priorities" item="item"
|
|
string="itemPriorityText" selection="priority"/>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td align="right" width="15%">
|
|
<span class="aptview_text">
|
|
<var:string label:value="Cycle" />:
|
|
</span>
|
|
</td>
|
|
<td align="left" bgcolor="#FFFFF0">
|
|
<span class="aptview_text">
|
|
<table>
|
|
<tr>
|
|
<td>
|
|
<var:popup list="cycles" item="item"
|
|
label:string="$cycleLabel"
|
|
selection="cycle"
|
|
const:onChange="selectHasCycle(this);"
|
|
/>
|
|
</td>
|
|
<td id="cycle_end_label"
|
|
var:style="initialCycleVisibility"
|
|
><var:string label:value="Cycle End"
|
|
const:style="aptview_text"
|
|
/>:</td>
|
|
<td id="cycle_end_mode"
|
|
var:style="initialCycleVisibility"
|
|
>
|
|
<var:popup list="cycleEnds" item="item"
|
|
label:string="$item" value="item"
|
|
selection="cycleEnd"
|
|
const:onChange="selectCycleEnd(this);"
|
|
const:id="cycle_end_mode_selection"
|
|
/>
|
|
</td>
|
|
<td id="cycle_end_until"
|
|
var:style="initialCycleEndUntilVisibility"
|
|
>
|
|
<var:component className="UIxTimeDateControl"
|
|
date="cycleUntilDate"
|
|
label="foo"
|
|
const:controlID="cycleUntilDate"
|
|
const:displayTimeControl="NO"
|
|
/>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td align="right" width="15%">
|
|
<span class="aptview_text">
|
|
<var:string label:value="Categories" />:
|
|
</span>
|
|
</td>
|
|
<td align="left" bgcolor="#FFFFF0">
|
|
<span class="aptview_text">
|
|
<var:checkbox-list list="categoryItems"
|
|
item="item"
|
|
suffix="itemCategoryText"
|
|
selections="categories"
|
|
/>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td align="right" width="15%">
|
|
<span class="aptview_text">
|
|
<var:string label:value="Classification" />:
|
|
</span>
|
|
</td>
|
|
<td align="left" bgcolor="#FFFFF0">
|
|
<span class="aptview_text">
|
|
<input type="checkbox" var:selection="isPrivate"
|
|
var:checked="isPrivate" />
|
|
<var:string label:value="is private" />
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table border="0" cellpadding="2" cellspacing="0"
|
|
width="100%" bgcolor="#e8e8e0"
|
|
>
|
|
<tr>
|
|
<td align="left" colspan="2">
|
|
<span class="aptview_title">
|
|
<var:string label:value="Search participants" />
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td align="right" width="15%">
|
|
<span class="aptview_text">
|
|
<var:string label:value="Participants" />:</span>
|
|
</td>
|
|
<td align="left" bgcolor="#FFFFF0">
|
|
<span class="aptview_text">
|
|
<var:component className="UIxContactSelector"
|
|
const:selectorId="participants"
|
|
contacts="participants"
|
|
/>
|
|
<!-- <var:component className="AnaisSelector"
|
|
const:selectorID="participant"
|
|
const:role="REQ-PARTICIPANT"
|
|
attendees="participants"
|
|
var:emailForUser="emailForUser"
|
|
var:cnForUser="cnForUser"
|
|
const:withCN="1"
|
|
const:withAddressBook="1"
|
|
/> -->
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<!-- <tr>
|
|
<td>
|
|
<table border="0" cellpadding="2" cellspacing="0" width="100%"
|
|
bgcolor="#e8e8e0"
|
|
>
|
|
<tr>
|
|
<td align="left" colspan="2">
|
|
<span class="aptview_title">
|
|
<var:string label:value="Search resources" />
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td align="right" width="15%">
|
|
<span class="aptview_text">
|
|
<var:string label:value="Resources" />:
|
|
</span>
|
|
</td>
|
|
<td align="left" bgcolor="#FFFFF0">
|
|
<span class="aptview_text">
|
|
<var:component className="UIxContactSelector"
|
|
const:selectorId="rs" />
|
|
|
|
<var:component className="AnaisAttendeeSelector"
|
|
const:selectorID="resource"
|
|
const:role="NON-PARTICIPANT"
|
|
attendees="resources"
|
|
const:withCN="YES"
|
|
const:withAddressBook="YES"
|
|
/>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr> -->
|
|
<tr>
|
|
<td>
|
|
<table border="0" cellpadding="2" cellspacing="0" width="100%"
|
|
bgcolor="#e8e8e0"
|
|
>
|
|
<tr>
|
|
<td align="left" colspan="2">
|
|
<span class="aptview_title">
|
|
<var:string label:value="Comment" />
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td align="right" width="15%">
|
|
<span class="aptview_text">
|
|
<var:string label:value="Comment" />:
|
|
</span>
|
|
</td>
|
|
<td align="left" bgcolor="#FFFFF0">
|
|
<span class="aptview_text">
|
|
<textarea name="comment" rows="8" cols="80" wrap="physical"
|
|
var:value="comment" />
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td>
|
|
<span class="aptview_text">
|
|
<input type="checkbox"
|
|
var:selection="checkForConflicts"
|
|
var:checked="checkForConflicts"
|
|
/> <var:string label:value="check for conflicts" />
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<input
|
|
type="submit"
|
|
class="button"
|
|
label:value="Save"
|
|
name="save:method"
|
|
onclick="submitMeeting(this.form); return false;" />
|
|
<input
|
|
type="submit"
|
|
class="button"
|
|
label:value="Cancel"
|
|
name="cancel"
|
|
onclick="window.close(); return false;" />
|
|
<var:if condition="isUIxDebugEnabled">
|
|
<input type="submit"
|
|
class="button"
|
|
value="Test" name="test:method" />
|
|
</var:if>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<input type="hidden" name="ical" var:value="iCalString" />
|
|
<input type="hidden" id="jsaction" />
|
|
</form>
|
|
<!--
|
|
<var:if condition="canEditApt" const:negate="YES">
|
|
Forbidden ... <var:redirect const:setURL="view" />
|
|
</var:if>
|
|
-->
|
|
</var:component>
|