[Zope-Checkins] CVS: Zope/lib/python/App/dtml - manage_tabs.dtml:1.12

Christian Theune ct at gocept.com
Wed Sep 3 13:50:04 EDT 2003


Update of /cvs-repository/Zope/lib/python/App/dtml
In directory cvs.zope.org:/tmp/cvs-serv3624/lib/python/App/dtml

Modified Files:
	manage_tabs.dtml 
Log Message:
 - fix for namespace issue in manage_tabs


=== Zope/lib/python/App/dtml/manage_tabs.dtml 1.11 => 1.12 ===
--- Zope/lib/python/App/dtml/manage_tabs.dtml:1.11	Sun Dec 22 12:53:57 2002
+++ Zope/lib/python/App/dtml/manage_tabs.dtml	Wed Sep  3 12:50:03 2003
@@ -57,15 +57,15 @@
   <td bgcolor="#ffffff" valign="bottom" class="tab-small" 
    align="center"><font face="Verdana, Arial, Helvetica" 
    size="1" color="#000000">&nbsp;<a <dtml-if 
-   action>href="&dtml-action;"<dtml-else>href="&dtml-URL1;"</dtml-if
-   ><dtml-if target> target="&dtml-target;"</dtml-if
-   >><span style="color: #000000;"><strong>&dtml-label;</strong></span></a>&nbsp;</font></td>
+   "_['sequence-item'].has_key('action')">href="&dtml-action;"<dtml-else>href="&dtml-URL1;"</dtml-if
+   ><dtml-if "_['sequence-item'].has_key('target')"> target="&dtml-target;"</dtml-if
+   >><span style="color: #000000;"><strong><dtml-var "_['sequence-item']['label']"></strong></span></a>&nbsp;</font></td>
 <dtml-else>
   <td bgcolor="#efefef" valign="bottom" class="tab-small" 
    align="center"><font face="Verdana, Arial, Helvetica" 
    size="1" color="#000000">&nbsp;<a <dtml-if 
-   action>href="&dtml-action;"<dtml-else>href="&dtml-URL1;"</dtml-if
-   ><dtml-if target> target="&dtml-target;"</dtml-if
+   "_['sequence-item'].has_key('action')">href="&dtml-action;"<dtml-else>href="&dtml-URL1;"</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>
 </dtml-if>
 </dtml-in>




More information about the Zope-Checkins mailing list