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