bdd84a5959817e2d6d2b886f86feea275e11b1b1
[privoxy.git] / templates / show-version
1 ##########################################################
2 #
3 # Show-Status-CGI Output template for Privoxy.
4 #
5 # USING HTML TEMPLATES:
6 # ---------------------
7 #
8 # Template files are written win plain HTML, with a few
9 # additions:
10
11 # - Lines that start with a '#' character like this one
12 #   are ignored
13 #
14 # - Each item in the below list of exported symbols will
15 #   be replaced by dynamically generated text, if they
16 #   are enclosed in '@'-characters. E.g. The string @version@
17 #   will be replaced by the version number of Privoxy.
18 #
19 # - One special application of this is to make whole blocks
20 #   of the HTML template disappear if the condition <name>
21 #   is not given. Simply enclose the block between the two
22 #   strings @if-<name>start and if-<name>-end@. The strings
23 #   should be placed in HTML comments (<!-- -->), so the
24 #   html structure won't be messed when the magic happens.
25 #   
26 # USABLE SYMBOLS IN THIS TEMPLATE:
27 # --------------------------------
28 #
29 #  my-ip-addr:
30 #    The IP-address that the client used to reach this proxy
31 #  my-hostname:
32 #    The hostname associated with my-ip-addr
33 #  admin-address:
34 #    The email address of the pxoxy's administrator, as configured
35 #    in the config file
36 #  default-cgi:
37 #    The URL for the "main menu" builtin CGI of this proxy
38 #  menu:
39 #    List of <li> elements linking to the other available CGIs
40 #  version:
41 #    The version number of the proxy software
42 #  code-status:
43 #    The development status of the proxy software: "alpha", "beta",
44 #    or "stable".
45 #  homepage:
46 #    The URL of the SourceForge ijbswa project, who maintains this
47 #    software.
48 #
49 #  redirect-url:
50 #    The URL to a script that will redirect to the Privoxy
51 #    documentation for a given item  
52 #  invocation:
53 #    The command line with whitch Privoxy was invoked
54 #  options:
55 #    The options read from the configfile, linked to their
56 #    explanations, plus warnings if parsing acl or forward
57 #    statements produced errors.
58 #  sourceversions:
59 #    A HTML-formatted list of the individual source file cvs versions
60 #  defines:
61 #    A HTML-formatted list of all conditional #defines used when
62 #    Privoxy was compiled
63 #
64 #  
65 # CONDITIONAL SYMBOLS FOR THIS TEMPLATE AND THEIR DEPANDANT SYMBOLS:
66 # ------------------------------------------------------------------
67 #
68 #  unstable:
69 #    This is an alpha or beta release of the proxy software
70 #  have-adminaddr-info:
71 #    An e-mail address for the local Privoxy adminstrator has
72 #    been specified and is available through the "admin-address"
73 #    symbol
74 #  have-proxy-info:
75 #    A URL for online documentation about this proxy has been
76 #    specified and is available through the "proxy-info-url"
77 #    symbol
78 #  have-help-info:
79 #    If either have-proxy-info is true or have-adminaddr-info is
80 #    true, have-help-info is true.  Used to conditionally include
81 #    a grey box for any and all help info.
82 #  sourceversions
83 #    The versions.
84 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
85 <html>
86
87 <head>
88   <title>Privoxy@@my-hostname@: Detailed proxy version information</title>
89   <meta http-equiv="Content-Style-Type" content="text/css">
90   <meta http-equiv="Content-Script-Type" content="text/javascript">
91   <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
92   <meta name="robots" content="noindex,nofollow">
93   <link rel="stylesheet" type="text/css" href="@default-cgi@send-stylesheet">
94 </head>
95
96 <body>
97
98   <table cellpadding="20" cellspacing="10" border="0" width="100%">
99     <tr>
100       <td class="title">
101         <h1>
102           This is <a href="@homepage@">Privoxy</a> @version@ on @my-hostname@ (@my-ip-address@), port @my-port@,
103           @if-enabled-display-then@Enabled@else-not-enabled-display@Disabled@endif-enabled-display@
104         </h1>
105       </td>
106     </tr>
107
108 <!-- @if-unstable-start -->
109 # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
110     <tr>
111       <td class="warning">
112         <h2>Warning:</h2>
113           <p>
114             <b>Please note that this <em class="warning">@code-status@</em> release
115             of the proxy software is not intended for production systems!
116             <br>Use at your own risk. See the <a href="http://www.gnu.org/copyleft/gpl.html">license</a> for details.</b>
117           </p>
118       </td>
119     </tr>
120 <!-- if-unstable-end@ -->
121
122     <tr>
123       <td class="box">
124         <h2>Source code versions:</h2>
125         <p><i>(Note: This information is only relevant if you checked out Privoxy from CVS
126            and compiled it yourself.  If you downloaded a binary, .exe, RPM, or a .tgz file, 
127            then when you ask for support just mention the version number <b>@version@</b> 
128            and the type of download you got.)</i>
129         </p>
130         <pre>@sourceversions@</pre>
131       </td>
132     </tr>
133
134     <tr>
135       <td class="box">
136         <h2>More Privoxy:</h2>
137         <ul>@menu@</ul>
138       </td>
139     </tr>
140
141     <tr>
142       <td class="info">
143         <h2>Support and Service via Sourceforge:</h2>
144         <p>
145           We value your feedback. To provide you with the best support,
146           we ask that you:
147         </p>
148         <ul>
149           <li>
150             use the <a href="http://sourceforge.net/tracker/?group_id=11118&amp;atid=211118">support forum</a> or (better) the
151             <a href="http://sourceforge.net/mail/?group_id=11118">mailing lists</a> to get help.
152           </li>
153           <li>
154             submit banners and all problems with the actions file only through the
155             <a href="javascript:void(window.open('http://www.privoxy.org/actions','Feedback','width=600,scrollbars=yes,toolbar=no,location=no,directories=no,status=no,menubar=no,copyhistory=no').focus());">actions
156             file feedback system</a>.
157           </li>
158           <li>
159             submit bugs only through our <a href="http://sourceforge.net/tracker/?group_id=11118&amp;atid=111118">bug tracker</a>.
160             Make sure that the bug has not yet been submitted.
161           </li>
162           <li>
163             submit feature requests only through our <a href="http://sourceforge.net/tracker/?atid=361118&amp;group_id=11118&amp;func=browse">feature
164             request tracker</a>.
165           </li>
166         </ul>
167       </td>
168     </tr>
169
170 <!-- @if-have-help-info-start -->
171     <tr>
172       <td class="info">
173         <h2>Local Privoxy support:</h2>
174
175 <!-- @if-have-proxy-info-start -->
176         <p>
177           You can consult the <a href="@proxy-info-url@">online documentation</a> for more information
178           about this Privoxy installation.
179         </p>
180 <!-- if-have-proxy-info-end@ -->
181
182 <!-- @if-have-adminaddr-info-start -->
183         <p>Address e-mail questions about this service to
184           <a href="mailto:@admin-address@"><code>@admin-address@</code></a>,
185           who will be glad to help you.
186         </p>
187 <!-- if-have-adminaddr-info-end@ -->
188       </td>
189     </tr>
190 <!-- if-have-help-info-end@ -->
191
192      <tr>
193       <td>
194         <p class="small">Valid <a href="http://validator.w3.org/">HTML 4.01 Strict</a></p>
195       </td>
196     </tr>       
197   </table>
198
199 </body>
200 </html>