generated
[privoxy.git] / doc / webserver / actions / step2.php
index 81c39bd..bdc08cd 100644 (file)
@@ -8,9 +8,18 @@
               This file belongs in
               ijbswa.sourceforge.net:/home/groups/i/ij/ijbswa/htdocs/
 
-  $Id: step2.php,v 1.6 2002/04/02 07:22:19 oes Exp $
+  $Id: step2.php,v 1.13 2002/04/09 13:08:21 oes Exp $
 
   $Log: step2.php,v $
+  Revision 1.13  2002/04/09 13:08:21  oes
+  declare script type
+
+  Revision 1.12  2002/04/08 17:04:05  oes
+  Adapt to unified stylesheet
+
+  Revision 1.11  2002/04/07 15:00:20  oes
+  Descand into framesets to harvest all image URLs
+
   Revision 1.10  2002/04/06 15:19:35  oes
   Cosmetics   Clean-up, smarter handling of unreachable URLs
 
@@ -68,6 +77,8 @@
  <head>
   <meta http-equiv="Content-Style-Type" content="text/css">
   <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+  <meta http-equiv="Content-Script-Type" content="text/javascript">
+  <link rel="stylesheet" type="text/css" href="../privoxy.css">
   <link rel="stylesheet" type="text/css" href="../p_feedback.css">
 
   <script language="javascript" type="text/javascript">
@@ -257,7 +268,7 @@ function error_abort($title, $message)
               </h1>
              </div>
             <center>
-             <div class=\"errorbox\">
+             <div class=\"warning\">
               $message
              </div>
             </center>
@@ -290,7 +301,7 @@ if (!isset($problem) || $problem == "INVALID")
 /*
  * If the protocol is missing from $referrer_url, prepend "http://"
  */
-if (strncmp("http://", $referrer_url, 7))
+if (!preg_match('|^https?://|i', $referrer_url, $dummy))
 {
    $referrer_url = "http://" . $referrer_url;
 }