]> err.no Git - scalable-opengroupware.org/blob - UI/Templates/SchedulerUI/UIxComponentEditor.wox
git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1192 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:jsFiles="skycalendar.js,UIxComponentEditor.js">
15
16   <script type="text/javascript">
17     var activeCalendar = '<var:string value="clientObject.container.nameInContainer"/>';
18     var activeComponent = '<var:string value="clientObject.nameInContainer"/>';
19   </script>
20
21   <div class="menu" id="privacy-menu">
22     <ul id="itemPrivacyList" class="choiceMenu">
23       <var:foreach list="privacyClasses" item="item">
24         <li var:classification="item"><var:string
25             var:value="itemPrivacyText" /></li>
26       </var:foreach>
27     </ul>
28   </div>
29
30   <form var:href="saveURL" name="editform" onsubmit="return validateAptEditor();">
31     <div id="eventView">
32       <label><var:string label:value="Title:" /><span class="content"
33           ><input type="text" name="summary" id="summary"
34             class="textField"
35             var:value="title"
36             /></span></label>
37       <label><var:string label:value="Location:" /><span class="content"
38           ><input type="text" name="location" id="location"
39             class="textField"
40             var:value="location"
41             /></span></label>
42       <span class="checkBoxList"><var:string label:value="Category:" />
43         <span class="content"><var:popup list="categoryList" item="item"
44             label:noSelectionString="category_NONE"
45             string="itemCategoryText" selection="category"
46             /><var:string label:value="Calendar:" />
47           <var:popup const:id="calendarList"
48             list="calendarList" item="item"
49             string="item.displayName"
50             selection="componentCalendar"
51             /></span></span>
52       <span class="checkBoxList"><var:string label:value="Priority:" />
53          <span class="content"><var:popup list="priorities" item="item"
54             label:noSelectionString="prio_0"
55             string="itemPriorityText" selection="priority"/>
56       </span></span>
57       <label id="attendeesLabel" style="display: none;"><var:string label:value="Attendees:"
58           /><span class="content"
59           ><a href="#" id="attendeesHref"><!-- space --></a></span></label>
60       <hr />
61       <var:component-content />
62       <hr />
63       <label id="commentArea"><var:string label:value="Description:"
64           /><textarea rows="20" name="comment" var:value="comment" /></label>
65       <label id="documentLabel" style="display: none;"><var:string label:value="Document:"
66           /><span class="content"
67           ><a href="#" id="documentHref"><!-- space --></a
68             ><a id="changeUrlButton" class="button" var:href="#"
69             ><var:string label:value="Change..."/></a
70             ></span></label>
71
72       <!-- hidden -->
73       <input type="hidden" name="url" id="url" var:value="url"/>
74       <input type="hidden" name="privacy" id="privacy"
75         var:value="privacy"/>
76       <input type="hidden" name="attendeesNames" id="attendeesNames"
77         var:value="attendeesNames"/>
78       <input type="hidden" name="attendeesEmails" id="attendeesEmails"
79         var:value="attendeesEmails"/>
80       <input type="hidden" name="calendarFoldersList"
81         id="calendarFoldersList"
82         var:value="calendarsFoldersList"/>
83     </div>
84   </form>
85 </var:component>