Monotone-Revision: beff03702ba361b408bf967b4f807a2fec161392 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-10-19T14:40:24 Monotone-Branch: ca.inverse.sogo
152 lines
5.7 KiB
XML
152 lines
5.7 KiB
XML
<?xml version='1.0' standalone='yes'?>
|
|
<var:component className="UIxPageFrame"
|
|
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"
|
|
const:popup="YES"
|
|
title="name">
|
|
<script type="text/javascript" rsrc:src="skycalendar.js">
|
|
</script>
|
|
|
|
<form var:href="saveUrl" name="editform" onsubmit="return validateAptEditor();">
|
|
<var:if condition="hasErrorText">
|
|
<p style="background-color: #AA0000;">
|
|
<var:string value="errorText" />
|
|
</p>
|
|
<hr />
|
|
</var:if>
|
|
|
|
<div>
|
|
<label><var:string label:value="Title" />
|
|
<input type="text" name="summary" id="summary"
|
|
class="textField"
|
|
var:value="title"
|
|
/></label>
|
|
<label><var:string label:value="Location" />
|
|
<input type="text" name="location" id="location"
|
|
class="textField"
|
|
var:value="location"
|
|
/></label>
|
|
<label id="isPrivate"><input class="checkBox"
|
|
type="checkbox" var:selection="isPrivate"
|
|
var:checked="isPrivate"
|
|
/><var:string label:value="is private" /></label>
|
|
<span class="checkBoxList"><var:string label:value="Date" />
|
|
<span class="content"
|
|
><input var:checked="hasStartDate" type="checkbox" class="checkBox"
|
|
onchange="onTimeControlCheck(this);"
|
|
/><var:component className="UIxTimeDateControl"
|
|
var:disabled="startDateDisabled"
|
|
const:controlID="startTime"
|
|
date="taskStartDate"
|
|
const:dayStartHour="0"
|
|
const:dayEndHour="23"
|
|
/></span></span>
|
|
<a class="button" href="#" onclick="return toggleDetails();"
|
|
id="detailsButton"
|
|
><var:string label:value="Show Details" /></a>
|
|
<span class="checkBoxList"><var:string label:value="Due Time" />
|
|
<span class="content"
|
|
><input var:checked="hasDueDate" type="checkbox" class="checkBox"
|
|
onchange="onTimeControlCheck(this);"
|
|
/><var:component className="UIxTimeDateControl"
|
|
var:disabled="dueDateDisabled"
|
|
const:controlID="dueTime"
|
|
date="taskDueDate"
|
|
const:dayStartHour="0"
|
|
const:dayEndHour="23"
|
|
/></span></span>
|
|
</div>
|
|
|
|
<div id="details">
|
|
<label id="conflictsLabel"><input type="checkbox"
|
|
class="checkBox"
|
|
var:selection="checkForConflicts"
|
|
var:checked="checkForConflicts"
|
|
/><var:string label:value="check for conflicts"
|
|
/></label>
|
|
<label><var:string label:value="Cycle"
|
|
/>
|
|
<span class="content"
|
|
><var:popup list="cycles" item="item"
|
|
label:string="$cycleLabel"
|
|
selection="cycle"
|
|
const:onChange="toggleCycleVisibility(this, 'cycleSelectionFirstLevel', 0);"
|
|
/><span id="cycleSelectionFirstLevel"
|
|
><var:popup list="cycleEnds" item="item"
|
|
label:string="$item" value="item"
|
|
selection="cycleEnd"
|
|
const:onChange="toggleCycleVisibility(this, 'cycleSelectionSecondLevel', 'cycle_end_never');"
|
|
const:id="cycle_end_mode_selection"
|
|
/><span id="cycleSelectionSecondLevel"
|
|
><var:component className="UIxTimeDateControl"
|
|
date="cycleUntilDate"
|
|
label="foo"
|
|
const:controlID="cycleUntilDate"
|
|
const:displayTimeControl="NO"
|
|
/></span
|
|
></span
|
|
></span
|
|
></label>
|
|
|
|
<span class="checkBoxList" id="participantsCB"
|
|
><var:string label:value="Participants" />
|
|
<span class="content"><var:component className="UIxContactSelector"
|
|
const:selectorId="participants"
|
|
contacts="participants"
|
|
/></span></span>
|
|
|
|
<span class="checkBoxList"
|
|
><var:string label:value="Categories"
|
|
/><span class="content"><var:checkbox-list list="categoryItems"
|
|
item="item"
|
|
suffix="itemCategoryText"
|
|
selections="categories"
|
|
/></span></span>
|
|
|
|
<label><var:string label:value="Priority" />
|
|
<var:popup list="priorities" item="item"
|
|
string="itemPriorityText" selection="priority" /></label>
|
|
|
|
<label style="clear: both;"><var:string label:value="Calendar" />
|
|
<var:popup list="availableCalendars" item="item"
|
|
const:onChange="onChangeCalendar(this);"
|
|
string="item" selection="componentOwner" /></label>
|
|
|
|
<label><var:string label:value="Comment"
|
|
/><textarea name="comment" var:value="comment" /></label>
|
|
</div>
|
|
|
|
<input type="hidden" name="ical" var:value="iCalString" />
|
|
<noscript><input type="hidden" name="nojs" const:value="1" /></noscript>
|
|
|
|
<div id="buttons">
|
|
<input
|
|
type="submit"
|
|
class="button"
|
|
label:value="Save"
|
|
name="submittask" />
|
|
<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>
|
|
</div>
|
|
<!-- input type="hidden" id="jsaction" -->
|
|
</form>
|
|
<!--
|
|
<var:if condition="canEditComponent" const:negate="YES">
|
|
Forbidden ... <var:redirect const:setURL="view" />
|
|
</var:if>
|
|
-->
|
|
</var:component>
|