Updated to new exports list and look
authoroes <oes@users.sourceforge.net>
Fri, 29 Jun 2001 08:52:55 +0000 (08:52 +0000)
committeroes <oes@users.sourceforge.net>
Fri, 29 Jun 2001 08:52:55 +0000 (08:52 +0000)
templates/default
templates/show-status
templates/show-status-file
templates/show-url-info

index 7245ce2..b4e4b7b 100644 (file)
 ##########################################################
 #
-# CGI-Output template for the junkbuster.
+# Default-CGI Output template for junkbuster 2.9.x.
 #
-# Lines *starting* with '#' are ignored.
-# Symbols are enclosed in @ characters.
 #
-# Usable Symbols in this file: 
+# USING HTML TEMPLATES:
+# ---------------------
 #
-#   other-cgis: List of <li> elements linking to the other
-#     available CGIs
+# Template files are written win plain HTML, with a few
+# additions:
 # 
-#   cgi-parameters: If parameters were present (this CGI needs
-#     none, they are dumped in a HTML table.
+# - Lines that start with a '#' character like this one
+#   are ignored
+#
+# - Each item in the below list of exported symbols will
+#   be replaced by dynamically generated text, if they
+#   are enclosed in '@'-characters. E.g. The string @version@
+#   will be replaced by the version number of Junkbuster.
+#
+# - One special application of this is to make whole blocks
+#   of the HTML template disappear if the condition <name>
+#   is not given. Simply enclose the block between the two
+#   strings @if-<name>start and if-<name>-end@. The strings
+#   should be placed in HTML comments (<!-- -->), so the
+#   html structure won't be messed when the magic happens.
+#   
+# USABLE SYMBOLS IN THIS TEMPLATE:
+# --------------------------------
+#
+#  my-ip-addr:
+#    The IP-address that the client used to reach this proxy
+#  my-hostname:
+#    The hostname associated with my-ip-addr
+#  admin-address:
+#    The email address of the pxoxy's administrator, as configured
+#    in the config file
+#  default-cgi:
+#    The URL for the "main menu" builtin CGI of this proxy
+#  menu:
+#    List of <li> elements linking to the other available CGIs
+#  version:
+#    The version number of the proxy software
+#  code-status:
+#    The development status of the proxy software: "alpha", "beta",
+#    or "stable".
+#  homepage:
+#    The URL of the SourceForge ijbswa project, who maintains this
+#    software.
+#
+# CONDITIONAL SYMBOLS FOR THIS TEMPLATE AND THEIR DEPANDANT SYMBOLS:
+# ------------------------------------------------------------------
+#
+#  unstable:
+#    this is an alpha or beta release of the proxy software
+#  have-proxy-info:
+#    A URL for online documentation about this proxy has been
+#    specified and is available through the "proxy-info-url"
+#    symbol
 #
 <html>
 
 <head>
-  <title>Internet Junkbuster Configuration</title>
+  <title>Junkbuster@@my-hostname@</title>
+  <style type="text/css">
+    BODY, P, H1, H2, UL, OL, LI { font-family: Helvetica, Helv, Arial, Sans-Serif, sans-serif }
+  </style>
 </head>
 
 <body bgcolor="#ffffff">
 
-  <h1>Internet J<small>UNK<i><font color="red">BUSTER</font></i></small></h1>
+  <table cellpadding=20 cellspacing=10 border=0 width=100%>
+    <tr>
+      <td bgcolor=#dddddd>
+        <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>
+          <font size=+2><b>@version@ on @my-hostname@ (@my-ip-address@), port @my-port@</b></font></p>
+      </td>
+    </tr>
+
+<!-- @if-unstable-start -->
+# This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
+    <tr>
+      <td bgcolor=#ffdddd>
+        <p><b>Please note that this is a <font color=red>@code-status@</font> release,
+          of the proxy software, not intended for production systems!
+          <br>Use at your own risk. See the <a href="http://www.gnu.org/copyleft/gpl.html">license</a> for details.</b>
+        </p>
 
