]> err.no Git - scalable-opengroupware.org/blob - UI/Templates/MailerUI/UIxMailTree.wox
git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1180 d1b88da0-ebda-0310...
[scalable-opengroupware.org] / UI / Templates / MailerUI / UIxMailTree.wox
1 <?xml version="1.0" standalone="yes"?>
2   <div id="folderTreeContent"
3     xmlns="http://www.w3.org/1999/xhtml"
4     xmlns:var="http://www.skyrix.com/od/binding"
5     xmlns:const="http://www.skyrix.com/od/constant"
6     xmlns:rsrc="OGo:url"
7     xmlns:label="OGo:label">
8     <!-- TODO: extend treeview to use CSS -->
9
10     <script type="text/javascript" rsrc:src="dtree.js"><!-- space --></script>
11     <script type="text/javascript">
12       d = new dTree('d');
13       d.config.folderLlinks = true;
14       d.config.hideRoot = true;
15
16       d.icon.root = '<var:string rsrc:value="tbtv_account_17x17.gif" />';
17       d.icon.folder = '<var:string rsrc:value="tbtv_leaf_corner_17x17.gif" />';
18       d.icon.folderOpen = '<var:string rsrc:value="tbtv_leaf_corner_17x17.gif" />';
19       d.icon.node = '<var:string rsrc:value="tbtv_leaf_corner_17x17.gif" />';
20       d.icon.line = '<var:string rsrc:value="tbtv_line_17x17.gif" />';
21       d.icon.join = '<var:string rsrc:value="tbtv_junction_17x17.gif" />';
22       d.icon.joinBottom = '<var:string rsrc:value="tbtv_corner_17x17.gif" />';
23       d.icon.plus = '<var:string rsrc:value="tbtv_plus_17x17.gif" />';
24       d.icon.plusBottom = '<var:string rsrc:value="tbtv_corner_plus_17x17.gif" />';
25       d.icon.minus = '<var:string rsrc:value="tbtv_minus_17x17.gif" />';
26       d.icon.minusBottom = '<var:string rsrc:value="tbtv_corner_minus_17x17.gif" />';
27       d.icon.nlPlus = '<var:string rsrc:value="tbtv_corner_plus_17x17.gif" />';
28       d.icon.nlMinus = '<var:string rsrc:value="tbtv_corner_minus_17x17.gif" />';
29       d.icon.empty = '<var:string rsrc:value="empty.gif" />';
30
31       d.add(0, -1, '');
32       <var:foreach list="flattenedNodes" item="item"
33         ><var:component className="UIxMailTreeBlockJS"
34           const:treeObjectName="d"
35           var:item="item"
36           /></var:foreach>
37       document.write(d);
38     </script>
39   </div>