W3C home > Mailing lists > Public > www-validator-cvs@w3.org > December 2009

validator/httpd/cgi-bin check,1.743,1.744

From: Ville Skytta via cvs-syncmail <cvsmail@w3.org>
Date: Sat, 05 Dec 2009 10:05:37 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1NGrWD-000077-SI@lionel-hutz.w3.org>
Update of /sources/public/validator/httpd/cgi-bin
In directory hutz:/tmp/cvs-serv414/httpd/cgi-bin

Modified Files:
	check 
Log Message:
Make validator version available to templates.

Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.743
retrieving revision 1.744
diff -u -d -r1.743 -r1.744
--- check	4 Dec 2009 22:28:42 -0000	1.743
+++ check	5 Dec 2009 10:05:35 -0000	1.744
@@ -986,7 +986,8 @@
     if (!$File->{_Templates}->{$fname}) {
         my $tmpl = HTML::Template->new(%{$File->{Template_Defaults}},
             filename => $fname);
-        $tmpl->param(cfg_home_page => $CFG->{'Home Page'});
+        $tmpl->param(cfg_home_page     => $CFG->{'Home Page'});
+        $tmpl->param(validator_version => $VERSION);
         $File->{_Templates}->{$fname} = $tmpl;
     }
     return $File->{_Templates}->{$fname};
Received on Saturday, 5 December 2009 10:05:39 GMT

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