- <style type="text/css">
- body, div, p, h1, h2, ul, ol, li, td, th, dl, dt, dd { font-family:helvetica,helv,arial,sans-serif; font-size:10px }
- body { background-color: #ffffff }
- div.title { background-color:#dddddd; border:solid black 1px; margin:20px; min-width: 80%; padding:20px; font-size:15px; font-weight:bold }
- div.box { background-color:#eeeeee; border:solid black 1px; margin:20px; min-width: 80%; padding:20px; font-size:10px }
- div.infobox { background-color:#ccccff; border:solid black 1px; margin:20px; min-width: 60%; max-width: 60%; padding:20px; font-size:10px; }
- div.errorbox { background-color:#ffdddd; border:solid black 1px; margin:20px; min-width: 60%; max-width: 60%; padding:20px; font-size:10px; }
- </style>
-
-<?php
-
-/*
- * MUST be updated in sync with actions file:
- */
-$required_actions_file_version = "1.0";
-$required_privoxy_version = "2.9.13";
-$actions_file_download = "http://www.privoxy.org/actions/testdrive.action";
-
-
-/*
- * For testing:
- */
-$base_url = "http://www.oesterhelt.org/actions";
-//$base_url = "http://www.privoxy.org/actions";
-//$base_url = "http://localhost/actions";
-error_reporting(E_NONE);
-//error_reporting(E_ALL);
-//phpinfo();
-
-
-/*
- * Provide default if URL unset
- */
-if (!isset($url))
-{
- $url = "http://www.example.com/";
-}
-
-
-/*
- * Deny feedback which is not based on our latest
- * distribution:
- */
-$headers = getallheaders();
-
-if (!isset($headers["X-Actions-File-Version"]) || $headers["X-Actions-File-Version"] < $required_actions_file_version)
-{
- echo ("<title>Invalid Privoxy Action List Feedback</title></head>
- <body><div class=\"title\">Invalid Feedback Submission</div>
- <div align=\"center\">
- <div class=\"errorbox\" align=\"left\"><p>As much as we welcome your feedback, please note that
- we can only accept problem reports based on:
- <ul>
- <li><a href=\"http://www.privoxy.org/\">Privoxy</a> version $required_privoxy_version or later</li>
- <li><a href=\"$actions_file_download\">Actionsfile</a> version version $required_actions_file_version or later</li>
- </ul>
- <p>We hope you will understand that we feel unable to maintain concurrent versions of the file.</p>
- </div>
- </div>
- </body>
- </html>");
- exit;
-}
-
-?>
-
- <title>Privoxy Action List Feedback - Step 1 of 2</title>