-  <p>Thank you for using the internet Junkbuster.</p>
+        <p>Feel free to <a href=mailto:ijbswa-developers@lists.sourceforge.net>mail the developers</a>
+          with any problems you might have
+        </p>
+      </td>
+    </tr>
+<!-- if-unstable-end@ -->
 
-  <p>The following CGI functions are currently implemented:</p>
+    <tr>
+      <td bgcolor=#eeeeee>
+        <p><b>Thank you for using <a href="@homepage@">the SourceForge edition</a> of Internet Junkbuster!</b></p>
+        <p>Please choose from the following options:</p>
+        <ul>@menu@</ul>
+      </td>
+    </tr>
 
-  @other-cgis@
+    <tr>
+      <td bgcolor=#dddddd>
+        <p>If you have any questions about this service,
 
-  @cgi-parameters@
+<!-- @if-have-proxy-info-start -->
+          consult the <a href="@proxy-info-url@">online documentation</a> or
+<!-- if-have-proxy-info-end@ -->
 
-  <p>Please feel free to mail <a href=mailto:ijbswa-developers@lists.sourceforge.net>the developers</a>
-     with any problems you might have</p>
+          <a href=mailto:@admin-address@>send mail to <code>@admin-address@</code></a>
+          who will be glad to help you.
+        </p>
+      </td>
+    </tr>
+  </table>
 
 </body>
-</html>
\ No newline at end of file
+</html>
index bfeaca9..e3f8e25 100644 (file)
 ##########################################################
 #
-# CGI-Output template for the junkbuster.
+# Show-Status-CGI Output template for junkbuster 2.9.x
 #
-# Lines *starting* with '#' are ignored.
-# Symbols are enclosed in @ characters.
+# USING HTML TEMPLATES:
+# ---------------------
 #
-# Usable symbols in this file: 
-# redirect-url, version, home-page,
-# invocation-args, options, gateway-protocols
-# statistics,
+# Template files are written win plain HTML, with a few
+# additions:
+# 
+# - Lines that start with a '#' character like this one
+#   are ignored
+#
+# - Each item in the below list of exported symbols will
+#   be replaced by dynamically generated text, if they
+#   are enclosed in '@'-characters. E.g. The string @version@
+#   will be replaced by the version number of Junkbuster.
+#
+# - One special application of this is to make whole blocks
+#   of the HTML template disappear if the condition <name>
+#   is not given. Simply enclose the block between the two
+#   strings @if-<name>start and if-<name>-end@. The strings
+#   should be placed in HTML comments (<!-- -->), so the
+#   html structure won't be messed when the magic happens.
+#   
+# USABLE SYMBOLS IN THIS TEMPLATE:
+# --------------------------------
+#
+#  my-ip-addr:
+#    The IP-address that the client used to reach this proxy
+#  my-hostname:
+#    The hostname associated with my-ip-addr
+#  admin-address:
+#    The email address of the pxoxy's administrator, as configured
+#    in the config file
+#  default-cgi:
+#    The URL for the "main menu" builtin CGI of this proxy
+#  menu:
+#    List of <li> elements linking to the other available CGIs
+#  version:
+#    The version number of the proxy software
+#  code-status:
+#    The development status of the proxy software: "alpha", "beta",
+#    or "stable".
+#  homepage:
+#    The URL of the SourceForge ijbswa project, who maintains this
+#    software.
+#
+#  redirect-url:
+#    The URL to a script that will redirect to the junkbuster
+#    documentation for a given item  
+#  invocation:
+#    The command line with whitch junkbuster was invoked
+#  options:
+#    The options read from the configfile, linked to their
+#    explanations, plus warnings if parsing acl or forward
+#    statements produced errors.
+#  sourceversions:
+#    A HTML-formatted list of the individual source file cvs versions
+#  defines:
+#    A HTML-formatted list of all conditional #defines used when
+#    junkbuster was compiled
+#
+#  
+# CONDITIONAL SYMBOLS FOR THIS TEMPLATE AND THEIR DEPANDANT SYMBOLS:
+# ------------------------------------------------------------------
+#
+#  unstable:
+#    This is an alpha or beta release of the proxy software
+#  have-proxy-info:
+#    A URL for online documentation about this proxy has been
+#    specified and is available through the "proxy-info-url"
+#    symbol
+#  statistics:
+#    Junkbuster was compiled with statistics support
+#  have-stats:
+#    There have been previous requests and statistics have
+#    been collected. In this case, the following symbols
+#    are available:
+#    requests-received:
+#      The number of requests received so far
+#    requests-blocked:
+#      The number of request blocked so far
+#    percent-blocked:
+#      The percentage of blocked requests
+#  have-no-stats:
+#    There haven't any statistics been collected yet
+#  pcrs-support:
+#    Junkbuster was compiled with pcrs support
+#  trust-support:
+#    Junkbuster was compiled with trust support
+#  split-args:
+#    Junkbuster was compiled with #define SPLIT_PROXY_ARGS
+#    In this case, the following symbols are available:
+#    actions-filename:
+#      The path to the actions file.
+#    re-filter-filename:
+#      The path to the re_filter file. Only available if
+#      pcrs-support is set
+#    trust-filename:
+#      The path to the trust file.Only available if
+#      trust-support is set
+#  no-split-args:
+#    Junkbuster was not compiled with #define SPLIT_PROXY_ARGS
+#    In this case, the following symbols are available:
+#    alist:
+#      The contents of the actionsfile
+#    rlist:
+#      The contents of the re_filterfile. Only available if
+#      pcrs-support is set    
+#    tlist:
+#      The contents of the trustfile. Only available if
+#      trust-support is set
 #
 <html>
 
 <head>
