[Zope-Checkins] CVS: Zope2 - pyScriptEdit.dtml:1.6
evan@serenade.digicool.com
evan@serenade.digicool.com
Fri, 13 Apr 2001 15:12:46 -0400
Update of /cvs-repository/Zope2/lib/python/Products/PythonScripts/www
In directory serenade.digicool.com:/home/evan/Zope/trunk/lib/python/Products/PythonScripts/www
Modified Files:
pyScriptEdit.dtml
Log Message:
Fix keywords arguments.
--- Updated File pyScriptEdit.dtml in package Zope2 --
--- pyScriptEdit.dtml 2001/03/21 15:38:21 1.5
+++ pyScriptEdit.dtml 2001/04/13 19:12:46 1.6
@@ -4,6 +4,8 @@
<form action="&dtml-URL1;" method="post">
<input type="hidden" name=":default_method" value="ZPythonScriptHTML_changePrefs">
<table width="100%" cellspacing="0" cellpadding="2" border="0">
+
+<dtml-with keyword_args mapping>
<tr>
<td align="left" valign="top">
<div class="form-optional">
@@ -12,7 +14,7 @@
</td>
<td align="left" valign="top">
<input type="text" name="title" size="40"
- value="<dtml-var title html_quote>" />
+ value="&dtml-title;" />
</td>
</tr>
<tr>
@@ -23,9 +25,10 @@
</td>
<td align="left" valign="top">
<input type="text" name="params" size="40"
- value="<dtml-var params html_quote>" />
+ value="&dtml-params;" />
</td>
</tr>
+</dtml-with>
<dtml-with getBindingAssignments>
<dtml-if getAssignedNamesInOrder>
<tr>
@@ -37,7 +40,7 @@
<td align="left" valign="top">
<div class="form-text">
<dtml-in getAssignedNamesInOrder>
-<dtml-var sequence-item html_quote><dtml-unless sequence-end>, </dtml-unless>
+&dtml-sequence-item;<dtml-unless sequence-end>, </dtml-unless>
</dtml-in>
</div>
</td>
@@ -56,16 +59,17 @@
</div>
</td>
</tr>
+<dtml-with keyword_args mapping>
<tr>
<td align="left" valign="top" colspan="2">
<div style="width: 100%;">
<textarea name="body:text" wrap="off" style="width: 100%;"
cols=<dtml-var dtpref_cols html_quote missing="50">
- rows=<dtml-var dtpref_rows html_quote missing="20">><dtml-var
- body html_quote></textarea>
+ rows=<dtml-var dtpref_rows html_quote missing="20">>&dtml-body;</textarea>
</div>
</td>
</tr>
+</dtml-with>
<tr>
<td align="left" valign="top" colspan="2">