X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=doc%2Fwebserver%2Factions%2Findex.php;h=6a5e668eafeea01e436c962e6afb92ff8ecacc20;hb=683d044a6282451437a9b4c7ad1ca4634fd7d8e0;hp=26d52011968f84aafe2d24fd3a814770b988942b;hpb=acfe700ddafd7570cd1475629a45d1146e521549;p=privoxy.git diff --git a/doc/webserver/actions/index.php b/doc/webserver/actions/index.php index 26d52011..6a5e668e 100755 --- a/doc/webserver/actions/index.php +++ b/doc/webserver/actions/index.php @@ -1,64 +1,182 @@ + + + + +
+ + + + + + Privoxy: $title + + +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 unset + * Provide default if URL unset */ if (!isset($url)) { $url = "http://www.example.com/"; } +else +{ + $url = strtr($url, " ", "+"); +} /* * Deny feedback which is not based on our latest @@ -66,80 +184,103 @@ if (!isset($url)) */ $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 ("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.
+Hint: To upgrade your actions file, just right-click the above link, then save as default.action in + your Privoxy config directory +
"); } ?> - - --Thank you for reporting a missing or invalid action! -
--Please fill the below form and click to -proceed to Step 2. -
- - - - -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.
-
+ 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.
+
+ 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
+ +