sogo/UI/Templates/PreferencesUI/UIxPreferences.wox
Wolfgang Sourdeau 4984db8563 Monotone-Parent: 88c5085f8ba96b5bcd3673fdb4d97d3db679ba9b
Monotone-Revision: d38b82f4d070ced8ba970b79c220008c590b1e3d

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-11-07T17:40:16
Monotone-Branch: ca.inverse.sogo
2007-11-07 17:40:16 +00:00

122 lines
4.8 KiB
XML

<?xml version="1.0" standalone="yes"?>
<!DOCTYPE var:component>
<var:component xmlns="http://www.w3.org/1999/xhtml"
xmlns:var="http://www.skyrix.com/od/binding"
xmlns:const="http://www.skyrix.com/od/constant"
xmlns:uix="OGo:uix"
xmlns:rsrc="OGo:url"
xmlns:label="OGo:label"
className="UIxPageFrame"
title="title"
const:popup="YES"
>
<form id="mainForm" var:href="ownPath">
<div class="tabsContainer" id="preferencesTabs">
<ul>
<li target="generalView"><var:string
label:value="General"/></li>
<li target="calendarOptionsView"><var:string
label:value="Calendar Options"/></li>
<li target="mailOptionsView"><var:string
label:value="Mail Options"/></li>
<!-- <li target="identitiesView"><var:string
label:value="Identities"/></li> -->
<var:if condition="shouldDisplayPasswordChange">
<li target="passwordView"><var:string label:value="Password"/></li>
</var:if>
</ul>
<div id="generalView" class="tab">
<label><var:string label:value="Current Time Zone :"/>
<var:popup list="timeZonesList" item="item"
string="item" selection="userTimeZone" /></label><br/>
<br/>
<div id="dateTimeFormat">
<label><var:string label:value="Short Date Format :"/>
<var:popup list="shortDateFormatsList" item="item"
string="itemShortDateFormatText" selection="userShortDateFormat"
/></label><br/>
<label><var:string label:value="Long Date Format :"/>
<var:popup list="longDateFormatsList" item="item"
string="itemLongDateFormatText" selection="userLongDateFormat"
/></label><br/>
<label><var:string label:value="Time Format :"/>
<var:popup list="timeFormatsList" item="item"
string="itemTimeFormatText" selection="userTimeFormat"
/></label>
</div>
</div>
<div id="calendarOptionsView" class="tab">
<label><var:string label:value="Week begins on :"/>
<var:popup list="daysList" item="item"
string="itemWeekStartDay" selection="userWeekStartDay"
/></label><br/>
<label><var:string label:value="Day start time :"/>
<var:popup list="hoursList" item="item"
string="item" selection="userDayStartTime"
/></label>
<label><var:string label:value="Day end time :"/>
<var:popup list="hoursList" item="item"
string="item" selection="userDayEndTime"
/></label><br/>
<label><var:string label:value="First week of year :"/>
<var:popup list="firstWeekList" item="item"
string="itemFirstWeekText" selection="userFirstWeek"
/></label><br/>
<br/>
<label><input class="checkBox"
type="checkbox" var:selection="reminderEnabled"
var:checked="reminderEnabled"/><var:string
label:value="Enable reminders for Calendar items"/></label><br/>
<label><input class="checkBox"
type="checkbox" var:selection="remindWithASound"
var:checked="remindWithASound"/><var:string
label:value="Play a sound when a reminder comes due"/></label><br/>
<label><var:string label:value="Default reminder :"/>
<var:popup list="reminderTimesList" item="item"
string="itemReminderTimeText" selection="userReminderTime"/></label>
</div>
<div id="mailOptionsView" class="tab">
<label><var:string label:value="Check for new mail:"/>
<var:popup list="messageCheckList" item="item"
string="itemMessageCheckText" selection="userMessageCheck"/></label><br/>
<label><var:string label:value="Forward messages:"/>
<var:popup list="messageForwardingList" item="item"
string="itemMessageForwardingText" selection="userMessageForwarding"/></label><br/>
<!-- <label><input
const:name="inTheOffice" type="radio" const:value="YES"
var:selection="inTheOffice"/>
<var:string label:value="I'm currently in the office"/></label><br/>
<label><input
const:name="inTheOffice" type="radio" const:value="NO"
var:selection="inTheOffice"/>
<var:string label:value="I'm currently out of the office"/></label><br/>
<br/>
<div id="outOfOfficeMessage">
<label><var:string label:value="AutoReply only once to each sender with the following text :"/><br/>
<textarea const:name="autoReplyText" var:value="autoReplyText"/>
</label> -->
</div>
<div id="identitiesView" class="tab">
<var:multiselection id="identitiesList" item="item"
string="itemIdentityText" selection="defaultIdentity">
</var:multiselection>
<br/>
</div>
<var:if condition="shouldDisplayPasswordChange">
<div id="passwordView" class="tab">
<label><var:string label:value="New password:"
/><input type="text" class="textField"
const:enabled="disabled"
var:value="newPassword"/></label><br/>
<label><var:string label:value="Confirmation:"
/><input type="text" class="textField"
const:enabled="disabled"
var:value="newPasswordConfirmation"/></label><br/>
<input type="button" class="button"
id="changePasswordBtn" label:value="Change"/>
</div>
</var:if>
</div>
</form>
</var:component>