-  <title>Internet Junkbuster Status</title>
+  <title>Junkbuster@@my-hostname@: Proxy Status</title>
+  <style type="text/css">
+    BODY, P, H1, H2, UL, OL, LI { font-family: Helvetica, Helv, Arial, Sans-Serif, sans-serif }
+  </style>
 </head>
 
 <body bgcolor="#ffffff">
 
-  <h1>Internet J<small>UNK<i><font color="red">BUSTER</font></i></small>
-      version @version@ <a href="@redirect-url@faq#show">Proxy Status</a></h1>
+  <table cellpadding=20 cellspacing=10 border=0 width=100%>
+    <tr>
+      <td bgcolor=#dddddd>
+        <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>
+          <font size=+2><b>@version@ on @my-hostname@ (@my-ip-address@), port @my-port@</b></font></p>
+      </td>
+    </tr>
+
+<!-- @if-unstable-start -->
+# This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
+    <tr>
+      <td bgcolor=#ffdddd>
+        <p><b>Please note that this is a <font color=red>@code-status@</font> release,
+          of the proxy software, not intended for production systems!
+          <br>Use at your own risk. See the <a href="http://www.gnu.org/copyleft/gpl.html">license</a> for details.</b>
+        </p>
+
+        <p>Feel free to <a href=mailto:ijbswa-developers@lists.sourceforge.net>mail the developers</a>
+          with any problems you might have
+        </p>
+      </td>
+    </tr>
+<!-- if-unstable-end@ -->
 
-  <p>Homepage: <a href="@home-page@">@home-page@</a></p>
+    <tr>
+      <td bgcolor=#eeeeee>
+        <h2>The program was invoked as follows</h2>
+        <blockquote><p>@invocation@</p></blockquote>
+      </td>
+    </tr>
 
-  <h2>The program was invoked as follows</h2>
-  @invocation-args@<br>
+    <tr>
+      <td bgcolor=#eeeeee>
+        <h2>The following options were given in the config file:</h2>
+        <blockquote><p>@options@</p></blockquote>
+      </td>
+    </tr>
 
