]> err.no Git - scalable-opengroupware.org/blob - UI/Templates/SchedulerUI/UIxComponentEditor.wox
git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1265 d1b88da0-ebda-0310...
[scalable-opengroupware.org] / UI / Templates / SchedulerUI / UIxComponentEditor.wox
1 <?xml version='1.0' standalone='yes'?>
2 <!DOCTYPE var:component>
3 <var:component
4   xmlns="http://www.w3.org/1999/xhtml"
5   xmlns:var="http://www.skyrix.com/od/binding"
6   xmlns:const="http://www.skyrix.com/od/constant"
7   xmlns:uix="OGo:uix"
8   xmlns:rsrc="OGo:url"
9   xmlns:label="OGo:label"
10   className="UIxPageFrame"
11   const:popup="YES"
12   title="name"
13   var:toolbar="toolbar"
14   const:cssFiles="UIxComponentEditor.css"
15   const:jsFiles="skycalendar.js,UIxComponentEditor.js">
16
17   <script type="text/javascript">
18     var activeCalendar = '<var:string value="clientObject.container.nameInContainer"/>';
19     var activeComponent = '<var:string value="clientObject.nameInContainer"/>';
20   </script>
21
22   <div class="menu" id="privacy-menu">
23     <ul id="itemPrivacyList" class="choiceMenu">
24       <var:foreach list="privacyClasses" item="item">
25         <li var:classification="item"><var:string
26             var:value="itemPrivacyText" /></li>
27       </var:foreach>
28     </ul>
29   </div>
30
31   <form var:href="saveURL" name="editform" onsubmit="return validateAptEditor();">
32     <div id="eventView">
33       <label><var:string label:value="Title:" /><span class="content"
34           ><input type="text" name="summary" id="summary"
35             class="textField"
36             var:value="title"
37             /></span></label>
38       <label><var:string label:value="Location:" /><span class="content"
39           ><input type="text" name="location" id="location"
40             class="textField"
41             var:value="location"
42             /></span></label>
43       <span class="checkBoxList"><var:string label:value="Category:" />
44         <span class="content"><var:popup list="categoryList" item="item"
45             label:noSelectionString="category_NONE"
46             string="itemCategoryText" selection="category"
47             /><var:string label:value="Calendar:" />
48           <var:popup const:id="calendarList"
49             list="calendarList" item="item"
50             string="item.displayName"
51             selection="componentCalendar"
52             /></span></span>
53       <span class="checkBoxList"><var:string label:value="Priority:" />
54          <span class="content"><var:popup list="priorities" item="item"
55             label:noSelectionString="prio_0"
56             string="itemPriorityText" selection="priority"/>
57       </span></span>
58       <var:if condition="hasOrganizer"
59         ><label id="organizerLabel"><var:string label:value="Organizer:"
60             /><span class="content"><var:string value="organizerName"/></span></label>
61       </var:if>
62       <label id="attendeesLabel"><var:string label:value="Attendees:"
63           /><span class="content"
64           ><a href="#" id="attendeesHref"><!-- space --></a></span></label>
65       <hr />
66       <var:component-content />
67       <hr />
68       <label id="commentArea"><var:string label:value="Description:"
69           /><textarea rows="20" name="comment" var:value="comment" /></label>
70       <label id="documentLabel" style="display: none;"><var:string label:value="Document:"
71           /><span class="content"
72           ><a href="#" id="documentHref"><!-- space --></a
73             ><a id="changeUrlButton" class="button" var:href="#"
74             ><var:string label:value="Change..."/></a
75             ></span></label>
76
77       <!-- hidden -->
78       <input type="hidden" name="url" id="url" var:value="url"/>
79       <input type="hidden" name="privacy" id="privacy"
80         var:value="privacy"/>
81       <input type="hidden" name="attendeesNames" id="attendeesNames"
82         var:value="attendeesNames"/>
83       <input type="hidden" name="attendeesUIDs" id="attendeesUIDs"
84         var:value="attendeesUIDs"/>
85       <input type="hidden" name="attendeesEmails" id="attendeesEmails"
86         var:value="attendeesEmails"/>
87       <input type="hidden" name="calendarFoldersList"
88         id="calendarFoldersList"
89         var:value="calendarsFoldersList"/>
90     </div>
91   </form>
92 </var:component>