]> err.no Git - scalable-opengroupware.org/blob - UI/Templates/PreferencesUI/UIxPreferences.wox
git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1087 d1b88da0-ebda-0310...
[scalable-opengroupware.org] / UI / Templates / PreferencesUI / UIxPreferences.wox
1 <?xml version="1.0" standalone="yes"?>
2 <!DOCTYPE var:component>
3 <var:component xmlns="http://www.w3.org/1999/xhtml"
4   xmlns:var="http://www.skyrix.com/od/binding"
5   xmlns:const="http://www.skyrix.com/od/constant"
6   xmlns:uix="OGo:uix"
7   xmlns:rsrc="OGo:url"
8   xmlns:label="OGo:label"
9   className="UIxPageFrame"
10   title="title"
11   const:popup="YES"
12   >
13   <form id="mainForm" var:href="ownPath">
14     <div class="tabsContainer" id="preferencesTabs">
15       <ul>
16         <li target="outOfOfficeView"><var:string
17             label:value="Out of Office"/></li>
18         <li target="dateTimeView"><var:string
19             label:value="Date and Time"/></li>
20         <li target="calendarOptionsView"><var:string
21             label:value="Calendar Options"/></li>
22         <li target="passwordView"><var:string label:value="Password"/></li>
23       </ul>
24       <div id="outOfOfficeView" class="tab">
25         <label><input
26             const:name="inTheOffice" type="radio" const:value="YES"
27             var:selection="inTheOffice"/>
28           <var:string label:value="I'm currently in the office"/></label><br/>
29         <label><input
30             const:name="inTheOffice" type="radio" const:value="NO"
31             var:selection="inTheOffice"/>
32           <var:string label:value="I'm currently out of the office"/></label><br/>
33         <br/>
34         <div id="outOfOfficeMessage">
35           <label><var:string label:value="AutoReply only once to each sender with the following text :"/><br/>
36             <textarea const:name="autoReplyText" var:value="autoReplyText"/>
37           </label>
38         </div>
39       </div>
40       <div id="dateTimeView" class="tab">
41         <label><var:string label:value="Current Time Zone :"/>
42             <var:popup list="timeZonesList" item="item"
43               string="item" selection="userTimeZone" /></label><br/>
44         <br/>
45         <div id="dateTimeFormat">
46           <label><var:string label:value="Short Date Format :"/>
47             <var:popup list="shortDateFormatsList" item="item"
48               string="itemShortDateFormatText" selection="userShortDateFormat"
49               /></label><br/>
50           <label><var:string label:value="Long Date Format :"/>
51             <var:popup list="longDateFormatsList" item="item"
52               string="itemLongDateFormatText" selection="userLongDateFormat"
53               /></label><br/>
54           <label><var:string label:value="Time Format :"/>
55             <var:popup list="timeFormatsList" item="item"
56               string="itemTimeFormatText" selection="userTimeFormat"
57               /></label>
58         </div>
59       </div>
60       <div id="calendarOptionsView" class="tab">
61         <label><var:string label:value="Week begins on :"/>
62           <var:popup list="daysList" item="item"
63             string="itemWeekStartDay" selection="userWeekStartDay"
64             /></label><br/>
65         <label><var:string label:value="Day start time :"/>
66           <var:popup list="hoursList" item="item"
67             string="item" selection="userDayStartTime"
68             /></label>
69         <label><var:string label:value="Day end time :"/>
70           <var:popup list="hoursList" item="item"
71             string="item" selection="userDayEndTime"
72             /></label><br/>
73         <label><var:string label:value="First week of year :"/>
74           <var:popup list="firstWeekList" item="item"
75           string="itemFirstWeekText" selection="userFirstWeek"
76             /></label><br/>
77         <br/>
78         <label><input class="checkBox"
79             type="checkbox" var:selection="reminderEnabled"
80             var:checked="reminderEnabled"/><var:string
81             label:value="Enable reminders for Calendar items"/></label><br/>
82         <label><input class="checkBox"
83             type="checkbox" var:selection="remindWithASound"
84             var:checked="remindWithASound"/><var:string
85             label:value="Play a sound when a reminder comes due"/></label><br/>
86         <label><var:string label:value="Default reminder :"/>
87           <var:popup list="reminderTimesList" item="item"
88             string="itemReminderTimeText" selection="userReminderTime"/></label>
89       </div>
90       <div id="passwordView" class="tab">
91         <label><var:string label:value="New password:"
92             /><input type="text" class="textField"
93             const:enabled="disabled"
94             var:value="newPassword"/></label><br/>
95         <label><var:string label:value="Confirmation:"
96             /><input type="text" class="textField"
97             const:enabled="disabled"
98             var:value="newPasswordConfirmation"/></label><br/>
99         <input type="button" class="button"
100           id="changePasswordBtn" label:value="Change"/>
101       </div>
102     </div>
103   </form>
104 </var:component>