-  <h2>And the following options were givem in the config file:</h2>
-  <BLINK>FIXME: Which?</BLINK>
+<!-- @if-statistics-start -->
+    <tr>
+      <td bgcolor=#eeeeee>
+        <h2>Blocking Statistics:</h2>
+        <blockquote>
+<!-- @if-have-stats-start -->
+        @requests-blocked@ out of @requests-received@ requests have been blocked,
+        which equals a block rate of @percent-blocked@.
+<!-- if-have-stats-end@ -->
+<!-- @if-have-no-stats-start -->
+        There haven't been any requests so far.
+<!-- if-have-no-stats-end@ -->
+      </td>
+    </tr>
+<!-- if-statistics-end@ -->
 
-  @statistics@
+<!-- @if-split-args-start -->
+    <tr>
+      <td bgcolor=#eeeeee>
+        <h2>The following files are in use:</h2>
+        <blockquote><p>Click a filename to browse</p></blockquote>
+        <ul>
+          <li>Actions List: <a href="show-status?file=permit">@actions-filename@</a></li>
+<!-- @if-pcrs-support-start -->
+          <li>Regex Filter List: <a href="show-status?file=re">@re-filter-filename@</a></li>
+<!-- if-pcrs-support-end@ -->
+<!-- @if-trust-support-start -->
+          <li>Trust List: <a href="show-status?file=trust">@trust-filename@</a></li>
+<!-- if-trust-support-end@ -->
+        </ul>
+      </td>
+    </tr>
+<!-- if-split-args-end@ -->
 
-  <h2>The following files are in use:</h2>
+<!-- @if-no-split-args-start -->
+    <tr>
+      <td bgcolor=#eeeeee>
+        <h2>Actions List:</h2>
+        <blockquote><pre>@alist@</pre></blockquote>
+      </td>
+    </tr>
 
-  <!-- The block following this comment will magically disappear, #ifndef SPLIT_PROXY_ARGS -->
-  <!-- @magic-eliminator-start -->
+<!-- @if-pcrs-support-start -->
+    <tr>
+      <td bgcolor=#eeeeee>
+        <h2>Regex Filter List:</h2>
+        <blockquote><pre>@rlist@</pre></blockquote>
+      </td>
+    </tr>
+<!-- if-pcrs-support-end@ -->
 
-  <p>(Click filenames to view)</p>
-  <ul>
-  <li>Actions List: <a href="show-status?file=permit">@actions-filename@</a></li>
+<!-- @if-trust-support-start -->
+    <tr>
+      <td bgcolor=#eeeeee>
+        <h2>Trust List:</h2>
+        <blockquote><pre>@tlist@</pre></blockquote>
+      </td>
+    </tr>
+<!-- if-trust-support-end@ -->
+<!-- if-no-split-args-end@ -->
 
-  <!-- @re-filter-killer-start -->
-  <li>Regex Filter List: <a href="show-status?file=re">@re-filter-filename@</a></li>
-  <!-- re-filter-killer-end@ -->
+    <tr>
+      <td bgcolor=#eeeeee>
+        <h2>Source code versions:</h2>
+        <blockquote><pre>@sourceversions@</pre></blockquote>
+      </td>
+    </tr>
 
-  <!-- @trust-killer-start -->
-  <li>Access Control List: <a href="show-status?file=trust">@trust-filename@</a></li>
-  <!-- trust-killer-end@ -->
+    <tr>
+      <td bgcolor=#eeeeee>
+        <h2>Conditional #defines:</h2>
+        <ul>@defines@</ul>
+      </td>
+    </tr>
 
-  </ul>
-  <!-- magic-eliminator-end@ -->
-  <!-- The block above this comment will magically disappear, #ifndef SPLIT_PROXY_ARGS -->
+    <tr>
+      <td bgcolor=#dddddd>
+        <h2>More Junkbuster:</h2>
+        <ul>@menu@</ul>
+      </td>
+    </tr>
 
-  @clist@ @flist@ @alist@ @rlist@ @tlist@
+    <tr>
+      <td bgcolor=#dddddd>
+        <p>If you have any questions about this service,
 
-  @rcs-and-defines@
+<!-- @if-have-proxy-info-start -->
+          consult the <a href="@proxy-info-url@">online documentation</a> or
+<!-- if-have-proxy-info-end@ -->
 
