f18c764ffa
Monotone-Revision: 9054022ef1ca8aeba6e34842d27d9b94ce002b89 Monotone-Author: dev-unix.inverse.qc.ca Monotone-Date: 2006-06-15T19:34:10 Monotone-Branch: ca.inverse.sogo
40 lines
1.5 KiB
XML
40 lines
1.5 KiB
XML
<?xml version="1.0" standalone="yes"?>
|
|
<span 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>
|
|
</span>
|