sogo/UI/Templates/MailerUI/UIxMailTree.wox
Wolfgang Sourdeau ef275a7674 Monotone-Parent: ae373f43368bbefdd9c2bca78c1cfea613d86832
Monotone-Revision: fe41830eaa82e69f64379323ab62164ca28f558d

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-12-22T19:15:35
Monotone-Branch: ca.inverse.sogo
2006-12-22 19:15:35 +00:00

40 lines
1.8 KiB
XML

<?xml version="1.0" standalone="yes"?>
<div id="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 -->
<script type="text/javascript" rsrc:src="dtree.js"><!-- space --></script>
<script type="text/javascript">
d = new dTree('d');
d.config.folderLlinks = true;
d.config.hideRoot = true;
d.icon.root = '<var:string rsrc:value="tbtv_account_17x17.gif" />';
d.icon.folder = '<var:string rsrc:value="tbtv_leaf_corner_17x17.gif" />';
d.icon.folderOpen = '<var:string rsrc:value="tbtv_leaf_corner_17x17.gif" />';
d.icon.node = '<var:string rsrc:value="tbtv_leaf_corner_17x17.gif" />';
d.icon.line = '<var:string rsrc:value="tbtv_line_17x17.gif" />';
d.icon.join = '<var:string rsrc:value="tbtv_junction_17x17.gif" />';
d.icon.joinBottom = '<var:string rsrc:value="tbtv_corner_17x17.gif" />';
d.icon.plus = '<var:string rsrc:value="tbtv_plus_17x17.gif" />';
d.icon.plusBottom = '<var:string rsrc:value="tbtv_corner_plus_17x17.gif" />';
d.icon.minus = '<var:string rsrc:value="tbtv_minus_17x17.gif" />';
d.icon.minusBottom = '<var:string rsrc:value="tbtv_corner_minus_17x17.gif" />';
d.icon.nlPlus = '<var:string rsrc:value="tbtv_corner_plus_17x17.gif" />';
d.icon.nlMinus = '<var:string rsrc:value="tbtv_corner_minus_17x17.gif" />';
d.icon.empty = '<var:string rsrc:value="empty.gif" />';
d.add(0, -1, '');
<var:foreach list="flattenedNodes" item="item"
><var:component className="UIxMailTreeBlockJS"
const:treeObjectName="d"
var:item="item"
/></var:foreach>
document.write(d);
</script>
</div>