[Zope3-checkins] CVS: Zope3/src/zope/app/browser/content - fromFS.pt:1.2 i18n_edit.pt:1.4 i18nimageedit.pt:1.4
Philipp von Weitershausen
philikon@philikon.de
Wed, 25 Jun 2003 14:43:35 -0400
Update of /cvs-repository/Zope3/src/zope/app/browser/content
In directory cvs.zope.org:/tmp/cvs-serv32346/content
Modified Files:
fromFS.pt i18n_edit.pt i18nimageedit.pt
Log Message:
More XHTML compliance ("xhtml gheddon"?). Files were validated running
the following command (using the xmllint command line tool from
http://xmlsoft.org/)::
find . -name "*pt" -exec xmllint --noout --dtdvalid \
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd {} \;
Emacs's grep-find mode can parse this output. Instead of specifying
the URL, one can also download the DTD to speed up the process.
=== Zope3/src/zope/app/browser/content/fromFS.pt 1.1 => 1.2 ===
--- Zope3/src/zope/app/browser/content/fromFS.pt:1.1 Thu May 8 15:52:10 2003
+++ Zope3/src/zope/app/browser/content/fromFS.pt Wed Jun 25 14:43:03 2003
@@ -14,10 +14,10 @@
<p>Upload a zipfile in the following form</p>
-<form method="POST" action="@@fromFS.html" enctype="multipart/form-data">
+<form method="post" action="@@fromFS.html" enctype="multipart/form-data">
<input type="file" name="zipfile" size="40" />
- <input type="submit">
+ <input type="submit" />
</form>
=== Zope3/src/zope/app/browser/content/i18n_edit.pt 1.3 => 1.4 ===
--- Zope3/src/zope/app/browser/content/i18n_edit.pt:1.3 Wed Jun 25 13:12:16 2003
+++ Zope3/src/zope/app/browser/content/i18n_edit.pt Wed Jun 25 14:43:03 2003
@@ -57,7 +57,7 @@
</tr>
<tr>
<td colspan="2">
- <hr>
+ <hr />
</td>
</tr>
<tr>
=== Zope3/src/zope/app/browser/content/i18nimageedit.pt 1.3 => 1.4 ===
--- Zope3/src/zope/app/browser/content/i18nimageedit.pt:1.3 Wed Jun 25 13:12:16 2003
+++ Zope3/src/zope/app/browser/content/i18nimageedit.pt Wed Jun 25 14:43:03 2003
@@ -35,7 +35,7 @@
<tr>
<th class="EditAttributeName">Content Type</th>
<td class="EditAttributeValue">
- <input name="contentType" type="text" size=20
+ <input name="contentType" type="text" size="20"
tal:attributes="value context/getContentType" />
</td>
</tr>
@@ -58,8 +58,8 @@
</td>
</tr>
<tr>
- <td colspan=2>
- <hr>
+ <td colspan="2">
+ <hr/>
</td>
</tr>
<tr>
@@ -115,12 +115,10 @@
</tbody>
</table>
- <input type="submit" name="edit" value="Save Changes">
+ <input type="submit" name="edit" value="Save Changes" />
</form>
</div>
</body>
</html>
-
-