[Zope-Checkins] SVN: Zope/branches/2.11/ LP #143444: add labels to checkboxes / radio buttons on import / export form.
Tres Seaver
tseaver at palladion.com
Thu Dec 31 15:29:02 EST 2009
Log message for revision 107476:
LP #143444: add labels to checkboxes / radio buttons on import / export form.
Changed:
U Zope/branches/2.11/doc/CHANGES.txt
U Zope/branches/2.11/lib/python/OFS/dtml/importExport.dtml
-=-
Modified: Zope/branches/2.11/doc/CHANGES.txt
===================================================================
--- Zope/branches/2.11/doc/CHANGES.txt 2009-12-31 20:24:29 UTC (rev 107475)
+++ Zope/branches/2.11/doc/CHANGES.txt 2009-12-31 20:29:02 UTC (rev 107476)
@@ -8,6 +8,9 @@
Bugs Fixed
+ - LP #143444: add labels to checkboxes / radio buttons on import
+ / export form.
+
- Fixed improper handling of IF_MODIFIED_SINCE header
inside Five/browser/resource.py
Modified: Zope/branches/2.11/lib/python/OFS/dtml/importExport.dtml
===================================================================
--- Zope/branches/2.11/lib/python/OFS/dtml/importExport.dtml 2009-12-31 20:24:29 UTC (rev 107475)
+++ Zope/branches/2.11/lib/python/OFS/dtml/importExport.dtml 2009-12-31 20:29:02 UTC (rev 107476)
@@ -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