Monotone-Parent: c465e35fc5f42324c08780dae83f7d225dca6e6a Monotone-Revision: 1d1c945ea058db7070c9b83c4c2bb60689c52f92 Monotone-Author: crobert@inverse.ca Monotone-Date: 2008-09-28T19:49:17 Monotone-Branch: ca.inverse.sogo
162 lines
6.6 KiB
XML
162 lines
6.6 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>
|
|
<var:if condition="userHasCalendarAccess">
|
|
<li target="calendarOptionsView"><var:string
|
|
label:value="Calendar Options"/></li>
|
|
</var:if>
|
|
<var:if condition="userHasMailAccess">
|
|
<li target="mailOptionsView"><var:string
|
|
label:value="Mail Options"/></li>
|
|
<li target="identitiesView"><var:string
|
|
label:value="Signature"/></li>
|
|
</var:if>
|
|
<var:if condition="shouldDisplayAdditionalPreferences">
|
|
<li target="additionalView"><var:string label:value="Additional Parameters"/></li>
|
|
</var:if>
|
|
<!-- <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"
|
|
const:id="timezone"
|
|
string="item" selection="userTimeZone" /></label><br/>
|
|
<br/>
|
|
<div id="dateTimeFormat">
|
|
<label><var:string label:value="Short Date Format :"/>
|
|
<var:popup list="shortDateFormatsList" item="item"
|
|
const:id="shortDateFormat"
|
|
string="itemShortDateFormatText" selection="userShortDateFormat"
|
|
/></label><br/>
|
|
<label><var:string label:value="Long Date Format :"/>
|
|
<var:popup list="longDateFormatsList" item="item"
|
|
const:id="longDateFormat"
|
|
string="itemLongDateFormatText" selection="userLongDateFormat"
|
|
/></label><br/>
|
|
<label><var:string label:value="Time Format :"/>
|
|
<var:popup list="timeFormatsList" item="item"
|
|
const:id="timeFormat"
|
|
string="itemTimeFormatText" selection="userTimeFormat"
|
|
/></label>
|
|
</div>
|
|
</div>
|
|
<var:if condition="userHasCalendarAccess">
|
|
<div id="calendarOptionsView" class="tab">
|
|
<label><var:string label:value="Week begins on :"/>
|
|
<var:popup list="daysList" item="item"
|
|
const:id="weekStartDay"
|
|
string="itemWeekStartDay" selection="userWeekStartDay"
|
|
/></label><br/>
|
|
<label><var:string label:value="Day start time :"/>
|
|
<var:popup list="hoursList" item="item"
|
|
const:id="dayStartTime"
|
|
string="item" selection="userDayStartTime"
|
|
/></label>
|
|
<label><var:string label:value="Day end time :"/>
|
|
<var:popup list="hoursList" item="item"
|
|
const:id="dayEndTime"
|
|
string="item" selection="userDayEndTime"
|
|
/></label><br/>
|
|
<label><var:string label:value="First week of year :"/>
|
|
<var:popup list="firstWeekList" item="item"
|
|
const:id="firstWeek"
|
|
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>
|
|
</var:if>
|
|
<var:if condition="userHasMailAccess">
|
|
<div id="mailOptionsView" class="tab">
|
|
<label><var:string label:value="Check for new mail:"/>
|
|
<var:popup list="messageCheckList" item="item"
|
|
const:id="messageCheck"
|
|
string="itemMessageCheckText" selection="userMessageCheck"/></label><br/>
|
|
<label><var:string label:value="Forward messages:"/>
|
|
<var:popup list="messageForwardingList" item="item"
|
|
const:id="messageForwarding"
|
|
string="itemMessageForwardingText"
|
|
selection="userMessageForwarding"/></label><br/>
|
|
<var:popup list="replyPlacementList" item="item"
|
|
const:id="replyPlacementList"
|
|
string="itemReplyPlacementText"
|
|
selection="userReplyPlacement"/>
|
|
<br /><label><var:string label:value="And place my signature"/></label>
|
|
<var:popup list="signaturePlacementList" item="item"
|
|
const:id="signaturePlacementList"
|
|
string="itemSignaturePlacementText"
|
|
selection="userSignaturePlacement"/>
|
|
<!-- <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 const:id="identitiesList" item="item"
|
|
list="identitiesList" displayString="itemIdentityText">
|
|
</var:multiselection>
|
|
<br/>-->
|
|
<textarea const:id="signature" const:name="signature"
|
|
var:value="signature" />
|
|
</div>
|
|
</var:if>
|
|
<var:if condition="shouldDisplayAdditionalPreferences"
|
|
><div id="additionalView" class="tab">
|
|
<var:component className="UIxAdditionalPreferences"/>
|
|
</div></var:if>
|
|
<!-- <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> -->
|
|
<input type="hidden" id="hasChanged" name="hasChanged"
|
|
var:value="hasChanged"/>
|
|
</div>
|
|
</form>
|
|
</var:component>
|