sogo/UI/Templates/MailerUI/UIxMailTree.wox
Wolfgang Sourdeau ba266098cc Monotone-Parent: 3f62f5802ffb2cb6b250f3c26f2ab31cbbf51ba8
Monotone-Revision: 302f484fd09755203847210e4516fd857566b410

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-07-12T22:03:05
Monotone-Branch: ca.inverse.sogo
2006-07-12 22:03:05 +00:00

40 lines
1.5 KiB
XML

<?xml version="1.0" standalone="yes"?>
<div class="folderTreeContent"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:var="http://www.skyrix.com/od/binding"
xmlns:const="http://www.skyrix.com/od/constant"
xmlns:rsrc="OGo:url"
xmlns:label="OGo:label">
<!-- TODO: extend treeview to use CSS -->
<var:treeview
list="rootNodes" item="item" sublist="item.children"
zoom="item.isPathNode"
const:iconWidth = "17"
const:plusIcon = "tbtv_plus_17x17.gif"
const:minusIcon = "tbtv_minus_17x17.gif"
const:lineIcon = "tbtv_line_17x17.gif"
const:cornerIcon = "tbtv_corner_17x17.gif"
const:junctionIcon = "tbtv_junction_17x17.gif"
const:leafIcon = "tbtv_leaf_corner_17x17.gif"
const:leafCornerIcon = "tbtv_leaf_corner_17x17.gif"
const:cornerPlusIcon = "tbtv_corner_plus_17x17.gif"
const:cornerMinusIcon = "tbtv_corner_minus_17x17.gif"
const:spaceIcon = "tbtv_space_17x17.gif"
>
<var:tree-data const:isTreeElement="YES" const:treeLink=""
var:icon="item.iconName"
var:cornerIcon="item.iconName">
<a var:href="item.link">
<span class="treecell">
<var:if condition="item.isActiveNode">
<b><var:string value="item.title" /></b>
</var:if>
<var:if condition="item.isActiveNode" const:negate="YES">
<var:string value="item.title" />
</var:if>
</span>
</a>
</var:tree-data>
</var:treeview>
</div>