-  <p>Please feel free to mail <a href=mailto:ijbswa-developers@lists.sourceforge.net>the developers</a>
-     with any problems you might have</p>
+          <a href=mailto:@admin-address@>send mail to <code>@admin-address@</code></a>
+          who will be glad to help you.
+        </p>
+      </td>
+    </tr>
 
+  </table>
 
-  
 </body>
-</html>
+</html>
\ No newline at end of file
index 2d2e18d..659cf0d 100644 (file)
 ##########################################################
 #
-# CGI-Output template for the junkbuster.
+# Show-Status-CGI Output template for junkbuster 2.9.x
+# (Variant for the show-file mode)
 #
-# Lines *starting* with '#' are ignored.
-# Symbols are enclosed in @ characters.
+# USING HTML TEMPLATES:
+# ---------------------
+#
+# Template files are written win plain HTML, with a few
+# additions:
+# 
+# - Lines that start with a '#' character like this one
+#   are ignored
+#
+# - Each item in the below list of exported symbols will
+#   be replaced by dynamically generated text, if they
+#   are enclosed in '@'-characters. E.g. The string @version@
+#   will be replaced by the version number of Junkbuster.
+#
+# - One special application of this is to make whole blocks
+#   of the HTML template disappear if the condition <name>
+#   is not given. Simply enclose the block between the two
+#   strings @if-<name>start and if-<name>-end@. The strings
+#   should be placed in HTML comments (<!-- -->), so the
+#   html structure won't be messed when the magic happens.
+#   
+# USABLE SYMBOLS IN THIS TEMPLATE:
+# --------------------------------
+#
+#  my-ip-addr:
+#    The IP-address that the client used to reach this proxy
+#  my-hostname:
+#    The hostname associated with my-ip-addr
+#  admin-address:
+#    The email address of the pxoxy's administrator, as configured
+#    in the config file
+#  default-cgi:
+#    The URL for the "main menu" builtin CGI of this proxy
+#  menu:
+#    List of <li> elements linking to the other available CGIs
+#  version:
+#    The version number of the proxy software
+#  code-status:
+#    The development status of the proxy software: "alpha", "beta",
+#    or "stable".
+#  homepage:
+#    The URL of the SourceForge ijbswa project, who maintains this
+#    software.
+#
+#  file-description:
+#    A descriptive name for the file being shown
+#  contents:
+#    The contents of the file being shown
+#  filepath
+#    The complete filename of the file being shown
+#
+#  
+# CONDITIONAL SYMBOLS FOR THIS TEMPLATE AND THEIR DEPANDANT SYMBOLS:
+# ------------------------------------------------------------------
+#
+#  unstable:
+#    This is an alpha or beta release of the proxy software
+#  have-proxy-info:
+#    A URL for online documentation about this proxy has been
+#    specified and is available through the "proxy-info-url"
+#    symbol
 #
-# Usable symbols in this file: filename, contents, 
-# filepath
 <html>
 
 <head>
-  <title>Internet Junkbuster Status - @filename@</title>
+  <title>Junkbuster@@my-hostname@: Contents of @file-description@</title>
+  <style type="text/css">
+    BODY, P, H1, H2, UL, OL, LI { font-family: Helvetica, Helv, Arial, Sans-Serif, sans-serif }
+  </style>
 </head>
 
 <body bgcolor="#ffffff">
 
-  <h1>Internet J<small>UNK<i><font color="red">BUSTER</font></i></small>:
-      Contents of @filename@</h1>
+  <table cellpadding=20 cellspacing=10 border=0 width=100%>
+    <tr>
+      <td bgcolor=#dddddd>
+        <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>
+          <font size=+2><b>@version@ on @my-hostname@ (@my-ip-address@), port @my-port@</b></font></p>
+      </td>
+    </tr>
+
+<!-- @if-unstable-start -->
+# This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
+    <tr>
+      <td bgcolor=#ffdddd>
+        <p><b>Please note that this is a <font color=red>@code-status@</font> release,
+          of the proxy software, not intended for production systems!
+          <br>Use at your own risk. See the <a href="http://www.gnu.org/copyleft/gpl.html">license</a> for details.</b>
+        </p>
 
