]> err.no Git - scalable-opengroupware.org/blob - UI/Templates/SchedulerUI/UIxComponentEditor.wox
84b1d03246db495466f206227e66b33af2a057f2
[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="calendarDisplayName"
51             var: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
61               value="organizerName"/></span></label>
62       </var:if>
63       <var:if condition="canBeOrganizer"
64         ><label id="organizerListLabel"><var:string label:value="Organizer:"
65             /><span class="content"><var:popup list="organizerList"
66               item="item" string="itemOrganizerText"
67               var:selection="organizerIdentity"/>
68           </span></label></var:if>
69       <label id="attendeesLabel"><var:string label:value="Attendees:"
70           /><span class="content"
71           ><a href="#" id="attendeesHref"><!-- space --></a></span></label>
72       <hr />
73       <var:component-content />
74       <hr />
75       <label id="commentArea"><var:string label:value="Description:"
76           /><textarea rows="20" name="comment" var:value="comment" /></label>
77       <label id="documentLabel" style="display: none;"><var:string label:value="Document:"
78           /><span class="content"
79           ><a href="#" id="documentHref"><!-- space --></a
80             ><a id="changeUrlButton" class="button" var:href="#"
81             ><var:string label:value="Change..."/></a
82             ></span></label>
83
84       <!-- hidden -->
85       <input type="hidden" name="url" id="url" var:value="url"/>
86       <input type="hidden" name="privacy" id="privacy"
87         var:value="privacy"/>
88       <input type="hidden" name="attendeesNames" id="attendeesNames"
89         var:value="attendeesNames"/>
90       <input type="hidden" name="attendeesUIDs" id="attendeesUIDs"
91         var:value="attendeesUIDs"/>
92       <input type="hidden" name="attendeesEmails" id="attendeesEmails"
93         var:value="attendeesEmails"/>
94       <input type="hidden" name="calendarFoldersList"
95         id="calendarFoldersList"
96         var:value="calendarsFoldersList"/>
97     </div>
98   </form>
99 </var:component>