diff options
author | ot <ot@localhost> | 2007-07-24 07:19:10 +0000 |
---|---|---|
committer | ot <ot@localhost> | 2007-07-24 07:19:10 +0000 |
commit | 700b48938aafdba5d05b29a61de2faafb53e3d61 (patch) | |
tree | def19a10c178922c023c0e2b35e1b636696d5902 /htdocs | |
parent | 1c462bcabad46d968ae5edd9e91285266cf4c262 (diff) | |
download | markup-validator-700b48938aafdba5d05b29a61de2faafb53e3d61.zip markup-validator-700b48938aafdba5d05b29a61de2faafb53e3d61.tar.gz markup-validator-700b48938aafdba5d05b29a61de2faafb53e3d61.tar.bz2 |
include js only where needed, i.e on homepage
Diffstat (limited to 'htdocs')
-rwxr-xr-x | htdocs/header.html | 6 | ||||
-rwxr-xr-x | htdocs/index.html | 5 |
2 files changed, 7 insertions, 4 deletions
diff --git a/htdocs/header.html b/htdocs/header.html index cebc4c1..482c622 100755 --- a/htdocs/header.html +++ b/htdocs/header.html @@ -9,9 +9,11 @@ <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> - <meta name="revision" content="$Id: header.html,v 1.51 2007-07-20 03:10:56 ot Exp $" /> + <!--#endif --> + <meta name="revision" content="$Id: header.html,v 1.52 2007-07-24 07:19:10 ot Exp $" /> <meta name="keywords" content="HTML, HyperText Markup Language, Validation, W3C Markup Validation Service" /> <meta name="description" content="W3C's easy-to-use @@ -20,7 +22,7 @@ <!--#if expr="$feeds = 1" --> <link rel="alternate" type="application/atom+xml" href="http://www.w3.org/QA/Tools/validator-whatsnew.atom" /> <!--#endif --> - <!-- SSI Template Version: $Id: header.html,v 1.51 2007-07-20 03:10:56 ot Exp $ --> + <!-- SSI Template Version: $Id: header.html,v 1.52 2007-07-24 07:19:10 ot Exp $ --> </head> diff --git a/htdocs/index.html b/htdocs/index.html index 0516db4..9a50881 100755 --- a/htdocs/index.html +++ b/htdocs/index.html @@ -1,8 +1,9 @@ -<!--#set var="revision" value="\$Id: index.html,v 1.92 2007-07-17 05:17:56 ot Exp $" ---><!--#set var="date" value="\$Date: 2007-07-17 05:17:56 $" +<!--#set var="revision" value="\$Id: index.html,v 1.93 2007-07-24 07:19:10 ot Exp $" +--><!--#set var="date" value="\$Date: 2007-07-24 07:19:10 $" --><!--#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"> |