[Zope-Checkins] CVS: Zope2 - pyScriptEdit.dtml:1.2.6.3

evan@serenade.digicool.com evan@serenade.digicool.com
Fri, 13 Apr 2001 15:16:18 -0400


Update of /cvs-repository/Zope2/lib/python/Products/PythonScripts/www
In directory serenade.digicool.com:/home/evan/Zope/2.3/lib/python/Products/PythonScripts/www

Modified Files:
      Tag: zope-2_3-branch
	pyScriptEdit.dtml 
Log Message:
Fix keyword args.



--- Updated File pyScriptEdit.dtml in package Zope2 --
--- pyScriptEdit.dtml	2001/03/21 15:36:34	1.2.6.2
+++ pyScriptEdit.dtml	2001/04/13 19:16:18	1.2.6.3
@@ -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">