diff options
author | link <link@localhost> | 2005-02-04 16:36:49 +0000 |
---|---|---|
committer | link <link@localhost> | 2005-02-04 16:36:49 +0000 |
commit | 29ca9051b1f0e8e422e0b29bff42fc3b63866eb6 (patch) | |
tree | 292bd556af460bd0f2f2b0551965908b625e285d | |
parent | 6f98d48b4f073f838b904452e4e3988cab3626a3 (diff) | |
download | markup-validator-29ca9051b1f0e8e422e0b29bff42fc3b63866eb6.zip markup-validator-29ca9051b1f0e8e422e0b29bff42fc3b63866eb6.tar.gz markup-validator-29ca9051b1f0e8e422e0b29bff42fc3b63866eb6.tar.bz2 |
Enable URL display in result page title (closes Bug #919).
-rwxr-xr-x | httpd/cgi-bin/check | 8 | ||||
-rw-r--r-- | share/templates/en_US/header.tmpl | 2 |
2 files changed, 7 insertions, 3 deletions
diff --git a/httpd/cgi-bin/check b/httpd/cgi-bin/check index f193acf..aedc25a 100755 --- a/httpd/cgi-bin/check +++ b/httpd/cgi-bin/check @@ -9,7 +9,7 @@ # This source code is available under the license at: # http://www.w3.org/Consortium/Legal/copyright-software # -# $Id: check,v 1.378 2005-02-04 13:20:31 link Exp $ +# $Id: check,v 1.379 2005-02-04 16:36:49 link Exp $ # # Disable buffering on STDOUT! @@ -222,7 +222,7 @@ Directory not readable (permission denied): @_r # # Strings - $VERSION = q$Revision: 1.378 $; + $VERSION = q$Revision: 1.379 $; $VERSION =~ s/Revision: ([\d\.]+) /$1/; # @@ -947,6 +947,10 @@ sub prep_template ($$) { $T->param(file_uri_param => uri_escape($File->{URI})); # + # Set URL for page title. + $T->param(page_title_url => $File->{URI}); + + # # Metadata... $T->param(file_modified => $File->{Modified}); $T->param(file_server => $File->{Server}); diff --git a/share/templates/en_US/header.tmpl b/share/templates/en_US/header.tmpl index 0c584d7..816269f 100644 --- a/share/templates/en_US/header.tmpl +++ b/share/templates/en_US/header.tmpl @@ -6,7 +6,7 @@ Content-Type: text/html; charset=utf-8 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> - <title><TMPL_IF NAME="page_title"><TMPL_VAR NAME="page_title"><TMPL_ELSE>Validation Results</TMPL_IF></title> + <title>[WMVS] <TMPL_IF NAME="page_title_url">Result for <TMPL_VAR NAME="page_title_url"><TMPL_ELSE>Validation Results</TMPL_IF></title> <link rev="made" href="mailto:www-validator@w3.org" /> <link rev="start" href="./" title="Home Page" /> <style type="text/css" media="all">@import "./base.css";</style> |