sogo/UI/Templates/MailerUI/UIxMailListView.wox
Wolfgang Sourdeau 1ed556f657 Monotone-Parent: bea2b39cd9e898f8f9790ce5d4b5c2704598c453
Monotone-Revision: 74a9bb8e8bd4ca4c7588520ab6ebba14df3c89df

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-08-01T20:03:50
Monotone-Branch: ca.inverse.sogo
2006-08-01 20:03:50 +00:00

178 lines
6.9 KiB
XML

<?xml version='1.0' standalone='yes'?>
<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="UIxMailListViewContainer"
title="name"
>
<var:component className="UIxMailFilterPanel" qualifier="qualifier" />
<table multiselect="yes" id="messageList"
onselectionchange="onMessageSelectionChange();">
<tbody>
<tr class="tableview"
><td class="tbtv_headercell"
><var:entity const:name="nbsp"
/></td
><td class="tbtv_headercell">
<img rsrc:src="title_attachment_14x14.png" width="14"
height="14"
/></td
><td class="tbtv_headercell tbtv_subject_headercell"
><var:component className="UIxMailSortableTableHeader"
label:label="Subject"
const:sortKey="subject"
const:href="view"
var:queryDictionary="context.request.formValues"
/></td
><td class="tbtv_headercell"
><var:if condition="showToAddress" const:negate="YES"
><var:component className="UIxMailSortableTableHeader"
label:label="From"
const:sortKey="from"
const:href="view"
var:queryDictionary="context.request.formValues"
/></var:if
><var:if condition="showToAddress"
><var:component className="UIxMailSortableTableHeader"
label:label="To"
const:sortKey="to"
const:href="view"
var:queryDictionary="context.request.formValues"
/></var:if
></td
><td class="tbtv_headercell"
><img rsrc:src="title_read_14x14.png" width="14" height="14"
/></td
><td class="tbtv_headercell"
><var:component className="UIxMailSortableTableHeader"
label:label="Date"
const:sortKey="date"
const:href="view"
var:queryDictionary="context.request.formValues"
const:isDefault="YES"
/></td
></tr>
<var:if condition="showsAllMessages" const:negate="YES"
><tr class="tableview"
><td colspan="6" class="tbtv_navcell" align="right"
><var:if condition="hasPrevious">
<a href="#"
onclick="openMailboxAtIndex(this);"
idx="1"><var:string label:value="first"/></a> |
<a href="#"
onclick="openMailboxAtIndex(this);"
var:idx="prevFirstMessageNumber"
><var:string label:value="previous"/></a> |
</var:if>
<var:string value="firstMessageNumber" />
<var:string label:value="msgnumber_to" />
<var:string value="lastMessageNumber" />
<var:string label:value="msgnumber_of" />
<var:string value="sortedUIDs.count" />
<var:if condition="hasNext"
>| <a href="#"
onclick="openMailboxAtIndex(this);"
var:idx="nextFirstMessageNumber"
><var:string label:value="next" /></a>
</var:if
></td
></tr
></var:if>
<var:foreach list="messages" item="message"
><tr class="tableview" var:id="msgRowID"
onclick="return onRowClick(event);"
oncontextmenu="return onMessageContextMenu(event, this);"
><td onmousedown="return false;"
></td
><td onmousedown="return false;"
><var:if condition="hasMessageAttachment"
><img rsrc:src="title_attachment_14x14.png"
/></var:if
></td
><td
onmousedown="return false;"
var:class="messageSubjectCellStyleClass"
var:ondblclick="clickedMsgJS"
var:id="msgDivID"
><var:string value="message.envelope.subject"
formatter="context.mailSubjectFormatter"
/></td
><td
onmousedown="return false;"
var:class="messageCellStyleClass"
var:ondblclick="clickedMsgJS"
><var:if condition="showToAddress" const:negate="YES"
><var:string value="message.envelope.from"
formatter="context.mailEnvelopeAddressFormatter"
/></var:if
><var:if condition="showToAddress"
><var:string value="message.envelope.to"
formatter="context.mailEnvelopeAddressFormatter"
/></var:if
></td
><td onmousedown="return false;"
var:class="messageCellStyleClass"
><var:if condition="isMessageRead"
><img rsrc:src="icon_read.gif"
class="mailerReadIcon"
var:onclick="markUnreadJS"
label:title="Mark Unread"
label:title-markread="Mark Read"
label:title-markunread="Mark Unread"
var:id="msgIconReadImgID"
/></var:if
><var:if condition="isMessageRead" const:negate="YES"
><img rsrc:src="icon_unread.gif"
class="mailerUnreadIcon"
var:onclick="markReadJS"
label:title="Mark Read"
label:title-markread="Mark Read"
label:title-markunread="Mark Unread"
var:id="msgIconUnreadImgID"
/></var:if
></td
><td onmousedown="return false;"
var:class="messageCellStyleClass"
var:ondblclick="clickedMsgJS"
><span class="mailer_datefield"
><var:string value="message.envelope.date"
formatter="context.mailDateFormatter"
/></span
><entity name="nbsp"
/></td
></tr>
</var:foreach>
</tbody>
</table>
<script type="text/javascript">
registerDraggableMessageNodes();
</script>
<!--
<tr class="tableview">
<td colspan="6" class="tbtv_actcell">
<! TODO: fix used tree, treeNavigationNodes is the _wrong_ choice
<var:component className="UIxMailMoveToPopUp"
const:identifier="moveto"
const:callback="moveTo"
rootNodes="clientObject.treeNavigationNodes"
/>
>
<! enable once we have buttons and functionality to actually move sth #1211
<var:popup const:name="moveto" const:id="moveto"
list="clientObject.mailAccountFolder.allFolderPathes"
item="item" value="item" displayString="item" />
->
</td>
</tr>
-->
</var:component>