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

Lennart Regebro cvs-admin at zope.org
Tue Nov 4 11:45:09 EST 2003


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

Modified Files:
      Tag: regebro-property_title-branch
	manage_tabs.dtml 
Log Message:
Fix of #331. Referring to REQUEST.URL without spelling it out means that it was possible to override by mistake.



=== Zope/lib/python/App/dtml/manage_tabs.dtml 1.13 => 1.13.8.1 ===
--- Zope/lib/python/App/dtml/manage_tabs.dtml:1.13	Sun Oct 12 19:10:08 2003
+++ Zope/lib/python/App/dtml/manage_tabs.dtml	Tue Nov  4 11:45:09 2003
@@ -3,8 +3,8 @@
 <dtml-call "REQUEST.set('n_', _.len(manage_options)-1)">
 <dtml-call "REQUEST.set('a_', 0)">
 <dtml-in manage_options mapping>
-<dtml-if expr="URL[-(_.len(action)):]==action or
-                URL[-17:]=='/manage_workspace' and _['sequence-start']">
+<dtml-if expr="REQUEST.URL[-(_.len(action)):]==action or
+                REQUEST.URL[-17:]=='/manage_workspace' and _['sequence-start']">
 <dtml-call "REQUEST.set('a_', _['sequence-index'])">
 </dtml-if>
 <dtml-if "_.has_key('management_view') and management_view==label">




More information about the Zope-Checkins mailing list