[Zope-Checkins] CVS: Zope/lib/python/App/dtml -
manage_tabs.dtml:1.14
Lennart Regebro
cvs-admin at zope.org
Tue Nov 4 11:52:25 EST 2003
Update of /cvs-repository/Zope/lib/python/App/dtml
In directory cvs.zope.org:/tmp/cvs-serv14978
Modified Files:
manage_tabs.dtml
Log Message:
Collector #331: Referenses to URL in manage_tabs was changed
to REQUEST.URL to prevent accidental overriding.
=== Zope/lib/python/App/dtml/manage_tabs.dtml 1.13 => 1.14 ===
--- 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:52:24 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