[Zope-Checkins] CVS: Zope/lib/python/Products/ZCatalog/dtml - catalogIndexes.dtml:1.7.10.1
Casey Duncan
casey@zope.com
Fri, 9 May 2003 15:06:25 -0400
Update of /cvs-repository/Zope/lib/python/Products/ZCatalog/dtml
In directory cvs.zope.org:/tmp/cvs-serv30103/lib/python/Products/ZCatalog/dtml
Modified Files:
Tag: Zope-2_6-branch
catalogIndexes.dtml
Log Message:
Refactored interface check in ZCatalog indexes view so it is
no longer broken by the new Zope3 interface logic
=== Zope/lib/python/Products/ZCatalog/dtml/catalogIndexes.dtml 1.7 => 1.7.10.1 ===
--- Zope/lib/python/Products/ZCatalog/dtml/catalogIndexes.dtml:1.7 Fri Jun 28 13:25:24 2002
+++ Zope/lib/python/Products/ZCatalog/dtml/catalogIndexes.dtml Fri May 9 15:05:54 2003
@@ -141,12 +141,10 @@
<td>
<div class="list-item">
- <dtml-if "_.string.find(_.str(_.getattr(this(),'__implements__','old')),'PluggableIndexInterface')>-1">
- <dtml-var meta_type>
- <dtml-else>
+ <dtml-var meta_type>
+ <dtml-if isDeprecatedIndex>
<dtml-call "REQUEST.set('oldidx',1)">
(pre-2.4 index)
- <dtml-var meta_type>
</dtml-if>
</div>
</td>