[Zope-Checkins] SVN: Zope/branches/2.10/ LP #143444: add labels to checkboxes / radio buttons on import / export form.

Tres Seaver tseaver at palladion.com
Thu Dec 31 15:24:29 EST 2009


Log message for revision 107475:
  LP #143444: add labels to checkboxes / radio buttons on import / export form.
  
  

Changed:
  U   Zope/branches/2.10/doc/CHANGES.txt
  U   Zope/branches/2.10/lib/python/OFS/dtml/importExport.dtml

-=-
Modified: Zope/branches/2.10/doc/CHANGES.txt
===================================================================
--- Zope/branches/2.10/doc/CHANGES.txt	2009-12-31 20:20:12 UTC (rev 107474)
+++ Zope/branches/2.10/doc/CHANGES.txt	2009-12-31 20:24:29 UTC (rev 107475)
@@ -8,6 +8,9 @@
 
     Bugs fixed
 
+      - LP #143444: add labels to checkboxes / radio buttons on
+        import / export form.
+
       - fixed improper usage of the IF_MODIFIED_SINCE header inside
         Five/browser/resource.py
 

Modified: Zope/branches/2.10/lib/python/OFS/dtml/importExport.dtml
===================================================================
--- Zope/branches/2.10/lib/python/OFS/dtml/importExport.dtml	2009-12-31 20:20:12 UTC (rev 107474)
+++ Zope/branches/2.10/lib/python/OFS/dtml/importExport.dtml	2009-12-31 20:24:29 UTC (rev 107475)
@@ -40,11 +40,15 @@
   </td>
   <td align="left" valign="top">
   <div class="form-text">
-  <input type="radio" name="download:int" value="1" />
+  <label for="download_local">
+  <input type="radio" name="download:int" value="1" id="download_local" />
   Download to local machine
+  </label>
   <br />
-  <input type="radio" name="download:int" value="0" checked />
+  <label for="download_server">
+  <input type="radio" name="download:int" value="0" id="download_server" checked />
   Save to file on server
+  </label>
   </div>
   </td>
 </tr>  
@@ -54,7 +58,11 @@
   </td>
   <td align="left" valign="top">
   <div class="form-text">
-  <input type="checkbox" name="toxml" value="Y" /> XML format? (unsupported, see above)
+  <label for="toxml">
+  <input type="checkbox" id="toxml" name="toxml" value="Y" />
+  XML format?
+  </label>
+  <em>(unsupported, see above)</em>
   </div>
   </td>
 </tr>
@@ -111,11 +119,15 @@
   </td>
   <td align="left" valign="top">
   <div class="form-text">
-  <input type="radio" name="set_owner:int" value="1" checked />
+  <label for="owner_take">
+  <input type="radio" name="set_owner:int" value="1" id="owner_take" checked />
   Take ownership of imported objects
+  </label>
   <br />
-  <input type="radio" name="set_owner:int" value="0" /> 
+  <label for="owner_retain">
+  <input type="radio" name="set_owner:int" value="0" id="owner_retain" /> 
   Retain existing ownership information
+  </label>
   </div>
   </td>
 </tr>
@@ -132,10 +144,3 @@
 
 
 <dtml-var manage_page_footer>
-
-
-
-
-
-
-



More information about the Zope-Checkins mailing list