debd5d7174f96ca754c4f6c206e37480f52f5cec
[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 <html>
85
86 <head>
87   <title>Privoxy@@my-hostname@: Detailed proxy version information</title>
88   <style type="text/css">
89     BODY, P, H1, H2, UL, OL, LI { font-family: Helvetica, Helv, Arial, Sans-Serif, sans-serif }
90   </style>
91 </head>
92
93 <body bgcolor="#ffffff">
94
95   <table cellpadding=20 cellspacing=10 border=0 width=100%>
96     <tr>
97       <td bgcolor=#dddddd>
98         <p><big><big><b>This is Privoxy (privacy enhancing proxy) @version@ on @my-hostname@ (@my-ip-address@), port @my-port@, @if-enabled-display-then@Enabled@else-not-enabled-display@Disabled@endif-enabled-display@</b></big></big></p>
99       </td>
100     </tr>
101
102     <tr>
103       <td bgcolor=#eeeeee>
104         <h2>Source code versions:</h2>
105         <p><i>(Note: This information is only relevant if you checked out Privoxy from CVS
106            and compiled it yourself.  If you downloaded a binary, .exe, RPM, or a .tgz file, 
107            then when you ask for support just mention the version number <b>@version@</b> 
108            and the type of download you got.)</i></p>
109         <p>&nbsp;</p>
110         <blockquote><pre>@sourceversions@</pre></blockquote>
111       </td>
112     </tr>
113
114     <tr>
115       <td bgcolor=#dddddd>
116         <h2>More Privoxy:</h2>
117         <ul>@menu@</ul>
118       </td>
119     </tr>
120
121 <!-- @if-unstable-start -->
122 # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
123     <tr>
124       <td bgcolor=#ffdddd>
125         <p><b>Please note that this <font color=red>@code-status@</font> release
126           of the proxy software is not intended for production systems!
127           <br>Use at your own risk. See the <a href="http://www.gnu.org/copyleft/gpl.html">license</a> for details.</b>
128         </p>
129         <p>
130 <h2>Support and Service via Sourceforge</h2>
131 <p>
132 We value your feedback. However, to provide you with the best support,
133 please note:
134 <ul>
135   <li>Use the <a href="http://sourceforge.net/tracker/?group_id=11118&atid=211118">support forum</a> to get
136   help.</li>
137   <li>Submit bugs only thru our <a href="http://sourceforge.net/tracker/?group_id=11118&atid=111118">bug
138       forum</a>. Make sure that the bug has not yet been submitted.</li>
139   <li>Submit feature requests only thru our <a
140       href="http://sourceforge.net/tracker/?atid=361118&group_id=11118&func=browse">feature request forum</a>.</li>
141 </ul>
142 </p>
143 <p>
144 For any other issues, feel free to use the <a
145 href="http://sourceforge.net/mail/?group_id=11118">mailing lists</a>.
146 </p>
147       </td>
148     </tr>
149 <!-- if-unstable-end@ -->
150
151 <!-- @if-have-help-info-start -->
152     <tr>
153       <td bgcolor=#dddddd>
154         <h2>Local Privoxy support:</h2>
155
156 <!-- @if-have-proxy-info-start -->
157         <p>You can consult the <a href="@proxy-info-url@">online documentation</a> for more information about this Privoxy installation.         
158 <!-- if-have-proxy-info-end@ -->
159
160 <!-- @if-have-adminaddr-info-start -->
161         <p>Address e-mail questions about this service to
162           <a href=mailto:@admin-address@><code>@admin-address@</code></a>,
163           who will be glad to help you.
164 <!-- if-have-adminaddr-info-end@ -->
165
166         </p>
167       </td>
168     </tr>
169 <!-- if-have-help-info-end@ -->
170
171   </table>
172
173 </body>
174 </html>