67e4720b87230e058589cfd4ca27561ae0fd3b62
[privoxy.git] / templates / show-version
1 ##########################################################
2 #
3 # Show-Status-CGI Output template for junkbuster 2.9.x
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 Junkbuster.
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 junkbuster
51 #    documentation for a given item  
52 #  invocation:
53 #    The command line with whitch junkbuster 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 #    junkbuster 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 Junkbuster 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>Junkbuster@@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><font size=+2><b>This is the Internet J</b></font><font size=+1><b>UNK<i></font><font color="red">BUSTER</font></i></b>
99           <font size=+2><b> @version@ on @my-hostname@ (@my-ip-address@), port @my-port@, @if-enabled-display-then@Enabled@else-not-enabled-display@Disabled@endif-enabled-display@</b></font></p>
100       </td>
101     </tr>
102
103     <tr>
104       <td bgcolor=#eeeeee>
105         <h2>Source code versions:</h2>
106         <p><i>(Note: This information is only relevant if you checked out JunkBuster from CVS
107            and compiled it yourself.  If you downloaded a binary, .exe, RPM, or a .tgz file, 
108            then when you ask for support just mention the version number <b>@version@</b> 
109            and the type of download you got.)</i></p>
110         <p>&nbsp;</p>
111         <blockquote><pre>@sourceversions@</pre></blockquote>
112       </td>
113     </tr>
114
115     <tr>
116       <td bgcolor=#dddddd>
117         <h2>More Junkbuster:</h2>
118         <ul>@menu@</ul>
119       </td>
120     </tr>
121
122 <!-- @if-unstable-start -->
123 # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
124     <tr>
125       <td bgcolor=#ffdddd>
126         <p><b>Please note that this <font color=red>@code-status@</font> release
127           of the proxy software is not intended for production systems!
128           <br>Use at your own risk. See the <a href="http://www.gnu.org/copyleft/gpl.html">license</a> for details.</b>
129         </p>
130         <p>
131 <h2>Support and Service via Sourceforge</h2>
132 <p>
133 We value your feedback. However, to provide you with the best support,
134 please note:
135 <ul>
136   <li>Use the <a href="http://sourceforge.net/tracker/?group_id=11118&atid=211118">support forum</a> to get
137   help.</li>
138   <li>Submit bugs only thru our <a href="http://sourceforge.net/tracker/?group_id=11118&atid=111118">bug
139       forum</a>. Make sure that the bug has not yet been submitted.</li>
140   <li>Submit feature requests only thru our <a
141       href="http://sourceforge.net/tracker/?atid=361118&group_id=11118&func=browse">feature request forum</a>.</li>
142 </ul>
143 </p>
144 <p>
145 For any other issues, feel free to use the <a
146 href="http://sourceforge.net/mail/?group_id=11118">mailing lists</a>.
147 </p>
148       </td>
149     </tr>
150 <!-- if-unstable-end@ -->
151
152 <!-- @if-have-help-info-start -->
153     <tr>
154       <td bgcolor=#dddddd>
155         <h2>Local Junkbuster support:</h2>
156
157 <!-- @if-have-proxy-info-start -->
158         <p>You can consult the <a href="@proxy-info-url@">online documentation</a> for more information about this Junkbuster installation.         
159 <!-- if-have-proxy-info-end@ -->
160
161 <!-- @if-have-adminaddr-info-start -->
162         <p>Address e-mail questions about this service to
163           <a href=mailto:@admin-address@><code>@admin-address@</code></a>,
164           who will be glad to help you.
165 <!-- if-have-adminaddr-info-end@ -->
166
167         </p>
168       </td>
169     </tr>
170 <!-- if-have-help-info-end@ -->
171
172   </table>
173
174 </body>
175 </html>