X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=doc%2Fwebserver%2Factions%2Findex.php;h=65ca715a239637f632c0ba3555920c4a2abfee92;hp=e01935f266a6f73c595afd0a6f267a7466286e96;hb=efd8e95a38aae502ae4d3b7979488881596cc6b7;hpb=273aaf5afed7e955586373e2e70fd23e29ce1514 diff --git a/doc/webserver/actions/index.php b/doc/webserver/actions/index.php index e01935f2..65ca715a 100755 --- a/doc/webserver/actions/index.php +++ b/doc/webserver/actions/index.php @@ -2,15 +2,86 @@ - + + + + + Privoxy: $title + + +
+

+ Privoxy: $title +

+
+
+
+ $message +
+
+

Valid HTML 4.01 Transitional

+ + \n"); + exit; +} + +/* + * Bookmarklet that leads here: + */ +$my_address = "http://" . $HTTP_SERVER_VARS["HTTP_HOST"] . $PHP_SELF; +$bookmarklet = "javascript:w=Math.floor(screen.width/2);h=Math.floor(screen.height*0.9);void(window.open('$my_address?url='+escape(location.href)," . + "'Feedback','screenx='+w+',width='+w+',height='+h+',scrollbars=yes,toolbar=no,location=no,directories=no,status=no,menubar=no," . + "copyhistory=no').focus());"; /* * Provide default if URL unset @@ -79,7 +185,10 @@ if (!isset($url)) { $url = "http://www.example.com/"; } - +else +{ + $url = strtr($url, " ", "+"); +} /* * Deny feedback which is not based on our latest @@ -87,23 +196,20 @@ if (!isset($url)) */ $headers = getallheaders(); -if (!isset($headers["X-Actions-File-Version"]) || $headers["X-Actions-File-Version"] < $required_actions_file_version) +if (!isset($headers["X-Actions-File-Version"]) || $headers["X-Actions-File-Version"] != $required_actions_file_version) { - echo ("Invalid Privoxy Action List Feedback -
Invalid Feedback Submission
-
-

As much as we welcome your feedback, please note that - we can only accept problem reports based on: -

-

We hope you will understand that we feel unable to maintain concurrent versions of the file.

-
-
- - "); - exit; + + error_abort("invalid", "

As much as we welcome your feedback, please note that + we can only accept problem reports based on: +

+ +

We hope you will understand that we feel unable to maintain concurrent versions of the file.

+

Hint: To upgrade your actions file, follow the above link, then save as default.action, overwriting + the old copy in your Privoxy config directory +

"); } ?> @@ -112,28 +218,40 @@ if (!isset($headers["X-Actions-File-Version"]) || $headers["X-Actions-File-Versi -
Privoxy Action List Feedback - Step 1 of 2
+
+

+ Privoxy Action List Feedback - Step 1 of 2 +

+

Thank you for reporting a missing or invalid action! -
The Privoxy team relies on your feedback to maintain an efficient actions file!

- Please fill the below form and click to proceed to step 2. + The Privoxy team relies on your feedback to maintain an efficient actions file! +
Please fill the below form and click to proceed to step 2. +

+ +

+ Please keep in mind that this is not the place for + support requests, +
bug reports or + feature requests.

+
-
+ @@ -162,21 +280,16 @@ if (!isset($headers["X-Actions-File-Version"]) || $headers["X-Actions-File-Versi -
-
-

- - Using Bookmarklets for Feedback - -

+
+
+

Using Bookmarklets for Feedback

To make it even easier for you, we provide a bookmarklet which will not only take you here from any troubled page you might be surfing, but also pre-fill the form!

Please right-click the following link and choose "Add to Favorites" (IE) or "Add Bookmark for Link" (Netscape): - Privoxy-Submit + Privoxy - Submit Actions File Feedback

@@ -185,7 +298,9 @@ if (!isset($headers["X-Actions-File-Version"]) || $headers["X-Actions-File-Versi and submit feedback with a single click!

-
+ + +

Valid HTML 4.01 Transitional

URL: - +