lenya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gre...@apache.org
Subject svn commit: r169217 - /lenya/branches/BRANCH_1_2_X/src/webapp/lenya/pubs/default/lenya/xslt/authoring/create-language.xsl /lenya/branches/BRANCH_1_2_X/src/webapp/lenya/pubs/default/lenya/xslt/authoring/create.xsl
Date Mon, 09 May 2005 02:04:30 GMT
Author: gregor
Date: Sun May  8 19:04:30 2005
New Revision: 169217

URL: http://svn.apache.org/viewcvs?rev=169217&view=rev
Log:
Start to use labels for accessibility

Modified:
    lenya/branches/BRANCH_1_2_X/src/webapp/lenya/pubs/default/lenya/xslt/authoring/create-language.xsl
    lenya/branches/BRANCH_1_2_X/src/webapp/lenya/pubs/default/lenya/xslt/authoring/create.xsl

Modified: lenya/branches/BRANCH_1_2_X/src/webapp/lenya/pubs/default/lenya/xslt/authoring/create-language.xsl
URL: http://svn.apache.org/viewcvs/lenya/branches/BRANCH_1_2_X/src/webapp/lenya/pubs/default/lenya/xslt/authoring/create-language.xsl?rev=169217&r1=169216&r2=169217&view=diff
==============================================================================
--- lenya/branches/BRANCH_1_2_X/src/webapp/lenya/pubs/default/lenya/xslt/authoring/create-language.xsl
(original)
+++ lenya/branches/BRANCH_1_2_X/src/webapp/lenya/pubs/default/lenya/xslt/authoring/create-language.xsl
Sun May  8 19:04:30 2005
@@ -99,21 +99,21 @@
             <table class="lenya-table-noborder">
               <tr>
                 <td class="lenya-form-caption">
-                  <i18n:text>Document ID</i18n:text>:</td>
+                  <i18n:text>Document ID</i18n:text>: </td>
                 <td>
                   <xsl:value-of select="/parent-child/document-id"/>
                 </td>
               </tr>
               <tr>
-                <td class="lenya-form-caption">
-                  <i18n:text>Navigation Title</i18n:text>*:</td>
+                <td class="lenya-form-caption"><label for="properties.create.child-name">
+                  <i18n:text>Navigation Title</i18n:text>*: </label></td>
                 <td>
                   <input class="lenya-form-element" type="text" name="properties.create.child-name"/>
                 </td>
               </tr>
               <tr>
-                <td class="lenya-form-caption">
-                  <i18n:text>Language</i18n:text>:</td>
+                <td class="lenya-form-caption"><label for="properties.create.new.language">
+                  <i18n:text>Language</i18n:text>: </label></td>
                 <td>
                   <select class="lenya-form-element" name="properties.create.new.language">
                     <xsl:apply-templates select="dc:languages"/>
@@ -121,38 +121,38 @@
                 </td>
               </tr>
               <tr>
-                <td class="lenya-form-caption">
-                  <i18n:text>Creator</i18n:text>:</td>
+                <td class="lenya-form-caption"><label for="properties.create.creator">
+                  <i18n:text>Creator</i18n:text>: </label></td>
                 <td>
                   <input class="lenya-form-element" type="hidden" name="properties.create.creator"
value="{/parent-child/dc:creator}"/>
                   <xsl:value-of select="/parent-child/dc:creator"/>
                 </td>
               </tr>
               <tr>
-                <td class="lenya-form-caption">
-                  <i18n:text>Subject</i18n:text>:</td>
+                <td class="lenya-form-caption"><label for="properties.create.subject">
+                  <i18n:text>Subject</i18n:text>:</label></td>
                 <td>
                   <input class="lenya-form-element" type="text" name="properties.create.subject"/>
                 </td>
               </tr>
               <tr>
-                <td class="lenya-form-caption">
-                  <i18n:text>Publisher</i18n:text>:</td>
+                <td class="lenya-form-caption"><label for="properties.create.publisher">
+                  <i18n:text>Publisher</i18n:text>:</label></td>
                 <td>
                   <input class="lenya-form-element" type="text" name="properties.create.publisher"
value="{/parent-child/dc:publisher}"/>
                 </td>
               </tr>
               <tr>
-                <td class="lenya-form-caption">
-                  <i18n:text>Date</i18n:text>:</td>
+                <td class="lenya-form-caption"><label for="properties.create.date">
+                  <i18n:text>Date</i18n:text>: </label></td>
                 <td>
                   <input class="lenya-form-element" type="hidden" name="properties.create.date"
value="{/parent-child/dc:date}"/>
                   <xsl:value-of select="/parent-child/dc:date"/>
                 </td>
               </tr>
               <tr>
