X-Git-Url: https://svn.cri.mines-paristech.fr/git/MosaicDocument.git/blobdiff_plain/475bb3cd9bd15fe1dd3e03f0ab26cc7c343a2702..refs/heads/zope-2.13:/default_blocks/tree_block_template.pt?ds=inline

diff --git a/default_blocks/tree_block_template.pt b/default_blocks/tree_block_template.pt
index 606d136..d5b3842 100755
--- a/default_blocks/tree_block_template.pt
+++ b/default_blocks/tree_block_template.pt
@@ -41,7 +41,7 @@
                      rows       treeDict/rows;
                      height			tree/height;
                      rootNode   python:rows.pop(0);
-                     box_id     rootNode/id;
+                     box_id     tree/tree_pre;
                      portal_url here/portal_url"
          tal:condition="python:displayAction=='view' and rows"
          tal:omit-tag=""
@@ -63,13 +63,13 @@
 
 				<tr>
 					<td>
-						<table  cellspacing="0">
-							<tbody tal:attributes="id  box_id">
+						<table cellspacing="0">
+							<tbody tal:attributes="id  box_id; name rootNode/id">
 								<tr tal:repeat="row rows">
 								<td tal:define="indent python: row.depth - 1" tal:attributes="colspan indent" tal:condition="indent">&nbsp;</td>
 								<td tal:define="state row/state ; rlink row/branch ; msg python:state > 0 and 'collapse' or 'expand'" width="16"
 								 ><a href="#" tal:condition="state" tal:attributes="name row/id ; href rlink/link ; title msg" i18n:attributes="title"
-								 ><img src="/p_/pl" alt="" tal:attributes="src python:'%s/%s' % (portal_url, state > 0 and 'mi.gif' or 'pl.gif') ; alt msg" i18n:attributes="alt" border="0" height="16" width="16" /></a>
+								 ><img src="/p_/pl" alt="" tal:attributes="src python:'%s/%s' % (portal_url, state > 0 and 'mi.png' or 'pl.png') ; alt msg" i18n:attributes="alt" border="0" height="16" width="16" /></a>
 								  <a href="#" tal:attributes="name row/id ; href rlink/link" tal:condition="not:state">&nbsp;&nbsp;</a>
 								</td>
 								<td colspan="1" tal:define="obj nocall: row/object; url obj/absolute_url; description obj/Description"