1 ########################################################################
3 # File : $Source: /cvsroot/ijbswa/current/templates/show-url-info,v $
5 # Purpose : Template for Privoxy's show-url-info CGI page.
7 # Copyright : Written by and Copyright (C) 2001-2007 members of the
8 # Privoxy team. https://www.privoxy.org/
10 # This program is free software; you can redistribute it
11 # and/or modify it under the terms of the GNU General
12 # Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at
14 # your option) any later version.
16 # This program is distributed in the hope that it will
17 # be useful, but WITHOUT ANY WARRANTY; without even the
18 # implied warranty of MERCHANTABILITY or FITNESS FOR A
19 # PARTICULAR PURPOSE. See the GNU General Public
20 # License for more details.
22 # The GNU General Public License should be included with
23 # this file. If not, you can view it at
24 # http://www.gnu.org/copyleft/gpl.html
25 # or write to the Free Software Foundation, Inc., 59
26 # Temple Place - Suite 330, Boston, MA 02111-1307, USA.
28 #########################################################################
29 # USING HTML TEMPLATES:
30 # ---------------------
32 # Template files are written win plain HTML, with a few
35 # - Lines that start with a '#' character like this one
38 # - Each item in the below list of exported symbols will
39 # be replaced by dynamically generated text, if they
40 # are enclosed in '@'-characters. E.g. The string @version@
41 # will be replaced by the version number of Privoxy.
43 # - One special application of this is to make whole blocks
44 # of the HTML template disappear if the condition <name>
45 # is not given. Simply enclose the block between the two
46 # strings @if-<name>start and if-<name>-end@. The strings
47 # should be placed in HTML comments (<!-- -->), so the
48 # html structure won't be messed when the magic happens.
50 # USABLE SYMBOLS IN THIS TEMPLATE:
51 # --------------------------------
54 # The IP-address that the client used to reach Privoxy
56 # The hostname associated with my-ip-addr
58 # The email address of the Privoxy administrator, as configured
61 # The URL for Privoxy's "main menu" builtin CGI page
63 # List of <li> elements linking to the other available CGIs
65 # Privoxy's version number
67 # Privoxy's development status: "alpha", "beta", or "stable".
69 # The Privoxy web site.
71 # CONDITIONAL SYMBOLS FOR THIS TEMPLATE AND THEIR DEPANDANT SYMBOLS:
72 # ------------------------------------------------------------------
75 # this is an alpha or beta release of the proxy software
76 # have-adminaddr-info:
77 # An e-mail address for the local Privoxy administrator has
78 # been specified and is available through the "admin-address"
81 # A URL for online documentation about this proxy has been
82 # specified and is available through the "proxy-info-url"
85 # If either have-proxy-info is true or have-adminaddr-info is
86 # true, have-help-info is true. Used to conditionally include
87 # a grey box for any and all help info.
89 # The CGI was called with a url parameter. In that case, the
90 # following symbols are available:
94 # The system default for actions
96 # The list of all matches in the actions file that this URL
97 # produced, along with the actions that were triggered by
100 # The actions that are associated with the URL at the end of
101 # the matching process
102 # no-forwarder: Requests to url will be made directly.
104 # Requests to url will be made through a HTTP proxy
106 # The IP address or its hostname
110 # Requests to url will be made through a socks proxy
112 # The socks type: socks4 or socks4a
114 # The IP address or its hostname
118 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
122 <title>Privoxy@@my-hostname@ URL Info</title>
123 <meta http-equiv="Content-Style-Type" content="text/css">
124 <meta http-equiv="Content-Script-Type" content="text/javascript">
125 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
126 <meta name="robots" content="noindex,nofollow">
127 <link rel="stylesheet" type="text/css" href="@default-cgi@send-stylesheet">
128 <link rel="shortcut icon" href="@default-cgi@favicon.ico" type="image/x-icon">
129 <link rel="search" type="application/opensearchdescription+xml" title="Privoxy URL Info" href="/url-info-osd.xml">
134 <table summary="" cellpadding="20" cellspacing="10" border="0" width="100%">
143 <!-- @if-unstable-start -->
144 # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
148 #include mod-unstable-warning
152 <!-- if-unstable-end@ -->
154 <!-- @if-url-given-start -->
157 <!-- @if-valid-url-start -->
158 <h2>Forwarding settings:</h2>
160 Requests for <a href="@url@">@url@</a> will be <!--
162 # "Interesting" formatting to prevent white space at the end of the sentence.
164 @if-no-forwarder-start -->
166 made <b>directly</b>, no forwarding settings apply<!--
168 if-no-forwarder-end@--><!--
169 @if-http-forwarder-start --><!-- @if-socks-forwarder-start -->
173 if-socks-forwarder-end@ --><!-- if-http-forwarder-end@ --><!--
174 @if-socks-forwarder-start -->
176 forwarded through <b>@socks-type@-proxy @gateway-host@:@gateway-port@</b><!--
178 if-socks-forwarder-end@ --><!--
179 @if-http-forwarder-start --><!-- @if-socks-forwarder-start -->
183 if-socks-forwarder-end@ --><!-- if-http-forwarder-end@ --><!--
184 @if-http-forwarder-start -->
186 forwarded through <b>HTTP-proxy @forward-host@:@forward-port@</b><!--
188 if-http-forwarder-end@ -->.
193 <!-- @if-https-and-no-https-inspection-start -->
195 <p>This is a HTTPS URL, so the part after the "/" is ignored
196 as Privoxy doesn't see the path for real HTTPS requests either.</p>
197 <!-- if-https-and-no-https-inspection-end@ -->
198 <!-- if-valid-url-end@ -->
199 <h2>Matches for <a href="@url@">@url@</a>:</h2>
201 <!-- @if-valid-url-start -->
202 <!-- @if-cgi-editor-is-disabled-start -->
204 The CGI editor is currently disabled, thus no edit buttons are shown.<br>
205 Please have a look at the
206 <a href="@user-manual@config.html#ENABLE-EDIT-ACTIONS">enable-edit-actions documentation</a>
207 to learn how to enable it and what the risks are.
209 <!-- if-cgi-editor-is-disabled-end@ -->
210 <!-- @if-valid-url-end -->
213 <!-- @if-valid-url-start -->
214 <!-- @if-filters-might-be-ineffective-start -->
219 This Privoxy version has been built without zlib support,
220 <strong>content filters will not work if the server sends compressed content.</strong>
221 Consider enabling the <a title="prevent-compression documentation"
222 href="@user-manual@actions-file.html#PREVENT-COMPRESSION">prevent-compression</a>
223 action for this URL or rebuild Privoxy with zlib support.
227 <!-- if-filters-might-be-ineffective-end@ -->
230 <h2>Final results:</h2>
234 <!-- if-valid-url-end@ -->
235 <!-- if-url-given-end@ -->
237 <!-- @if-privoxy-is-toggled-off-start -->
243 <strong>Privoxy is currently toggled off. Matching actions will not apply
244 unless you <a href="@default-cgi@toggle?set=enable">toggle Privoxy on</a> first.</strong>
248 <!-- if-privoxy-is-toggled-off-end@ -->
252 <h2>Look up the actions for a
253 <!-- @if-url-given-start -->new<!-- if-url-given-end@ -->
255 <form method="GET" action="@default-cgi@show-url-info">
257 <input type="text" name="url" size="80" value="@url@" class="url">
258 <input type="submit" value="Go">
266 <h2>More Privoxy:</h2>
267 <ul>@menu@<li><a href="@user-manual@">Documentation</a></li></ul>
271 <!-- @if-have-help-info-start -->
275 #include mod-local-help
279 <!-- if-have-help-info-end@ -->
284 #include mod-support-and-service