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

validator/htdocs index.html,1.92,1.93 header.html,1.51,1.52

From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 24 Jul 2007 07:19:13 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1IDEfp-0005Y1-HT@lionel-hutz.w3.org>

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

Modified Files:
	index.html header.html 
Log Message:
include js only where needed, i.e on homepage

Index: index.html
===================================================================
RCS file: /sources/public/validator/htdocs/index.html,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -d -r1.92 -r1.93
--- index.html	17 Jul 2007 05:17:56 -0000	1.92
+++ index.html	24 Jul 2007 07:19:10 -0000	1.93
@@ -3,6 +3,7 @@
 --><!--#set var="title" value="The W3C Markup Validation Service"
 --><!--#set var="relroot" value="./"
 --><!--#set var="feeds" value="1"
+--><!--#set var="includeJS" value="1"
 --><!--#include virtual="header.html" -->
 
 <div id="frontforms">

Index: header.html
===================================================================
RCS file: /sources/public/validator/htdocs/header.html,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -d -r1.51 -r1.52
--- header.html	20 Jul 2007 03:10:56 -0000	1.51
+++ header.html	24 Jul 2007 07:19:10 -0000	1.52
@@ -9,8 +9,10 @@
     <style type="text/css" media="all">
       @import "<!--#echo var="relroot" -->style/base.css";
     </style>
+    <!--#if expr="$includeJS = 1" -->
     <script type="text/javascript" src="scripts/mootools.js"></script>
     <script type="text/javascript" src="scripts/w3c-validator.js"></script>
+    <!--#endif -->    
     <meta name="revision" content="$Id$" />
     <meta name="keywords" content="HTML, HyperText Markup Language, Validation,
       W3C Markup Validation Service" />
Received on Tuesday, 24 July 2007 07:19:17 GMT

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