[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services - adapter_search.pt:1.5 add_module.pt:1.3 add_svc_config.pt:1.5 adduser.pt:1.2 auth.pt:1.3 bundle.pt:1.9 caches.pt:1.10 configureCache.pt:1.3 configureConnection.pt:1.3 configureView.pt:1.2 connections.pt:1.12 edituser.pt:1.2 error.pt:1.4 errorentry.pt:1.4 field.py:1.9 serviceactivation.pt:1.8 services.pt:1.9 views.pt:1.5

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


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

Modified Files:
	adapter_search.pt add_module.pt add_svc_config.pt adduser.pt 
	auth.pt bundle.pt caches.pt configureCache.pt 
	configureConnection.pt configureView.pt connections.pt 
	edituser.pt error.pt errorentry.pt field.py 
	serviceactivation.pt services.pt views.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/services/adapter_search.pt 1.4 => 1.5 ===
--- Zope3/src/zope/app/browser/services/adapter_search.pt:1.4	Fri Jan 17 11:34:39 2003
+++ Zope3/src/zope/app/browser/services/adapter_search.pt	Wed Jun 25 14:43:08 2003
@@ -3,30 +3,30 @@
 <body>
 <div metal:fill-slot="body">
 
-<form action="." method="GET"
+<form action="." method="get"
       tal:attributes="action request/URL"
       >
     <div class="row" tal:content="structure view/forInterface/row" />
     <div class="row" tal:content="structure view/providedInterface/row" />
       <div class="controls"> 
-         <input type="submit" value="Refresh">
-         <input type="submit" value="Search" name="SEARCH">
+         <input type="submit" value="Refresh" />
+         <input type="submit" value="Search" name="SEARCH" />
       </div>
 </form>
 
-<form action="." method="POST"
+<form action="." method="post"
       tal:attributes="action request/URL"
       tal:condition="request/SEARCH|nothing"
       >
   <table>
     <tr>
-       <th>For/<br>Provided</th>
+       <th>For/<br/>Provided</th>
        <th>Configuration</th>
     </tr>
 
     <tr tal:repeat="config view/configInfo">
-      <td> <span tal:content="config/forInterface" />/<br>
-           <span tal:content="config/providedInterface" />
+      <td><span tal:replace="config/forInterface" />/<br/>
+          <span tal:replace="config/providedInterface" />
       </td>
       <td tal:content="structure config/view" />
     </tr>
@@ -34,7 +34,7 @@
       <td></td>
       <td></td>
       <td> 
-         <input type="submit" value="Update" name="UPDATE_SUBMIT">
+         <input type="submit" value="Update" name="UPDATE_SUBMIT" />
       </td>
     </tr>
   </table>


=== Zope3/src/zope/app/browser/services/add_module.pt 1.2 => 1.3 ===
--- Zope3/src/zope/app/browser/services/add_module.pt:1.2	Wed Dec 25 09:12:36 2002
+++ Zope3/src/zope/app/browser/services/add_module.pt	Wed Jun 25 14:43:08 2003
@@ -6,9 +6,9 @@
 <p>Enter the absolute module name and source code.</p>
 
 <form action="action.html">
-<input name="name">
-<textarea name="source:text" cols="65" rows="25"></textarea>
-<input type="submit" value="Add module"/>
+  <input name="name" />
+  <textarea name="source:text" cols="65" rows="25"></textarea>
+  <input type="submit" value="Add module" />
 </form>
 
 </div></body></html>


=== Zope3/src/zope/app/browser/services/add_svc_config.pt 1.4 => 1.5 ===
--- Zope3/src/zope/app/browser/services/add_svc_config.pt:1.4	Mon Apr 28 15:07:18 2003
+++ Zope3/src/zope/app/browser/services/add_svc_config.pt	Wed Jun 25 14:43:08 2003
@@ -4,7 +4,7 @@
 
       <form action="add_svc_config.html">
 
-        <p>Register this object to provide the following service(s):
+        <p>Register this object to provide the following service(s):</p>
 
         <table>
 
@@ -20,16 +20,15 @@
 	    <tr tal:repeat="item view/listServiceTypes">
 
 	      <td>
-		<input type="checkbox" name="name:list" value="value" checked
-		       tal:attributes="value item/name">
+		<input type="checkbox" name="name:list" value="value"
+                       checked="checked" tal:attributes="value item/name" />
               </td>
-	      <td tal:content="item/name">Events
-	      </td>
+              <td tal:content="item/name">Events</td>
 
 	      <td>
 		<input type="checkbox" name="active:list" value="value"
 		       tal:attributes="value item/name;
-				       checked item/checked">
+				       checked item/checked" />
 	      </td>
 
 	    </tr>
@@ -37,8 +36,8 @@
 
 	</table>
 
-	<input type="reset" value="Reset form">
-        <input type="submit" value="Submit">
+	<input type="reset" value="Reset form" />
+        <input type="submit" value="Submit" />
 
 
       </form>


=== Zope3/src/zope/app/browser/services/adduser.pt 1.1 => 1.2 ===
--- Zope3/src/zope/app/browser/services/adduser.pt:1.1	Thu Dec 26 18:23:26 2002
+++ Zope3/src/zope/app/browser/services/adduser.pt	Wed Jun 25 14:43:08 2003
@@ -14,31 +14,31 @@
     	  <tr>
     	    <th>Id:</th>
     	    <td>
-	      <input type="text" name="id" size="40" value="">  
+	      <input type="text" name="id" size="40" value="" />
             </td>
     	  </tr>
     	  <tr>
     	    <th>Title:</th>
     	    <td>
-	      <input type="text" name="title" size="40" value="">  
+	      <input type="text" name="title" size="40" value="" />
             </td>
     	  </tr>
     	  <tr>
     	    <th>Description:</th>
     	    <td>
-	      <input type="text" name="description" size="40" value="">  
+	      <input type="text" name="description" size="40" value="" />
             </td>
     	  </tr>
     	  <tr>
     	    <th>Login:</th>
     	    <td>
-	      <input type="text" name="login" size="40" value="">  
+	      <input type="text" name="login" size="40" value="" />
             </td>
     	  </tr>
     	  <tr>
     	    <th>Password:</th>
     	    <td>
-	      <input type="password" name="password" size="40" value="">  
+	      <input type="password" name="password" size="40" value="" />
             </td>
     	  </tr>
     	  <tr>
@@ -52,9 +52,9 @@
     	    	
     	</tbody>     
       </table>
-    
+
       <input type="submit" name="action.html:method" value="Add" />
-    
+
     </form> 
 
   </div>


=== Zope3/src/zope/app/browser/services/auth.pt 1.2 => 1.3 ===
--- Zope3/src/zope/app/browser/services/auth.pt:1.2	Wed Dec 25 09:12:36 2002
+++ Zope3/src/zope/app/browser/services/auth.pt	Wed Jun 25 14:43:08 2003
@@ -14,31 +14,31 @@
     	  <tr>
     	    <th>Id:</th>
     	    <td>
-	      <input type="text" name="id" size="40" value="">  
+	      <input type="text" name="id" size="40" value="" />
             </td>
     	  </tr>
     	  <tr>
     	    <th>Title:</th>
     	    <td>
-	      <input type="text" name="title" size="40" value="">  
+	      <input type="text" name="title" size="40" value="" />
             </td>
     	  </tr>
     	  <tr>
     	    <th>Description:</th>
     	    <td>
-	      <input type="text" name="description" size="40" value="">  
+	      <input type="text" name="description" size="40" value="" />
             </td>
     	  </tr>
     	  <tr>
     	    <th>Login:</th>
     	    <td>
-	      <input type="text" name="login" size="40" value="">  
+	      <input type="text" name="login" size="40" value="" />
             </td>
     	  </tr>
     	  <tr>
     	    <th>Password:</th>
     	    <td>
-	      <input type="password" name="password" size="40" value="">  
+	      <input type="password" name="password" size="40" value="" />
             </td>
     	  </tr>
     	  <tr>
@@ -52,9 +52,9 @@
     	    	
     	</tbody>     
       </table>
-    
+
       <input type="submit" name="action.html:method" value="Add" />
-    
+
     </form> 
 
   </div>


=== Zope3/src/zope/app/browser/services/bundle.pt 1.8 => 1.9 ===
--- Zope3/src/zope/app/browser/services/bundle.pt:1.8	Sat Jun 21 17:21:59 2003
+++ Zope3/src/zope/app/browser/services/bundle.pt	Wed Jun 25 14:43:08 2003
@@ -23,7 +23,7 @@
         <font size="+1" color="red">
           <b>UNFULFILLED DEPENDENCY</b>
         </font>
-        <br><b>(You must <a href="../default/AddService">add a
+        <br/><b>(You must <a href="../default/AddService">add a
         <i tal:content="svc/service">Foo</i>
         service to this site</a> before you can activate this bundle)</b>
       </span>
@@ -35,7 +35,7 @@
 
   <div class="message" tal:condition="message">
     <span tal:replace="message">view/update message here</span>
-    <br><br><i><a href="@@bundle.html">(click to clear message)</a></i>
+    <br/><br/><i><a href="@@bundle.html">(click to clear message)</a></i>
   </div>
 
 <form action="@@bundle.html" method="GET">
@@ -54,14 +54,14 @@
             <i tal:content="cnf/implementation">Implementation summary</i>
           </a>
           <span tal:condition="cnf/conflict">
-            <br>
+            <br/>
             <font color="red" tal:condition="not:activate">Conflicts
                                                            with</font>
             <font color="green" tal:condition="activate">Overrides</font>
             <a tal:content="cnf/conflict"
                tal:attributes="href cnf/conflict">path</a>
           </span>
-          <br>
+          <br/>
           <span tal:condition="python: cnf['advice'] == 'Active'">
             <input type="radio" tal:attributes="name cnf/path"
                    value="Registered" />Register only
@@ -70,7 +70,7 @@
           </span>
           <span tal:condition="python: cnf['advice'] == 'Registered'">
             <b><input type="radio" tal:attributes="name cnf/path"
-                   value="Registered" checked />Register only</b>
+                   value="Registered" checked="checked" />Register only</b>
             <input type="radio" tal:attributes="name cnf/path"
                    value="Active" />Register and activate
           </span>


=== Zope3/src/zope/app/browser/services/caches.pt 1.9 => 1.10 ===
--- Zope3/src/zope/app/browser/services/caches.pt:1.9	Thu May  1 12:28:28 2003
+++ Zope3/src/zope/app/browser/services/caches.pt	Wed Jun 25 14:43:08 2003
@@ -9,7 +9,7 @@
 
       <div class="message" tal:condition="message">
          <span tal:replace="message">view/update message here</span>
-         <br><br><i><a href="">(click to clear message)</a></i>
+         <br/><br/><i><a href="">(click to clear message)</a></i>
       </div>
 
 <p tal:condition="not:configs">None</p>


=== Zope3/src/zope/app/browser/services/configureCache.pt 1.2 => 1.3 ===
--- Zope3/src/zope/app/browser/services/configureCache.pt:1.2	Mon Apr 28 12:52:07 2003
+++ Zope3/src/zope/app/browser/services/configureCache.pt	Wed Jun 25 14:43:08 2003
@@ -7,7 +7,7 @@
 <h2 i18n:translate="">Cache registrations for
     <i tal:content="request/name" i18n:name="cache_name">name</i></h2>
 
-<form method="POST"
+<form method="post"
       action="."
       tal:attributes="action request/URL"
       tal:define="form view/update"


=== Zope3/src/zope/app/browser/services/configureConnection.pt 1.2 => 1.3 ===
--- Zope3/src/zope/app/browser/services/configureConnection.pt:1.2	Mon Apr 28 12:52:07 2003
+++ Zope3/src/zope/app/browser/services/configureConnection.pt	Wed Jun 25 14:43:08 2003
@@ -7,7 +7,7 @@
 <h2 i18n:translate="">Connection registrations for
     <i tal:content="request/name" i18n:name="connection_name">name</i></h2>
 
-<form method="POST"
+<form method="post"
       action="."
       tal:attributes="action request/URL"
       tal:define="form view/update"


=== Zope3/src/zope/app/browser/services/configureView.pt 1.1 => 1.2 ===
--- Zope3/src/zope/app/browser/services/configureView.pt:1.1	Thu May  1 11:51:24 2003
+++ Zope3/src/zope/app/browser/services/configureView.pt	Wed Jun 25 14:43:08 2003
@@ -5,7 +5,7 @@
 <h2>View registrations for
     <i tal:content="view/summary">key</i></h2>
 
-<form method="POST"
+<form method="post"
       action="."
       tal:attributes="action request/URL"
       tal:define="form view/update"


=== Zope3/src/zope/app/browser/services/connections.pt 1.11 => 1.12 ===
--- Zope3/src/zope/app/browser/services/connections.pt:1.11	Thu May  1 12:28:28 2003
+++ Zope3/src/zope/app/browser/services/connections.pt	Wed Jun 25 14:43:08 2003
@@ -9,7 +9,7 @@
 
       <div class="message" tal:condition="message">
          <span tal:replace="message">view/update message here</span>
-         <br><br><i><a href="">(click to clear message)</a></i>
+         <br/><br/><i><a href="">(click to clear message)</a></i>
       </div>
 
 <p tal:condition="not:configs">None</p>


=== Zope3/src/zope/app/browser/services/edituser.pt 1.1 => 1.2 ===
--- Zope3/src/zope/app/browser/services/edituser.pt:1.1	Thu Dec 26 18:23:26 2002
+++ Zope3/src/zope/app/browser/services/edituser.pt	Wed Jun 25 14:43:08 2003
@@ -17,33 +17,33 @@
     	    <th>Title:</th>
     	    <td>
 	      <input type="text" name="title" size="40" value="" 
-                  tal:attributes="value context/getTitle">  
+                  tal:attributes="value context/getTitle" />
             </td>
     	  </tr>
     	  <tr>
     	    <th>Description:</th>
     	    <td>
 	      <input type="text" name="description" size="40" value=""  
-                  tal:attributes="value context/getDescription">  
+                  tal:attributes="value context/getDescription" />
             </td>
     	  </tr>
     	  <tr>
     	    <th>Login:</th>
     	    <td>
 	      <input type="text" name="login" size="40" value=""
-                  tal:attributes="value context/getLogin">  
+                  tal:attributes="value context/getLogin" />
             </td>
     	  </tr>
     	  <tr>
     	    <th>Password:</th>
     	    <td>
-	      <input type="password" name="password" size="40" value="DEFAULT">
+	      <input type="password" name="password" size="40" value="DEFAULT" />
             </td>
     	  </tr>
     	  <tr>
     	    <th>Roles:</th>
     	    <td>
-	      <select name="roles:list" size="5" multiple>
+	      <select name="roles:list" size="5" multiple="multiple">
               	<tal:block tal:repeat="role view/getAvailableRoles"
               	           tal:define="user_roles context/getRoles"> 
               	  <option value=""
@@ -61,9 +61,9 @@
     	    	
     	</tbody>     
       </table>
-    
+
       <input type="submit" name="edit.html:method" value="Edit" />
-    
+
     </form> 
 
   </div>


=== Zope3/src/zope/app/browser/services/error.pt 1.3 => 1.4 ===
--- Zope3/src/zope/app/browser/services/error.pt:1.3	Mon Mar 10 15:30:35 2003
+++ Zope3/src/zope/app/browser/services/error.pt	Wed Jun 25 14:43:08 2003
@@ -12,7 +12,7 @@
 </p>
 
 <form action="edit.html" method="post">
-<br>
+<br/>
 <table tal:define="props context/getProperties">
   <tr>
     <td align="left" valign="top">


=== Zope3/src/zope/app/browser/services/errorentry.pt 1.3 => 1.4 ===
--- Zope3/src/zope/app/browser/services/errorentry.pt:1.3	Mon Mar 10 15:30:58 2003
+++ Zope3/src/zope/app/browser/services/errorentry.pt	Wed Jun 25 14:43:08 2003
@@ -6,7 +6,7 @@
 <div metal:fill-slot="body">
 <h1>Header</h1>
 <h3>Exception traceback</h3>
-<hr>
+<hr />
 <div tal:define="entry python:context.getLogEntryById(request.get('id'))">
 <em tal:condition="not:entry">
 The specified log entry was not found.  It may have expired.
@@ -53,17 +53,19 @@
 
 <div tal:condition="entry/req_html">
 <h3>REQUEST</h3>
-<hr>
+<hr />
 <div tal:replace="structure entry/req_html"></div>
 </div>
 
 </div>
 
 <p>
-<form action="index.html" method="GET">
+<form action="index.html" method="get">
 <input type="submit" name="submit" value=" Return to log " />
 </form>
 </p>
+
 </div>
 </div>
+</body>
 </html>


=== Zope3/src/zope/app/browser/services/field.py 1.8 => 1.9 ===
--- Zope3/src/zope/app/browser/services/field.py:1.8	Fri Jun  6 16:44:28 2003
+++ Zope3/src/zope/app/browser/services/field.py	Wed Jun 25 14:43:08 2003
@@ -156,7 +156,7 @@
                                         name+'.p', path)
         inputmarkup = '<input type="text" name="%s.d" value="%s">' % (
                       name, dottedname)
-        HTML = 'path: %s<br>dotted name: %s' % (selectmarkup, inputmarkup)
+        HTML = 'path: %s<br/>dotted name: %s' % (selectmarkup, inputmarkup)
         return HTML
 
     def hidden(self):


=== Zope3/src/zope/app/browser/services/serviceactivation.pt 1.7 => 1.8 ===
--- Zope3/src/zope/app/browser/services/serviceactivation.pt:1.7	Wed Jun 18 16:12:10 2003
+++ Zope3/src/zope/app/browser/services/serviceactivation.pt	Wed Jun 25 14:43:08 2003
@@ -19,7 +19,7 @@
 
   <p tal:content="view/update">Message from update() goes here</p>
 
-  <form action="." method="POST"
+  <form action="." method="post"
         tal:attributes="action request/URL">
     <table tal:define="registry view/listRegistry">
 
@@ -53,7 +53,7 @@
 
     <input type="hidden" name="type" value="Events"
            tal:attributes="value request/type|nothing" />
-    <input type="submit" value="Submit">
+    <input type="submit" value="Submit" />
 
   </form>
 


=== Zope3/src/zope/app/browser/services/services.pt 1.8 => 1.9 ===
--- Zope3/src/zope/app/browser/services/services.pt:1.8	Thu May  1 12:28:28 2003
+++ Zope3/src/zope/app/browser/services/services.pt	Wed Jun 25 14:43:08 2003
@@ -13,7 +13,7 @@
 
       <div class="message" tal:condition="message">
          <span tal:replace="message">view/update message here</span>
-         <br><br><i><a href="">(click to clear message)</a></i>
+         <br/><br/><i><a href="">(click to clear message)</a></i>
       </div>
 
       <p tal:condition="not:registries">No services are registered.</p>


=== Zope3/src/zope/app/browser/services/views.pt 1.4 => 1.5 ===
--- Zope3/src/zope/app/browser/services/views.pt:1.4	Sat Jun 21 17:50:15 2003
+++ Zope3/src/zope/app/browser/services/views.pt	Wed Jun 25 14:43:08 2003
@@ -8,7 +8,7 @@
 
       <div class="message" tal:condition="message">
          <span tal:replace="message">view/update message here</span>
-         <br><br><i><a href="">(click to clear message)</a></i>
+         <br/><br/><i><a href="">(click to clear message)</a></i>
       </div>
 
 <p tal:condition="not:configs">None</p>
@@ -21,7 +21,7 @@
         <td>
           <input type="checkbox" name="selected:list"
                  tal:attributes="value config/key" />
-          <br>
+          <br/>
         </td>
         <td>
           <a tal:condition="config/url" tal:attributes="href config/url">
@@ -63,8 +63,8 @@
     -->
     <div class="row">
     <div class="controls"> 
-         <input type="submit" value="Refresh">
-         <input type="submit" value="Search" name="SEARCH">
+         <input type="submit" value="Refresh" />
+         <input type="submit" value="Search" name="SEARCH" />
      </div>
     </div>
 </form>