- From: Ville Skytta via cvs-syncmail <cvsmail@w3.org>
- Date: Sat, 05 Dec 2009 10:05:37 +0000
- To: www-validator-cvs@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 UTC