]> err.no Git - scalable-opengroupware.org/blob - UI/Templates/MailerUI/UIxMailTree.wox
moved SOGo files up
[scalable-opengroupware.org] / UI / Templates / MailerUI / UIxMailTree.wox
1 <?xml version="1.0" standalone="yes"?>
2 <span xmlns="http://www.w3.org/1999/xhtml"
3       xmlns:var="http://www.skyrix.com/od/binding"
4       xmlns:const="http://www.skyrix.com/od/constant"
5       xmlns:rsrc="OGo:url"
6       xmlns:label="OGo:label"
7 >
8   <!-- TODO: extend treeview to use CSS -->
9   <var:treeview
10     list="rootNodes" item="item" sublist="item.children"
11     zoom="item.isPathNode"
12     const:iconWidth       = "17"
13     const:plusIcon        = "tbtv_plus_17x17.gif"
14     const:minusIcon       = "tbtv_minus_17x17.gif"
15     const:lineIcon        = "tbtv_line_17x17.gif"
16     const:cornerIcon      = "tbtv_corner_17x17.gif"
17     const:junctionIcon    = "tbtv_junction_17x17.gif"
18     const:leafIcon        = "tbtv_leaf_corner_17x17.gif"
19     const:leafCornerIcon  = "tbtv_leaf_corner_17x17.gif"
20     const:cornerPlusIcon  = "tbtv_corner_plus_17x17.gif"
21     const:cornerMinusIcon = "tbtv_corner_minus_17x17.gif"
22     const:spaceIcon       = "tbtv_space_17x17.gif"
23   >
24     <var:tree-data const:isTreeElement="YES" const:treeLink=""
25                    var:icon="item.iconName" var:cornerIcon="item.iconName">
26       <a var:href="item.link">
27         <span class="treecell">
28           <var:if condition="item.isActiveNode">
29             <b><var:string value="item.title" /></b>
30           </var:if>
31           <var:if condition="item.isActiveNode" const:negate="YES">
32             <var:string value="item.title" />
33           </var:if>
34         </span>
35       </a>
36     </var:tree-data>
37   </var:treeview>
38 </span>