]> err.no Git - scalable-opengroupware.org/blob - UI/Templates/PreferencesUI/UIxPreferences.wox
git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1201 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="generalView"><var:string
17             label:value="General"/></li>
18         <li target="calendarOptionsView"><var:string
19             label:value="Calendar Options"/></li>
20         <li target="mailOptionsView"><var:string
21             label:value="Mail Options"/></li>
22         <var:if condition="shouldDisplayPasswordChange">
23           <li target="passwordView"><var:string label:value="Password"/></li>
24         </var:if>
25       </ul>
26       <div id="generalView" class="tab">
27         <label><var:string label:value="Current Time Zone :"/>
28           <var:popup list="timeZonesList" item="item"
29             string="item" selection="userTimeZone" /></label><br/>
30         <br/>
31         <div id="dateTimeFormat">
32           <label><var:string label:value="Short Date Format :"/>
33             <var:popup list="shortDateFormatsList" item="item"
34               string="itemShortDateFormatText" selection="userShortDateFormat"
35               /></label><br/>
36           <label><var:string label:value="Long Date Format :"/>
37             <var:popup list="longDateFormatsList" item="item"
38               string="itemLongDateFormatText" selection="userLongDateFormat"
39               /></label><br/>
40           <label><var:string label:value="Time Format :"/>
41             <var:popup list="timeFormatsList" item="item"
42               string="itemTimeFormatText" selection="userTimeFormat"
43               /></label>
44         </div>
45       </div>
46       <div id="calendarOptionsView" class="tab">
47         <label><var:string label:value="Week begins on :"/>
48           <var:popup list="daysList" item="item"
49             string="itemWeekStartDay" selection="userWeekStartDay"
50             /></label><br/>
51         <label><var:string label:value="Day start time :"/>
52           <var:popup list="hoursList" item="item"
53             string="item" selection="userDayStartTime"
54             /></label>
55         <label><var:string label:value="Day end time :"/>
56           <var:popup list="hoursList" item="item"
57             string="item" selection="userDayEndTime"
58             /></label><br/>
59         <label><var:string label:value="First week of year :"/>
60           <var:popup list="firstWeekList" item="item"
61             string="itemFirstWeekText" selection="userFirstWeek"
62             /></label><br/>
63         <br/>
64         <label><input class="checkBox"
65             type="checkbox" var:selection="reminderEnabled"
66             var:checked="reminderEnabled"/><var:string
67             label:value="Enable reminders for Calendar items"/></label><br/>
68         <label><input class="checkBox"
69             type="checkbox" var:selection="remindWithASound"
70             var:checked="remindWithASound"/><var:string
71             label:value="Play a sound when a reminder comes due"/></label><br/>
72         <label><var:string label:value="Default reminder :"/>
73           <var:popup list="reminderTimesList" item="item"
74             string="itemReminderTimeText" selection="userReminderTime"/></label>
75       </div>
76       <div id="mailOptionsView" class="tab">
77         <label><var:string label:value="Check for new mail:"/>
78           <var:popup list="messageCheckList" item="item"
79             string="itemMessageCheckText" selection="userMessageCheck"/></label><br/>
80         <label><var:string label:value="Forward messages:"/>
81           <var:popup list="messageForwardingList" item="item"
82             string="itemMessageForwardingText" selection="userMessageForwarding"/></label><br/>
83         <!--    <label><input
84         const:name="inTheOffice" type="radio" const:value="YES"
85         var:selection="inTheOffice"/>
86         <var:string label:value="I'm currently in the office"/></label><br/>
87         <label><input
88         const:name="inTheOffice" type="radio" const:value="NO"
89         var:selection="inTheOffice"/>
90         <var:string label:value="I'm currently out of the office"/></label><br/>
91         <br/>
92         <div id="outOfOfficeMessage">
93         <label><var:string label:value="AutoReply only once to each sender with the following text :"/><br/>
94         <textarea const:name="autoReplyText" var:value="autoReplyText"/>
95       </label> -->
96       </div>
97       <var:if condition="shouldDisplayPasswordChange">
98         <div id="passwordView" class="tab">
99           <label><var:string label:value="New password:"
100               /><input type="text" class="textField"
101               const:enabled="disabled"
102               var:value="newPassword"/></label><br/>
103           <label><var:string label:value="Confirmation:"
104               /><input type="text" class="textField"
105               const:enabled="disabled"
106               var:value="newPasswordConfirmation"/></label><br/>
107           <input type="button" class="button"
108             id="changePasswordBtn" label:value="Change"/>
109         </div>
110       </var:if>
111     </div>
112   </form>
113 </var:component>