-                <td class="lenya-form-caption">
-                  <i18n:text>Rights</i18n:text>:</td>
+                <td class="lenya-form-caption"><label for="properties.create.rights">
+                  <i18n:text>Rights</i18n:text>: </label></td>
                 <td>
                   <input class="lenya-form-element" type="text" name="properties.create.rights"
value="{/parent-child/dc:rights}"/>
                 </td>

Modified: lenya/branches/BRANCH_1_2_X/src/webapp/lenya/pubs/default/lenya/xslt/authoring/create.xsl
URL: http://svn.apache.org/viewcvs/lenya/branches/BRANCH_1_2_X/src/webapp/lenya/pubs/default/lenya/xslt/authoring/create.xsl?rev=169217&r1=169216&r2=169217&view=diff
==============================================================================
--- lenya/branches/BRANCH_1_2_X/src/webapp/lenya/pubs/default/lenya/xslt/authoring/create.xsl
(original)
+++ lenya/branches/BRANCH_1_2_X/src/webapp/lenya/pubs/default/lenya/xslt/authoring/create.xsl
Sun May  8 19:04:30 2005
@@ -94,20 +94,20 @@
               </tr>
               <tr>
                 <td class="lenya-entry-caption">
-                  <i18n:text>Document ID</i18n:text>*: </td>
+                  <label for="properties.create.child-id"><i18n:text>Document
ID</i18n:text>*: </label></td>
                 <td>
                   <input class="lenya-form-element" type="text" name="properties.create.child-id"/>
                   <br/> (<i18n:text>No whitespace, no special characters</i18n:text>)</td>
               </tr>
               <tr>
                 <td class="lenya-entry-caption">
-                  <i18n:text>Navigation Title</i18n:text>*: </td>
+                  <label for="properties.create.child-name"><i18n:text>Navigation
Title</i18n:text>*: </label></td>
                 <td>
                   <input class="lenya-form-element" type="text" name="properties.create.child-name"/>
                 </td>
               </tr>
               <tr>
-                <td class="lenya-entry-caption"><i18n:text>default.createdoc.visibleinnavigation</i18n:text></td>
+                <td class="lenya-entry-caption"><label for="properties.create.visible"><i18n:text>default.createdoc.visibleinnavigation</i18n:text></label></td>
                 <td>
                   <select class="lenya-form-element" name="properties.create.visible">
                     <option selected="true" value="yes"><i18n:text>true</i18n:text></option>
@@ -117,36 +117,31 @@
               </tr>
               <xsl:apply-templates select="allowedLanguages"/>
               <tr>
-                <td class="lenya-entry-caption">
-                  <i18n:text>Creator</i18n:text>:</td>
+                <td class="lenya-entry-caption"><label for="properties.create.creator"><i18n:text>Creator</i18n:text>:
</label></td>
                 <td>
                   <input class="lenya-form-element" type="text" name="properties.create.creator"
value="{/parent-child/dc:creator}"/>
                 </td>
               </tr>
               <tr>
-                <td class="lenya-entry-caption">
-                  <i18n:text>Subject</i18n:text>:</td>
+                <td class="lenya-entry-caption"><label for="properties.create.subject"><i18n:text>Subject</i18n:text>:
</label></td>
                 <td>
                   <input class="lenya-form-element" type="text" name="properties.create.subject"/>
                 </td>
               </tr>
               <tr>
-                <td class="lenya-entry-caption">
-                  <i18n:text>Publisher</i18n:text>:</td>
+                <td class="lenya-entry-caption"><label for="properties.create.publisher"><i18n:text>Publisher</i18n:text>:
</label></td>
                 <td>
                   <input class="lenya-form-element" type="text" name="properties.create.publisher"
value="{/parent-child/dc:publisher}"/>
                 </td>
               </tr>
               <tr>
-                <td class="lenya-entry-caption">
-                  <i18n:text>Date</i18n:text>:</td>
+                <td class="lenya-entry-caption"><label for="properties.create.date"><i18n:text>Date</i18n:text>:
</label></td>
                 <td>
                   <input class="lenya-form-element" type="text" name="properties.create.date"
value="{/parent-child/dc:date}"/>
                 </td>
               </tr>
               <tr>
-                <td class="lenya-entry-caption">
-                  <i18n:text>Rights</i18n:text>:</td>
+                <td class="lenya-entry-caption"><label for="properties.create.rights"><i18n:text>Rights</i18n:text>:
</label></td>
                 <td>
                   <input class="lenya-form-element" type="text" name="properties.create.rights"/>
                 </td>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org


Mime
View raw message