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

validator/htdocs detailed-form_directinput.html,1.3,1.4 header.html,1.46,1.47

From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 12 Apr 2007 07:18:16 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1HbtZQ-0004wi-Sf@lionel-hutz.w3.org>

Update of /sources/public/validator/htdocs
In directory hutz:/tmp/cvs-serv17991/htdocs

Modified Files:
	detailed-form_directinput.html header.html 
Log Message:
making prefilling of document structure on the server-side rather than via scripting.
See: http://lists.w3.org/Archives/Public/www-validator/2007Mar/0078.html
+thread
and: http://lists.w3.org/Archives/Public/www-validator/2007Apr/0049.html
+thread



Index: detailed-form_directinput.html
===================================================================
RCS file: /sources/public/validator/htdocs/detailed-form_directinput.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- detailed-form_directinput.html	10 Apr 2007 02:49:44 -0000	1.3
+++ detailed-form_directinput.html	12 Apr 2007 07:18:14 -0000	1.4
@@ -1,10 +1,19 @@
-<tr><th>Pre-fill with:</th><td> <a href="#validate-by-input" onclick="prefill_document('fragment', 'xhtml1')">XHTML 1.0</a> &middot;
-  <a href="#validate-by-input" onclick="prefill_document('fragment', 'html401')">HTML 4.01</a> document structure.</td></tr>
-<tr>
-        <th><label for="<!--#echo var="fieldset_id" -->-doctype">Use Doctype:</label></th>
+<tr><th><input id="<!--#echo var="fieldset_id" -->_prefill_no" name="prefill" type="radio" value="0" checked="checked" />
+  <label for="<!--#echo var="fieldset_id" -->_prefill_no">Validate Full Document</label></th></tr>
+
+<tr class="subchoice" id="choice_full">
+        <th class="subchoice_head"><label for="<!--#echo var="fieldset_id" -->-doctype">Use Doctype:</label></th>
+        
 <td>            <!--#include virtual="doctype-select.html" --></td>
-<td>            <label for="<!--#echo var="fieldset_id" -->-fbd"><input id="<!--#echo var="fieldset_id" -->-fbd" name="fbd" type="checkbox" value="1" />Only if Doctype is missing</label></td>
+<td>            <input id="<!--#echo var="fieldset_id" -->-fbd" name="fbd" type="checkbox" value="1" /><label for="<!--#echo var="fieldset_id" -->-fbd">Only if Doctype is missing</label></td>
 </tr>
+<tr><th><input id="<!--#echo var="fieldset_id" -->_prefill_yes" name="prefill" type="radio" value="1" />
+  <label for="<!--#echo var="fieldset_id" -->_prefill_yes">Validate HTML fragment</label></th></tr>
+  <tr class="subchoice" id="choice_frag">
+    <th class="subchoice_head"><label for="fill_doctype">Use Doctype:</label></th>
+  <td>
+    <input type="radio" name="prefill_doctype" id="<!--#echo var="fieldset_id" -->fill_doctype_html401" value="html401" checked="checked" /><label for="<!--#echo var="fieldset_id" -->fill_doctype_html401">HTML 4.01</label> 
+    <input type="radio" name="prefill_doctype" id="<!--#echo var="fieldset_id" -->fill_doctype_xhtml10" value="xhtml10" /><label for="<!--#echo var="fieldset_id" -->fill_doctype_xhtml10">XHTML 1.0</label></td></tr>
   <tr>
           <td colspan="3"><input type="radio" name="group" id="<!--#echo var="fieldset_id" -->group_no" value="0" checked="checked" /><label for="<!--#echo var="fieldset_id" -->group_no">List Messages Sequentially</label> <input type="radio" name="group" id="<!--#echo var="fieldset_id" -->group_yes" value="1" /><label for="<!--#echo var="fieldset_id" -->group_yes">Group Error Messages by type</label></td>
 
@@ -20,7 +29,7 @@
           <tr>
                   <td><input id="<!--#echo var="fieldset_id" -->-outline" name="outline" type="checkbox" value="1" /><label title="Show an Outline of the document" for="<!--#echo var="fieldset_id" -->-outline">Show Outline</label>
                   </td>
-                  <td><label title="Validate also pages for which the HTTP status code indicates an error" for="<!--#echo var="fieldset_id" -->-No200"><input id="<!--#echo var="fieldset_id" -->-No200" name="No200" type="checkbox" value="1" /> Validate error pages</label></td>
+                  <td><input id="<!--#echo var="fieldset_id" -->-No200" name="No200" type="checkbox" value="1" /><label title="Validate also pages for which the HTTP status code indicates an error" for="<!--#echo var="fieldset_id" -->-No200">Validate error pages</label></td>
 
-                  <td><label title="Verbose Output" for="<!--#echo var="fieldset_id" -->-verbose"><input id="<!--#echo var="fieldset_id" -->-verbose" name="verbose" type="checkbox" value="0" />Verbose Output</label></td>
+                  <td><input id="<!--#echo var="fieldset_id" -->-verbose" name="verbose" type="checkbox" value="0" /><label title="Verbose Output" for="<!--#echo var="fieldset_id" -->-verbose">Verbose Output</label></td>
         </tr>

Index: header.html
===================================================================
RCS file: /sources/public/validator/htdocs/header.html,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- header.html	10 Apr 2007 02:49:44 -0000	1.46
+++ header.html	12 Apr 2007 07:18:14 -0000	1.47
@@ -12,7 +12,6 @@
     <script type="text/javascript" src="<!--#echo var="relroot" -->scripts/tabtastic/attachevent.js"></script>
     <script type="text/javascript" src="<!--#echo var="relroot" -->scripts/tabtastic/addcss.js"></script>
     <script type="text/javascript" src="<!--#echo var="relroot" -->scripts/tabtastic/tabtastic.js"></script>
-    <script type="text/javascript" src="<!--#echo var="relroot" -->scripts/prefill.js"></script>
     <meta name="revision" content="$Id$" />
     <meta name="keywords" content="HTML, HyperText Markup Language, Validation,
       W3C Markup Validation Service" />
Received on Thursday, 12 April 2007 07:18:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:54:57 GMT