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

Tres Seaver tseaver at palladion.com
Thu Dec 31 15:34:20 EST 2009


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

Changed:
  U   Zope/branches/2.12/doc/CHANGES.rst
  U   Zope/branches/2.12/src/OFS/dtml/importExport.dtml

-=-
Modified: Zope/branches/2.12/doc/CHANGES.rst
===================================================================
--- Zope/branches/2.12/doc/CHANGES.rst	2009-12-31 20:29:02 UTC (rev 107476)
+++ Zope/branches/2.12/doc/CHANGES.rst	2009-12-31 20:34:19 UTC (rev 107477)
@@ -57,7 +57,10 @@
 Bugs Fixed
 ++++++++++
 
-- LP #496961:  Remove all mention of ``standard_html_header`` and
+- LP #143444: add labels to checkboxes / radio buttons on import /
+  export form.
+
+- LP #496941:  Remove all mention of ``standard_html_header`` and
   ``standard_html_footer`` from default DTML content.
 
 - Fixed a regression in Products.PageTemplates that meant filesystem templates

Modified: Zope/branches/2.12/src/OFS/dtml/importExport.dtml
===================================================================
--- Zope/branches/2.12/src/OFS/dtml/importExport.dtml	2009-12-31 20:29:02 UTC (rev 107476)
+++ Zope/branches/2.12/src/OFS/dtml/importExport.dtml	2009-12-31 20:34:19 UTC (rev 107477)
@@ -42,11 +42,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>  
@@ -57,7 +61,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>
@@ -115,11 +123,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>
@@ -136,10 +148,3 @@
 
 
 <dtml-var manage_page_footer>
-
-
-
-
-
-
-



More information about the checkins mailing list