X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=doc%2Fwebserver%2Factions%2Findex.php;h=d7dee35772ba577f0c7559f22f7d3e1a167ee5b3;hb=e9d0a6d5225e5d7c0cfbafe6ed34db1733ad52d9;hp=26d52011968f84aafe2d24fd3a814770b988942b;hpb=acfe700ddafd7570cd1475629a45d1146e521549;p=privoxy.git diff --git a/doc/webserver/actions/index.php b/doc/webserver/actions/index.php index 26d52011..d7dee357 100755 --- a/doc/webserver/actions/index.php +++ b/doc/webserver/actions/index.php @@ -1,145 +1,225 @@ + + + + + + + + + Privoxy: $title + + +
+

+ Privoxy: $title +

+
+
+
+ $message +
+
+

Valid HTML 4.01 Transitional

+ + \n"); + exit; +} + /* - * For testing: + * Bookmarklet that leads here: */ -#$base_url = "http://www.oesterhelt.org/actions"; -$base_url = "http://www.privoxy.org/actions"; +$my_address = "http://" . $HTTP_SERVER_VARS["HTTP_HOST"] . $PHP_SELF; +$bookmarklet = "javascript:void(window.open('$my_address?url='+escape(location.href), 'Feedback', " . + "'width=600,scrollbars=yes,toolbar=no,location=no,directories=no,status=no,menubar=no,copyhistory=no').focus());"; /* - * Provide default if unset + * 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"] < $current_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

-

You are either not using Privoxy at all, or using an - actions file which is not based on the recent - distribution actions file (version $current_actions_file_version).

-

As much as we welcome your feedback, we are unable to process - input for the actions file if not based on our distribution. Sorry.

-

You can download the latest version of - Privoxy here.

- - "); - 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.

"); } ?> - - - 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! -

-

-Please fill the below form and click to -proceed to Step 2. -

- -
- - - - - - - - - - - - - - - - - - - -
URL: - -
Nature of the problem: - -
- -
-
-

- -

To faciliate your feedback, you can bookmark this bookmarklet
(right-click and select "File Bookmark for link"). -
Used on a page that you want to report on, it will take you here and pre-fill the URL field. -

- - + 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. +

+
+ +
+
+ + + + + + + + + + + + + + + + + + +
URL: + +
Nature of the problem: + +
  + +
+
+
+ +
+
+

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 +

+ +

+ You might get a warning that the bookmark "may not be safe" (IE) - just click OK. + For even faster access, you can put it on the "Links" bar (IE) or the "Personal Toolbar" (Netscape), + and submit feedback with a single click! +

+
+
+ +

Valid HTML 4.01 Transitional

+ +