W3C home > Mailing lists > Public > www-validator-cvs@w3.org > September 2007

validator/share/templates/en_US table.tmpl,1.28,1.29

From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 05 Sep 2007 08:14:35 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1ISq1z-0002iQ-Kh@lionel-hutz.w3.org>

Update of /sources/public/validator/share/templates/en_US
In directory hutz:/tmp/cvs-serv9882/share/templates/en_US

Modified Files:
	table.tmpl 
Log Message:
patch by Brett Bieber for Bug/Enhancement 4342
http://www.w3.org/Bugs/Public/show_bug.cgi?id=4342

including the content for revalidation even when using upload or direct input.




Index: table.tmpl
===================================================================
RCS file: /sources/public/validator/share/templates/en_US/table.tmpl,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- table.tmpl	7 May 2007 19:17:58 -0000	1.28
+++ table.tmpl	5 Sep 2007 08:14:33 -0000	1.29
@@ -36,7 +36,8 @@
     </tr>
     <tr>
 <TMPL_IF NAME="is_upload">
-      <th>File:</th><td colspan="2"><TMPL_VAR NAME="file_uri" ESCAPE="HTML"></td>
+      <th>Direct Input:</th><td colspan="2"><textarea id="fragment" name="fragment" rows="12" cols="80"><TMPL_LOOP NAME="file_source"><TMPL_VAR NAME="file_source_line" ESCAPE="HTML">
+</TMPL_LOOP></textarea></td>
 <TMPL_ELSE>
       <th><label title="Address of Page to Validate" for="uri">Address</label>:</th>
       <td colspan="2"><input type="text" id="uri" name="uri" value="<TMPL_VAR NAME="file_uri" ESCAPE="HTML">" size="50" /></td>
@@ -53,26 +54,21 @@
     <tr><th><TMPL_VAR NAME="name" ESCAPE="HTML">:</th><td colspan="2"><TMPL_VAR NAME="value" ESCAPE="HTML" DEFAULT="(undefined)"></td></tr>
   </TMPL_LOOP>
 </TMPL_IF>
-<TMPL_IF NAME="is_upload">
-    <tr><th>Encoding:</th><td colspan="2"><TMPL_VAR NAME="file_charset" ESCAPE="HTML"></td></tr>
-    <tr><th>Doctype:</th><td colspan="2"><TMPL_VAR NAME="file_version" ESCAPE="HTML"></td></tr>
+<TMPL_IF NAME="file_charset">
+  <tr>
+    <th><label title="Character Encoding" for="charset">Encoding</label>:</th>
+    <td><TMPL_VAR NAME="file_charset" ESCAPE="HTML"></td><td><TMPL_INCLUDE NAME="popup_charset.tmpl"></td>
+  </tr>
 <TMPL_ELSE>
-  <TMPL_IF NAME="file_charset">
-    <tr>
-      <th><label title="Character Encoding" for="charset">Encoding</label>:</th>
-      <td><TMPL_VAR NAME="file_charset" ESCAPE="HTML"></td><td><TMPL_INCLUDE NAME="popup_charset.tmpl"></td>
-    </tr>
-  <TMPL_ELSE>
-    <tr><th>Encoding:</th><td colspan="2"><TMPL_INCLUDE NAME="popup_charset.tmpl"></td></tr>
-  </TMPL_IF>
-  <TMPL_IF NAME="file_version">
-    <tr>
-      <th><label for="doctype" title="Document Type">Doctype</label>:</th>
-      <td><TMPL_VAR NAME="file_version" ESCAPE="HTML"></td><td><TMPL_INCLUDE NAME="popup_doctype.tmpl"></td>
-    </tr>
-  <TMPL_ELSE>
-    <tr><th>Doctype:</th><td colspan="2"><TMPL_INCLUDE NAME="popup_doctype.tmpl"></td></tr>
-  </TMPL_IF>
+  <tr><th>Encoding:</th><td colspan="2"><TMPL_INCLUDE NAME="popup_charset.tmpl"></td></tr>
+</TMPL_IF>
+<TMPL_IF NAME="file_version">
+  <tr>
+    <th><label for="doctype" title="Document Type">Doctype</label>:</th>
+    <td><TMPL_VAR NAME="file_version" ESCAPE="HTML"></td><td><TMPL_INCLUDE NAME="popup_doctype.tmpl"></td>
+  </tr>
+<TMPL_ELSE>
+  <tr><th>Doctype:</th><td colspan="2"><TMPL_INCLUDE NAME="popup_doctype.tmpl"></td></tr>
 </TMPL_IF>
 <TMPL_IF NAME="root_element">
   <tr>
@@ -98,7 +94,6 @@
 </TMPL_IF>
   </table>
 
-<TMPL_UNLESS NAME="is_upload">
         <fieldset id="revalidate_opts">
                  <legend>Options</legend>
 
@@ -149,8 +144,5 @@
         </p>
         <div id="revalidate_button" class="submit_button"><input type="submit" value="Revalidate" title="Validate this document again" /></div>
   </fieldset>
-  
-  
-</TMPL_UNLESS>
 </form>
 </TMPL_IF>
Received on Wednesday, 5 September 2007 08:14:38 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 10 December 2014 20:08:28 UTC