]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Boost error pages HTML standards.
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 7 Jul 2008 02:06:43 +0000 (14:06 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 7 Jul 2008 02:06:43 +0000 (14:06 +1200)
This converts the hard-coded footer section of all error pages to XHTML
or HTML 4.01 Strict compliance. Ready for any improvements done on pages
templates themselves to matche the compliance level.

TODO: upgrade all page templates to match.

src/errorpage.cc

index 149b417d4933e47a7b4e8997653fe10a7d03949f..6bfb66eab5f3466fa0c0060333a5cd2fa70ad55c 100644 (file)
@@ -87,12 +87,12 @@ error_hard_text[] = {
 
                         {
                             ERR_SQUID_SIGNATURE,
-                            "\n<BR clear=\"all\">\n"
-                            "<HR noshade size=\"1px\">\n"
-                            "<ADDRESS>\n"
+                            "\n<br>\n"
+                            "<hr>\n"
+                            "<div id=\"footer\">\n"
                             "Generated %T by %h (%s)\n"
-                            "</ADDRESS>\n"
-                            "</BODY></HTML>\n"
+                            "</div>\n"
+                            "</body></html>\n"
                         },
                         {
                             TCP_RESET,