[Zope3-checkins] CVS: Zope3/src/zope/app/browser/container - add.pt:1.8 contents.pt:1.5 find.pt:1.4

Philipp von Weitershausen philikon@philikon.de
Wed, 25 Jun 2003 14:43:34 -0400


Update of /cvs-repository/Zope3/src/zope/app/browser/container
In directory cvs.zope.org:/tmp/cvs-serv32346/container

Modified Files:
	add.pt contents.pt find.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/container/add.pt 1.7 => 1.8 ===
--- Zope3/src/zope/app/browser/container/add.pt:1.7	Mon Apr 28 18:00:06 2003
+++ Zope3/src/zope/app/browser/container/add.pt	Wed Jun 25 14:43:03 2003
@@ -2,7 +2,7 @@
 <body>
 
 <div metal:fill-slot="body">
-<form action="action.html" method="POST">
+<form action="action.html" method="post">
 <table class="TypeListing" cellpadding="3">
 
   <caption i18n:translate="">Add Content</caption>
@@ -12,7 +12,7 @@
     <tr tal:repeat="info infos">
 
       <td class="Selector">
-        <input type="radio" name="type_name" checked
+        <input type="radio" name="type_name"
                tal:attributes="value   info/action;
                                id      info/action;
                                checked python:len(infos)==1" />


=== Zope3/src/zope/app/browser/container/contents.pt 1.4 => 1.5 ===
--- Zope3/src/zope/app/browser/container/contents.pt:1.4	Wed Jun 18 12:03:32 2003
+++ Zope3/src/zope/app/browser/container/contents.pt	Wed Jun 25 14:43:03 2003
@@ -44,7 +44,7 @@
 
         <tr tal:condition="request/type_name|nothing">
           <td></td>
-          <td><input name="new_value" id="focusid" value=""></td>
+          <td><input name="new_value" id="focusid" value="" /></td>
           <td></td>
           <td></td>
           <td></td>


=== Zope3/src/zope/app/browser/container/find.pt 1.3 => 1.4 ===
--- Zope3/src/zope/app/browser/container/find.pt:1.3	Wed Apr  9 04:09:17 2003
+++ Zope3/src/zope/app/browser/container/find.pt	Wed Jun 25 14:43:03 2003
@@ -1,7 +1,7 @@
 <html metal:use-macro="views/standard_macros/page" i18n:domain="zope">
 <body>
 <div metal:fill-slot="body" >
-<form action="@@find.html" method="GET">
+<form action="@@find.html" method="get">
 <input type="text" name="ids" value="" /><br />
 <input type="submit" name="find_submit" value=" Find " i18n:attributes="value"/>
 </form>