[Zope-Checkins] CVS: Zope/lib/python/Products/ZCatalog/dtml - catalogIndexes.dtml:1.11
Casey Duncan
casey@zope.com
Fri, 9 May 2003 16:12:25 -0400
Update of /cvs-repository/Zope/lib/python/Products/ZCatalog/dtml
In directory cvs.zope.org:/tmp/cvs-serv9700/lib/python/Products/ZCatalog/dtml
Modified Files:
catalogIndexes.dtml
Log Message:
Port interface check fix from 2.6 branch. This should now work
with new Zope3 interfaces
=== Zope/lib/python/Products/ZCatalog/dtml/catalogIndexes.dtml 1.10 => 1.11 ===
--- Zope/lib/python/Products/ZCatalog/dtml/catalogIndexes.dtml:1.10 Tue Feb 4 16:39:14 2003
+++ Zope/lib/python/Products/ZCatalog/dtml/catalogIndexes.dtml Fri May 9 16:11:54 2003
@@ -151,12 +151,10 @@
<td>
<div class="list-item">
- <dtml-if "_.string.find(_.str(_.getattr(this(),'__implements__','old')),'PluggableIndex')>-1">
- &dtml-meta_type;
- <dtml-else>
+ <dtml-var meta_type>
+ <dtml-if isDeprecatedIndex>
<dtml-call "REQUEST.set('oldidx',1)">
(pre-2.4 index)
- &dtml-meta_type;
</dtml-if>
</div>
</td>