]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
HTML bugfixes in the new STYLE tag
authorhno <>
Sun, 21 Jul 2002 23:12:22 +0000 (23:12 +0000)
committerhno <>
Sun, 21 Jul 2002 23:12:22 +0000 (23:12 +0000)
src/cachemgr.cc
src/ftp.cc
src/gopher.cc
src/urn.cc

index 50faab02eab5abfb5c04b63e08795e5e9c57fbd6..9d7d6357e8c00ca010a2bb4c28c6f96750009773 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: cachemgr.cc,v 1.96 2002/07/18 23:55:43 hno Exp $
+ * $Id: cachemgr.cc,v 1.97 2002/07/21 17:12:22 hno Exp $
  *
  * DEBUG: section 0     CGI Cache Manager
  * AUTHOR: Duane Wessels
@@ -237,7 +237,7 @@ auth_html(const char *host, int port, const char *user_name)
     printf("Content-Type: text/html\r\n\r\n");
     printf("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n");
     printf("<HTML><HEAD><TITLE>Cache Manager Interface</TITLE>\n");
-    printf("<STYLE type= \"text/css\"><!--BODY{background-color:#ffffff; font-family:verdana,sans-serif}--></STYLE></HEAD>\n");
+    printf("<STYLE type=\"text/css\"><!--BODY{background-color:#ffffff; font-family:verdana,sans-serif}--></STYLE></HEAD>\n");
     printf("<BODY><H1>Cache Manager Interface</H1>\n");
     printf("<P>This is a WWW interface to the instrumentation interface\n");
     printf("for the Squid object cache.</P>\n");
@@ -264,7 +264,7 @@ error_html(const char *msg)
     printf("Content-Type: text/html\r\n\r\n");
     printf("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n");
     printf("<HTML><HEAD><TITLE>Cache Manager Error</TITLE>\n");
-    printf("<STYLE type= \"text/css\"><!--BODY{background-color:#ffffff; font-family:verdana,sans-serif}--></STYLE></HEAD>\n");
+    printf("<STYLE type=\"text/css\"><!--BODY{background-color:#ffffff; font-family:verdana,sans-serif}--></STYLE></HEAD>\n");
     printf("<BODY><H1>Cache Manager Error</H1>\n");
     printf("<P>\n%s</P>\n", msg);
     print_trailer();
@@ -456,7 +456,7 @@ read_reply(int s, cachemgr_request * req)
            printf("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n");
            printf("<HTML><HEAD><TITLE>CacheMgr@%s: %s</TITLE>\n",
                req->hostname, action);
-           printf("<STYLE type= \"text/css\"><!--BODY{background-color:#ffffff; font-family:verdana,sans-serif}--></STYLE>\n");
+           printf("<STYLE type=\"text/css\"><!--BODY{background-color:#ffffff; font-family:verdana,sans-serif}--></STYLE>\n");
            printf("</HEAD><BODY>\n");
            if (parse_menu) {
                printf("<H2><a href=\"%s\">Cache Manager</a> menu for %s:</H2>",
index fbc6c38dd6c7a9189820a31aea8ab5b3e46b1231..270805eb0678242c21eec0de3c3c6750d627690f 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: ftp.cc,v 1.323 2002/07/18 23:43:14 hno Exp $
+ * $Id: ftp.cc,v 1.324 2002/07/21 17:12:22 hno Exp $
  *
  * DEBUG: section 9     File Transfer Protocol (FTP)
  * AUTHOR: Harvest Derived
@@ -360,7 +360,7 @@ ftpListingStart(FtpStateData * ftpState)
     storeAppendPrintf(e, "FTP Directory: %s\n",
        html_quote(strBuf(ftpState->title_url)));
     storeAppendPrintf(e, "</TITLE>\n");
-    storeAppendPrintf(e, "<STYLE type= \"text/css\"><!--BODY{background-color:#ffffff; font-family:verdana,sans-serif}--></STYLE>\n");
+    storeAppendPrintf(e, "<STYLE type=\"text/css\"><!--BODY{background-color:#ffffff; font-family:verdana,sans-serif}--></STYLE>\n");
     if (ftpState->flags.use_base)
        storeAppendPrintf(e, "<BASE HREF=\"%s\">\n",
            html_quote(strBuf(ftpState->base_href)));
index e542229203342b211c05c8c85cdfd5f69f2b916a..0946e72eaf3cc72e5041851a2270df4ba55ec06b 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: gopher.cc,v 1.168 2002/07/20 00:18:15 hno Exp $
+ * $Id: gopher.cc,v 1.169 2002/07/21 17:12:22 hno Exp $
  *
  * DEBUG: section 10    Gopher
  * AUTHOR: Harvest Derived
@@ -243,7 +243,7 @@ gopherHTMLHeader(StoreEntry * e, const char *title, const char *substring)
     storeAppendPrintf(e, "<HTML><HEAD><TITLE>");
     storeAppendPrintf(e, title, substring);
     storeAppendPrintf(e, "</TITLE>");
-    storeAppendPrintf(e, "<STYLE type= \"text/css\"><!--BODY{background-color:#ffffff; font-family:verdana,sans-serif}--></STYLE>\n");
+    storeAppendPrintf(e, "<STYLE type=\"text/css\"><!--BODY{background-color:#ffffff; font-family:verdana,sans-serif}--></STYLE>\n");
     storeAppendPrintf(e, "</HEAD>\n<BODY><H1>");
     storeAppendPrintf(e, title, substring);
     storeAppendPrintf(e, "</H1>\n");
index 20432135e1eeae3c680145903391bbbccf235c22..6bc90c2b8ac0ce43c5373b74160c52aa300118ff 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: urn.cc,v 1.71 2002/07/18 23:43:14 hno Exp $
+ * $Id: urn.cc,v 1.72 2002/07/21 17:12:22 hno Exp $
  *
  * DEBUG: section 52    URN Parsing
  * AUTHOR: Kostas Anagnostakis
@@ -260,7 +260,7 @@ urnHandleReply(void *data, char *unused_buf, ssize_t size)
     memBufDefInit(&mb);
     memBufPrintf(&mb,
        "<TITLE>Select URL for %s</TITLE>\n"
-       "<STYLE type= \"text/css\"><!--BODY{background-color:#ffffff; font-family:verdana,sans-serif}--></STYLE>\n"
+       "<STYLE type=\"text/css\"><!--BODY{background-color:#ffffff; font-family:verdana,sans-serif}--></STYLE>\n"
        "<H2>Select URL for %s</H2>\n"
        "<TABLE BORDER=\"0\" WIDTH=\"100%%\">\n", storeUrl(e), storeUrl(e));
     for (i = 0; i < urlcnt; i++) {