-  
+        <p>Feel free to <a href=mailto:ijbswa-developers@lists.sourceforge.net>mail the developers</a>
+          with any problems you might have
+        </p>
+      </td>
+    </tr>
+<!-- if-unstable-end@ -->
 
-  <h2>Contents of @filepath@</h2>
+    <tr>
+      <td bgcolor=#eeeeee>
+        <h2>Contents of @file-description@ (@filepath@)</h2>
+        <blockquote><pre>@contents@</pre></blockquote>
+      </td>
+    </tr>
+    <tr>
+      <td bgcolor=#dddddd>
+        <p>If you have any questions about this service,
 
-  <pre>
-@contents@
-  </pre>
+<!-- @if-have-proxy-info-start -->
+          consult the <a href="@proxy-info-url@">online documentation</a> or
+<!-- if-have-proxy-info-end@ -->
 
-  <p><a href="/config/show-status">Back to the general status page</a></p>
+          <a href=mailto:@admin-address@>send mail to <code>@admin-address@</code></a>
+          who will be glad to help you.
+        </p>
+        <p>Back to the <a href=@default-cgi@>main page</a>.</p>
+      </td>
+    </tr>
 
-  <p>Please feel free to mail <a href=mailto:ijbswa-developers@lists.sourceforge.net>the developers</a>
-     with any problems you might have</p>
+  </table>
 
 </body>
 </html>
\ No newline at end of file
index 1c96a96..56c3373 100644 (file)
+##########################################################
+#
+# Show-Url-Info-CGI Output template for junkbuster 2.9.x.
+#
+#
+# USING HTML TEMPLATES:
+# ---------------------
+#
+# Template files are written win plain HTML, with a few
+# additions:
+# 
+# - Lines that start with a '#' character like this one
+#   are ignored
+#
+# - Each item in the below list of exported symbols will
+#   be replaced by dynamically generated text, if they
+#   are enclosed in '@'-characters. E.g. The string @version@
+#   will be replaced by the version number of Junkbuster.
+#
+# - One special application of this is to make whole blocks
+#   of the HTML template disappear if the condition <name>
+#   is not given. Simply enclose the block between the two
+#   strings @if-<name>start and if-<name>-end@. The strings
+#   should be placed in HTML comments (<!-- -->), so the
+#   html structure won't be messed when the magic happens.
+#   
+# USABLE SYMBOLS IN THIS TEMPLATE:
+# --------------------------------
+#
+#  my-ip-addr:
+#    The IP-address that the client used to reach this proxy
+#  my-hostname:
+#    The hostname associated with my-ip-addr
+#  admin-address:
+#    The email address of the pxoxy's administrator, as configured
+#    in the config file
+#  default-cgi:
+#    The URL for the "main menu" builtin CGI of this proxy
+#  menu:
+#    List of <li> elements linking to the other available CGIs
+#  version:
+#    The version number of the proxy software
+#  code-status:
+#    The development status of the proxy software: "alpha", "beta",
+#    or "stable".
+#  homepage:
+#    The URL of the SourceForge ijbswa project, who maintains this
+#    software.
+#
+# CONDITIONAL SYMBOLS FOR THIS TEMPLATE AND THEIR DEPANDANT SYMBOLS:
+# ------------------------------------------------------------------
+#
+#  unstable:
+#    this is an alpha or beta release of the proxy software
+#  have-proxy-info:
+#    A URL for online documentation about this proxy has been
+#    specified and is available through the "proxy-info-url"
+#    symbol
+#  url-given:
+#    The CGI was called with a url parameter. In that case, the
+#    following symbols are available:
+#    url:
+#      The given URL
+#    url-html:
+#      The given URL, HTML-encoded
+#    default:
+#      The system default for actions
+#    matches:
+#      The list of all matches in the actions file that this URL
+#      produced, along with the actions that were triggered by
+#      these matches
+#    final:
+#      The actions that are associated with the URL at the end of
+#      the matching process
+#
 <html>
 
 <head>
