]> err.no Git - scalable-opengroupware.org/blob - UI/Templates/SchedulerUI/UIxComponentEditor.wox
git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1174 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   <script type="text/javascript" rsrc:src="skycalendar.js"><!-- space --></script>
15   <script type="text/javascript" rsrc:src="UIxComponentEditor.js"><!-- space --></script>
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">
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       <label id="attendeesLabel" style="display: none;"><var:string label:value="Attendees:"
54           /><span class="content"
55           ><a href="#" id="attendeesHref"><!-- space --></a></span></label>
56       <hr />
57       <var:component-content />
58       <hr />
59       <label id="commentArea"><var:string label:value="Description:"
60           /><textarea rows="20" name="comment" var:value="comment" /></label>
61       <label id="documentLabel" style="display: none;"><var:string label:value="Document:"
62           /><span class="content"
63           ><a href="#" id="documentHref"><!-- space --></a
64             ><a id="changeUrlButton" class="button" var:href="#"
65             ><var:string label:value="Change..."/></a
66             ></span></label>
67
68       <!-- hidden -->
69       <input type="hidden" name="url" id="url" var:value="url"/>
70       <input type="hidden" name="privacy" id="privacy"
71         var:value="privacy"/>
72       <input type="hidden" name="attendeesNames" id="attendeesNames"
73         var:value="attendeesNames"/>
74       <input type="hidden" name="attendeesEmails" id="attendeesEmails"
75         var:value="attendeesEmails"/>
76       <input type="hidden" name="calendarFoldersList"
77         id="calendarFoldersList"
78         var:value="calendarsFoldersList"/>
79     </div>
80   </form>
81 </var:component>