]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Boost error pages HTML standards.
authorAmos Jeffries <amosjeffries@squid-cache.org>
Sat, 12 Jul 2008 12:24:42 +0000 (06:24 -0600)
committerAmos Jeffries <amosjeffries@squid-cache.org>
Sat, 12 Jul 2008 12:24:42 +0000 (06:24 -0600)
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 page
templates themselves to match the compliance level.

src/errorpage.cc

index 22d07f3e0dff9b9f16571ed5069a8a14e0acea49..4e683d060fb67cc837df4367654aa8dba3466f3b 100644 (file)
@@ -81,12 +81,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,