-  <title>Internet Junkbuster: URL Info</title>
+  <title>Junkbuster@@my-hostname@ URL Info</title>
+  <style type="text/css">
+    BODY, P, H1, H2, UL, OL, LI { font-family: Helvetica, Helv, Arial, Sans-Serif, sans-serif }
+  </style>
 </head>
 
 <body bgcolor="#ffffff">
 
-  <h1>Internet J<small>UNK<i><font color="red">BUSTER</font></i></small></h1>
+  <table cellpadding=20 cellspacing=10 border=0 width=100%>
+    <tr>
+      <td bgcolor=#dddddd>
+        <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>
+          <font size=+2><b>@version@ on @my-hostname@ (@my-ip-address@), port @my-port@</b></font></p>
+      </td>
+    </tr>
 
-  <p>Information for: <a href="http://@url@">http://@url@</a></p>
+<!-- @if-unstable-start -->
+# This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
+    <tr>
+      <td bgcolor=#ffdddd>
+        <p><b>Please note that this is a <font color=red>@code-status@</font> release,
+          of the proxy software, not intended for production systems!
+          <br>Use at your own risk. See the <a href="http://www.gnu.org/copyleft/gpl.html">license</a> for details.</b>
+        </p>
 
-<h3>Default settings:</h3>
-<p><b>{@default@}</b></p>
+        <p>Feel free to <a href=mailto:ijbswa-developers@lists.sourceforge.net>mail the developers</a>
+          with any problems you might have
+        </p>
+      </td>
+    </tr>
+<!-- if-unstable-end@ -->
 
-<h3>Matches:</h3>
-<p>@matches@</p>
+<!-- @if-url-given-start -->
+    <tr>
+      <td bgcolor=#eeeeee>
+        <h2>System default actions:</h2>
+        <p>{@default@}</p>
+      </td>
+    </tr>
 
-<h3>Final settings:</h3>
-<p><b>{@final@}</b></p>
+    <tr>
+      <td bgcolor=#eeeeee>
+        <h2>Matches for <a href="http://@url@">http://@url-html@</a>:</h2>
+        <p>@matches@</p>
+      </td>
+    </tr>
 
-<p>&nbsp;</p>
+    <tr>
+      <td bgcolor=#eeeeee>
+        <h2>Final results:</h2>
+        <p>@final@</p>
+      </td>
+    </tr>
+<!-- if-url-given-end@ -->
 
-<p>Back to <a href="http://i.j.b/">JunkBuster front page</a></p>
+    <tr>
+      <td bgcolor=#eeeeee>
+        <h2>Look up the actions for a 
+<!-- @if-url-given-start -->new<!-- if-url-given-end@ -->
+          URL:</h2>
+        <form method="GET" action="http://i.j.b/show-url-info">
+          <input type="text" name="url" size="80" value="@url@"> 
+          <input type="submit" value="Go">
+        </form>
+      </td>
+    </tr>
 
-<p>Or look up another URL, (don't enter the leading &quot;http://&quot;):<br>
-<form method="GET" action="http://i.j.b/show-url-info">
-<input type="text" name="url" size="80" value="@url@"> 
-<input type="submit" value="Info">
-</form>
-</p>
+    <tr>
+      <td bgcolor=#dddddd>
+        <h2>More Junkbuster:</h2>
+        <ul>@menu@</ul>
+      </td>
+    </tr>
 
+    <tr>
+      <td bgcolor=#dddddd>
+        <p>If you have any questions about this service,
+
+<!-- @if-have-proxy-info-start -->
+          consult the <a href="@proxy-info-url@">online documentation</a> or
+<!-- if-have-proxy-info-end@ -->
+
+          <a href=mailto:@admin-address@>send mail to <code>@admin-address@</code></a>
+          who will be glad to help you.
+        </p>
+      </td>
+    </tr>
+  </table>
 
 </body>
 </html>