Link to our own copy of the license
[privoxy.git] / templates / blocked
index e323b9e..eeb5f8c 100644 (file)
@@ -13,7 +13,7 @@
 #
 # Template files are written in plain HTML, with a few
 # additions:
-# 
+#
 # - Lines that start with a '#' character like this one
 #   are ignored
 #
@@ -28,7 +28,7 @@
 #   strings @if-<name>start and if-<name>-end@. The strings
 #   should be placed in HTML comments (<!-- -->), so the
 #   html structure won't be messed when the magic happens.
-#   
+#
 # USABLE SYMBOLS IN THIS TEMPLATE:
 # --------------------------------
 #
 #  protocol:
 #    The request's protocol: http:// or https://
 #  hostport:
-#    The host and port part of the request that lead to this problem
+#    The host and port part of the blocked request's URL.
 #  path:
-#    The path part of the request that lead to this problem
+#    The path part of the blocked request's URL.
+#  path-ue:
+#    The path part of the blocked request's URL, url-encoded.
 #
 #
 # CONDITIONAL SYMBOLS FOR THIS TEMPLATE AND THEIR DEPANDANT SYMBOLS:
@@ -80,7 +82,7 @@
 #  force-support:
 #    Privoxy has been compiled with support for forced loading
 #    of blocked content. In that case, the symbol "force-prefix" is
-#    avaiable, which translates to the FORCE_PREFIX  
+#    avaiable, which translates to the FORCE_PREFIX
 #
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html>
   <meta http-equiv="Content-Script-Type" content="text/javascript">
   <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
   <meta name="robots" content="noindex,nofollow">
-  <link rel="stylesheet" type="text/css" href="@default-cgi@send-stylesheet">
+  <link rel="shortcut icon" href="@default-cgi@error-favicon.ico" type="image/x-icon">
+  <style type="text/css">
+#include cgi-style.css
+  </style>
   <script type="text/javascript" language="javascript">
   <!--
     /*
        minWidth  = 650;
        minHeight = 330;
 
-       /* 
+       /*
         * Navigator, Mozilla, Opera
         */
-       if (window.innerWidth 
-           && (window.innerWidth >= minWidth) 
+       if (window.innerWidth
+           && (window.innerWidth >= minWidth)
            && (window.innerHeight >= minHeight))
        {
           return false;
        }
-       /* 
+
+       /*
         * MSIE
         */
-       else if (document.body && document.body.clientWidth 
+       else if (document.body && document.body.clientWidth
                 && (document.body.clientWidth >= minWidth)
                 && (document.body.clientHeight >= minHeight))
        {
   {
      document.write('\
    <p class="small" align="center"> \
-    <a href="@default-cgi@" target="_blank">Privoxy</a> blocked <b>@protocol@@hostport@@path@</b>. \
-    <br><a href="@default-cgi@show-url-info?url=@hostport@@path@" target="_blank">See why</a> \
+    Request blocked by <a href="@default-cgi@" target="_blank">Privoxy</a>: @block-reason@ \
+    <br>See <a href="@default-cgi@show-url-info?url=@hostport@@path-ue@" \
+     >why this block applies</a> \
     <!-- @if-force-support-start --> \
-    or <a href="http://@hostport@@force-prefix@@path@">go there anyway</a>. \
+    or <a href="http://@hostport@@force-prefix@@path@">go \
+    <!-- if-force-support-end@ --> \
+    to <b>@protocol@@hostport@@path@</b> \
+    <!-- @if-force-support-start --> \
+    anyway</a>. \
     <!-- if-force-support-end@ --> \
    </p> \
    ');
         <p> \
           <b>Please note that this <font color=red>@code-status@</font> release \
           of the proxy software is not intended for production systems! \
-          <br>Use at your own risk. See the <a href="http://www.gnu.org/copyleft/gpl.html">license</a> for details.</b> \
+          <br>Use at your own risk. See the <a href="@user-manual@copyright.html">license</a> for details.</b> \
         </p> \
       </td> \
     </tr> \
       <td class="box" colspan="2"> \
         <h2>Request for blocked URL</h2> \
         <p>Your request for <b>@protocol@@hostport@@path@</b> was blocked. \
-          <br><a href="@default-cgi@show-url-info?url=@hostport@@path@">See why</a> \
-    <!-- @if-force-support-start --> \
+         <br>Block reason: @block-reason@ \
+         <br><a href="@default-cgi@show-url-info?url=@hostport@@path-ue@" \
+          >See why this block applies</a> \
+<!-- @if-force-support-start --> \
           or <a href="http://@hostport@@force-prefix@@path@">go there anyway</a>. \
 <!-- if-force-support-end@ --> \
         </p> \
     <tr> \
       <td class="box" colspan="2"> \
         <h2>More Privoxy:</h2> \
-        <ul>@menu@</ul> \
+        <ul>@menu@<li><a href="@user-manual@">Documentation</a></li></ul> \
       </td> \
     </tr> \
  \
 
   <noscript>
    <p class="small" align="center">
-    <a href="@default-cgi@" target="_blank">Privoxy</a> blocked <b>@protocol@@hostport@@path@</b>.
-    <br><a href="@default-cgi@show-url-info?url=@hostport@@path@" target="_blank">See why</a>
+    Request blocked by <a href="@default-cgi@">Privoxy</a>: @block-reason@
+    <br>See <a href="@default-cgi@show-url-info?url=@hostport@@path-ue@"
+     >why this block applies</a>
+    <!-- @if-force-support-start -->
+    or <a href="http://@hostport@@force-prefix@@path@">go
+    <!-- if-force-support-end@ -->
+    to <b>@protocol@@hostport@@path@</b>
     <!-- @if-force-support-start -->
-    or <a href="http://@hostport@@force-prefix@@path@">go there anyway</a>.
+    anyway</a>.
     <!-- if-force-support-end@ -->
    </p>
   </noscript>