[Zope-Checkins] CVS: Zope3/lib/python/Zope/PageTemplate/tests/input - DTML1.html:1.1.2.2 DTML3.html:1.1.2.2 TeeShop1.html:1.1.2.2 TeeShop2.html:1.1.2.2
Steve Alexander
steve@cat-box.net
Mon, 1 Apr 2002 04:53:31 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/PageTemplate/tests/input
In directory cvs.zope.org:/tmp/cvs-serv17619/lib/python/Zope/PageTemplate/tests/input
Modified Files:
Tag: Zope-3x-branch
DTML1.html DTML3.html TeeShop1.html TeeShop2.html
Log Message:
Changed here -> context and container -> view
as described in http://collector.zope.org/Zope3-dev/43
=== Zope3/lib/python/Zope/PageTemplate/tests/input/DTML1.html 1.1.2.1 => 1.1.2.2 ===
<body>
<span tal:replace="nothing"> blah </span>
- <dl tal:condition="here/args">
+ <dl tal:condition="context/args">
<dt>The arguments to this test program were:</dt>
<dd>
<ul>
- <li tal:repeat="arg here/args">
+ <li tal:repeat="arg context/args">
Argument number <span tal:replace="arg/num">99</span>
is <span tal:replace="arg/arg">default</span>
</li>
</ul>
</dd>
</dl>
- <p tal:condition="not:here/args">No arguments were given.</p>
+ <p tal:condition="not:context/args">No arguments were given.</p>
And thats da trooth.
</body>
</html>
=== Zope3/lib/python/Zope/PageTemplate/tests/input/DTML3.html 1.1.2.1 => 1.1.2.2 ===
<body>
- <div tal:condition="here/args">
+ <div tal:condition="context/args">
The arguments were:
<span tal:condition="options/batch/previous_sequence">
(<span
@@ -26,7 +26,7 @@
>next end item</span>)
</span>
</div>
- <p tal:condition="not:here/args">
+ <p tal:condition="not:context/args">
No arguments were given.
</p>
And I am 100% sure!
=== Zope3/lib/python/Zope/PageTemplate/tests/input/TeeShop1.html 1.1.2.1 => 1.1.2.2 ===
+<html metal:use-macro="view/laf/macros/page">
<head>
<title>Zope Stuff</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
=== Zope3/lib/python/Zope/PageTemplate/tests/input/TeeShop2.html 1.1.2.1 => 1.1.2.2 ===
+<html metal:use-macro="view/laf/macros/page">
<div metal:fill-slot="body">
Body
</div>