Commit f0cc1958 authored by Christian Theune's avatar Christian Theune

- fix for namespace issue in manage_tabs

parent 2f7c4bce
...@@ -8,6 +8,10 @@ Zope Changes ...@@ -8,6 +8,10 @@ Zope Changes
Bugs fixed Bugs fixed
- manage_tabs had a namespace problem with the acquisition of names from
the manage_options variable resulting to acquire "target" and "action"
from objects above in the hierachy.
- PathIndex and TopicIndex are now using a counter for the number - PathIndex and TopicIndex are now using a counter for the number
of indexed objects instead of using a very expensive calculation of indexed objects instead of using a very expensive calculation
based on the keys of their indexes. based on the keys of their indexes.
......
...@@ -57,15 +57,15 @@ ...@@ -57,15 +57,15 @@
<td bgcolor="#ffffff" valign="bottom" class="tab-small" <td bgcolor="#ffffff" valign="bottom" class="tab-small"
align="center"><font face="Verdana, Arial, Helvetica" align="center"><font face="Verdana, Arial, Helvetica"
size="1" color="#000000">&nbsp;<a <dtml-if size="1" color="#000000">&nbsp;<a <dtml-if
action>href="&dtml-action;"<dtml-else>href="&dtml-URL1;"</dtml-if "_['sequence-item'].has_key('action')">href="&dtml-action;"<dtml-else>href="&dtml-URL1;"</dtml-if
><dtml-if target> target="&dtml-target;"</dtml-if ><dtml-if "_['sequence-item'].has_key('target')"> target="&dtml-target;"</dtml-if
>><span style="color: #000000;"><strong>&dtml-label;</strong></span></a>&nbsp;</font></td> >><span style="color: #000000;"><strong><dtml-var "_['sequence-item']['label']"></strong></span></a>&nbsp;</font></td>
<dtml-else> <dtml-else>
<td bgcolor="#efefef" valign="bottom" class="tab-small" <td bgcolor="#efefef" valign="bottom" class="tab-small"
align="center"><font face="Verdana, Arial, Helvetica" align="center"><font face="Verdana, Arial, Helvetica"
size="1" color="#000000">&nbsp;<a <dtml-if size="1" color="#000000">&nbsp;<a <dtml-if
action>href="&dtml-action;"<dtml-else>href="&dtml-URL1;"</dtml-if "_['sequence-item'].has_key('action')">href="&dtml-action;"<dtml-else>href="&dtml-URL1;"</dtml-if
><dtml-if target> target="&dtml-target;"</dtml-if ><dtml-if "_['sequence-item'].has_key('target')"> target="&dtml-target;"</dtml-if
>><span style="color: #000000;"><strong>&dtml-label;</strong></span></a>&nbsp;</font></td> >><span style="color: #000000;"><strong>&dtml-label;</strong></span></a>&nbsp;</font></td>
</dtml-if> </dtml-if>
</dtml-in> </dtml-in>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment