sogo/UI/Templates/ContactsUI/UIxContactsListView.wox
Wolfgang Sourdeau c9974a86b1 Monotone-Parent: d3336287196cd9652f1557ca089836260940184d
Monotone-Revision: 1d90c5862d1196f32ab9f09c22ed9697cccf6101

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-09-13T21:32:23
Monotone-Branch: ca.inverse.sogo
2006-09-13 21:32:23 +00:00

58 lines
2.2 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:label="OGo:label"
xmlns:rsrc="OGo:url"
className="UIxContactsListViewContainer"
title="name"
>
<!-- the content -->
<table border="0" width="100%" id="contactsList" multiselect="yes">
<tbody>
<tr class="tableview">
<!-- localize -->
<td class="tbtv_headercell">
<var:component className="UIxSortableTableHeader"
label:label="Lastname"
const:sortKey="cn"
const:href="view"
var:queryDictionary="context.request.formValues"
/>
</td>
<td class="tbtv_headercell">
<var:component className="UIxSortableTableHeader"
label:label="EMail"
const:sortKey="mail"
const:href="view"
var:queryDictionary="context.request.formValues"
/>
</td>
<td class="tbtv_headercell">
<var:string label:value="Phone" />
</td>
<td class="tbtv_headercell">
<var:string label:value="Location" />
</td>
</tr>
<var:foreach list="contactInfos" item="currentContact">
<tr class="tableview"
var:id="currentContact.c_name"
var:contactname="currentContact.cn"
var:contactid="currentContact.c_uid"
onclick="return onContactRowClick(event, this);"
ondblclick="return onContactRowDblClick(event, this);"
oncontextmenu="return onContactContextMenu(event, this);">
<td onmousedown="return false;"><img rsrc:src="abcard.gif" /><var:string value="currentContact.cn" /></td>
<td onmousedown="return false;"><var:string value="currentContact.mail" /></td>
<td onmousedown="return false;"><var:string value="currentContact.telephonenumber" /></td>
<td onmousedown="return false;"><var:string value="currentContact.l" /></td>
</tr>
</var:foreach>
</tbody>
</table>
</var:component>