[Zope-Checkins] CVS: Zope/lib/python/App/dtml - manage_zmi_prefs.dtml:1.5
Andreas Jung
andreas@andreas-jung.com
Sun, 6 Jul 2003 06:44:47 -0400
Update of /cvs-repository/Zope/lib/python/App/dtml
In directory cvs.zope.org:/tmp/cvs-serv8091/lib/python/App/dtml
Modified Files:
manage_zmi_prefs.dtml
Log Message:
- Collector #628: Applied patch to fix several textarea resize
problems.
=== Zope/lib/python/App/dtml/manage_zmi_prefs.dtml 1.4 => 1.5 ===
--- Zope/lib/python/App/dtml/manage_zmi_prefs.dtml:1.4 Fri Apr 12 16:19:02 2002
+++ Zope/lib/python/App/dtml/manage_zmi_prefs.dtml Sun Jul 6 06:43:42 2003
@@ -91,7 +91,7 @@
</div>
</td>
<td align="left" valign="top">
- <input type="text" name="dtpref_rows" value="&dtml-rows;" size="6" />
+ <input type="text" name="dtpref_rows:int" value="&dtml-rows;" size="6" />
</td>
</tr>
</table>
@@ -102,14 +102,12 @@
<div class="form-help">
<dtml-if expr="cols[-1]=='%'">
- <textarea name="data:text" wrap="off" style="width:&dtml-cols;"
- rows="&dtml-rows;"
- >This is a sample edit textarea.</textarea>
+ <textarea name="data:text" rows="&dtml-rows;" style="width: &dtml-cols;;">
<dtml-else>
- <textarea name="data:text" wrap="off" cols="&dtml-cols;"
- rows="&dtml-rows;"
- >This is a sample edit textarea.</textarea>
+ <textarea name="data:text" cols="&dtml-cols;" rows="&dtml-rows;">
</dtml-if>
+ This is a sample edit textarea.
+ </textarea>
</div>
</dtml-let>