From e9d0a6d5225e5d7c0cfbafe6ed34db1733ad52d9 Mon Sep 17 00:00:00 2001 From: oes Date: Sat, 6 Apr 2002 15:19:35 +0000 Subject: [PATCH] Clean-up, smarter handling of unreachable URLs --- doc/webserver/actions/index.php | 74 ++++++----- doc/webserver/actions/step2.php | 210 ++++++++++++++++++-------------- doc/webserver/actions/step3.php | 105 ++++++++++------ 3 files changed, 228 insertions(+), 161 deletions(-) diff --git a/doc/webserver/actions/index.php b/doc/webserver/actions/index.php index a949d636..d7dee357 100755 --- a/doc/webserver/actions/index.php +++ b/doc/webserver/actions/index.php @@ -53,34 +53,56 @@ - + Privoxy: $title + + +
+

+ Privoxy: $title +

+
+
+
+ $message +
+
+

Valid HTML 4.01 Transitional

+ + \n"); + exit; +} + /* * Bookmarklet that leads here: @@ -107,22 +129,14 @@ $headers = getallheaders(); 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: -

    -
  • Privoxy version $required_privoxy_version or later
  • -
  • Actionsfile version version $required_actions_file_version or later
  • -
-

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

-
-
-

Valid HTML 4.01 Transitional

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

"); } ?> @@ -149,14 +163,14 @@ if (!isset($headers["X-Actions-File-Version"]) || $headers["X-Actions-File-Versi
-
+ diff --git a/doc/webserver/actions/step2.php b/doc/webserver/actions/step2.php index 64303d13..539ade18 100644 --- a/doc/webserver/actions/step2.php +++ b/doc/webserver/actions/step2.php @@ -21,8 +21,10 @@ Added Feedback mechanism for actions file - Written by and Copyright (C) 2002 the SourceForge - Privoxy team. http://www.privoxy.org/ + Copyright (C) 2002 the SourceForge Privoxy team. + http://www.privoxy.org/ + + Written by Andreas Oesterhelt This program is free software; you can redistribute it and/or modify it under the terms of the GNU General @@ -47,16 +49,7 @@ - +
URL: - +