028916f087b656f8e73ecd9af5a7d805be529465
[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 
40          <li> elements linking to the other available CGIs
41 #  version:
42 #    The version number of the proxy software
43 #  code-status:
44 #    The development status of the proxy software: "alpha", "beta",
45 #    or "stable".
46 #  homepage:
47 #    The URL of the SourceForge ijbswa project, who maintains this
48 #    software.
49 #
50 #  redirect-url:
51 #    The URL to a script that will redirect to the Privoxy
52 #    documentation for a given item  
53 #  invocation:
54 #    The command line with whitch Privoxy was invoked
55 #  options:
56 #    The options read from the configfile, linked to their
57 #    explanations, plus warnings if parsing acl or forward
58 #    statements produced errors.
59 #  sourceversions:
60 #    A HTML-formatted list of the individual source file cvs versions
61 #  defines:
62 #    A HTML-formatted list of all conditional #defines used when
63 #    Privoxy was compiled
64 #
65 #  
66 # CONDITIONAL SYMBOLS FOR THIS TEMPLATE AND THEIR DEPANDANT SYMBOLS:
67 # ------------------------------------------------------------------
68 #
69 #  unstable:
70 #    This is an alpha or beta release of the proxy software
71 #  have-adminaddr-info:
72 #    An e-mail address for the local Privoxy adminstrator has
73 #    been specified and is available through the "admin-address"
74 #    symbol
75 #  have-proxy-info:
76 #    A URL for online documentation about this proxy has been
77 #    specified and is available through the "proxy-info-url"
78 #    symbol
79 #  have-help-info:
80 #    If either have-proxy-info is true or have-adminaddr-info is
81 #    true, have-help-info is true.  Used to conditionally include
82 #    a grey box for any and all help info.
83 #  sourceversions
84 #    The versions.
85 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
86 <html>
87
88 <head>
89   <title>Privoxy@@my-hostname@: Detailed proxy version information</title>
90   <meta http-equiv="Content-Style-Type" content="text/css">
91   <meta http-equiv="Content-Script-Type" content="text/javascript">
92   <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
93   <meta name="robots" content="noindex,nofollow">
94   <link rel="stylesheet" type="text/css" href="@default-cgi@send-stylesheet">
95 </head>
96
97 <body>
98
99   <table cellpadding="20" cellspacing="10" border="0" width="100%">
100     <tr>
101       <td class="title">
102
103 #include mod-title
104
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
113 #include mod-unstable-warning
114
115       </td>
116     </tr>
117 <!-- if-unstable-end@ -->
118
119     <tr>
120       <td class="box">
121         <h2>Source code versions:</h2>
122         <p><i>(Note: This information is only relevant if you checked out Privoxy from CVS
123            and compiled it yourself.  If you downloaded a binary, .exe, RPM, or a .tgz file, 
124            then when you ask for support just mention the version number <b>@version@</b> 
125            and the type of download you got.)</i>
126         </p>
127         <pre>@sourceversions@</pre>
128       </td>
129     </tr>
130
131     <tr>
132       <td class="box">
133         <h2>More Privoxy:</h2>
134         <ul>@menu@
135          <li><a href="@user-manual@">Documentation</a></li>
136         </ul>
137       </td>
138     </tr>
139
140     <tr>
141       <td class="info">
142
143 #include mod-support-and-service
144  
145       </td>
146     </tr>
147
148 <!-- @if-have-help-info-start -->
149     <tr>
150       <td class="info">
151
152 #include mod-local-help
153
154       </td>
155     </tr>
156 <!-- if-have-help-info-end@ -->
157
158      <tr>
159       <td>
160         <p class="small">Valid <a href="http://validator.w3.org/">HTML 4.01 Strict</a></p>
161       </td>
162     </tr>       
163   </table>
164
165 </body>
166 </html>