Author: jfs
Date: Tue Mar  4 20:18:45 2014
New Revision: 10382

URL: http://svn.debian.org/wsvn/?sc=1&rev=10382
Log:

Improve HTML pages presented as part of errors by adding the same header as for 
other pages and
providing a more descriptive link.


Modified:
    man-cgi/man.cgi

Modified: man-cgi/man.cgi
URL: http://svn.debian.org/wsvn/man-cgi/man.cgi?rev=10382&op=diff
==============================================================================
--- man-cgi/man.cgi     (original)
+++ man-cgi/man.cgi     Tue Mar  4 20:18:45 2014
@@ -1504,11 +1504,12 @@
        local($message) = @_;
        &http_header("text/html");
        print &html_header("Error");
-       print $message;
+       print "<H1>$www{'head'}</H1>\n\n";
+       print "<P>".$message."</P>";
 
 print qq{
 <p>
-<A HREF="$BASE">home</A>
+<A HREF="$BASE">Return to the search interface</A>
 };
         print &html_footer();
        exit(0);


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: https://lists.debian.org/[email protected]

Reply via email to