X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=templates%2Fshow-status;h=e3f8e2585a8a2c19b9a88d44f84d2234d6c9785a;hp=bfeaca9a467074c9795294f437d0fac9c129cd31;hb=b5333459b914e848f1830d2e9b6a831a5ff2cb72;hpb=e348466ccffa0b8a7bad7efef9d60d75f610f0c2;ds=sidebyside diff --git a/templates/show-status b/templates/show-status index bfeaca9a..e3f8e258 100644 --- a/templates/show-status +++ b/templates/show-status @@ -1,65 +1,263 @@ ########################################################## # -# 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 +# is not given. Simply enclose the block between the two +# strings @if-start and if--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
  • 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 # - Internet Junkbuster Status + Junkbuster@@my-hostname@: Proxy Status + -

    Internet JUNKBUSTER - version @version@ Proxy Status

    + + + + + + +# This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in + + + + -

    Homepage: @home-page@

    + + + -

    The program was invoked as follows

    - @invocation-args@
    + + + -

    And the following options were givem in the config file:

    - FIXME: Which? + + + + + - @statistics@ + + + + + -

    The following files are in use:

    + + + + - - + + + + + -

    (Click filenames to view)

    - + + + + - -
  • Regex Filter List: @re-filter-filename@
  • - + + + - -
  • Access Control List: @trust-filename@
  • - + + + - - - + + + - @clist@ @flist@ @alist@ @rlist@ @tlist@ + + + +
    +

    This is the Internet JUNKBUSTER + @version@ on @my-hostname@ (@my-ip-address@), port @my-port@

    +
    +

    Please note that this is a @code-status@ release, + of the proxy software, not intended for production systems! +
    Use at your own risk. See the license for details.
    +

    + +

    Feel free to mail the developers + with any problems you might have +

    +
    +

    The program was invoked as follows

    +

    @invocation@

    +
    +

    The following options were given in the config file:

    +

    @options@

    +
    +

    Blocking Statistics:

    +
    + + @requests-blocked@ out of @requests-received@ requests have been blocked, + which equals a block rate of @percent-blocked@. + + + There haven't been any requests so far. + +
    +

    The following files are in use:

    +

    Click a filename to browse

    + +
    +

    Actions List:

    +
    @alist@
    +
    +

    Regex Filter List:

    +
    @rlist@
    +
    +

    Trust List:

    +
    @tlist@
    +
    +

    Source code versions:

    +
    @sourceversions@
    +
    +

    Conditional #defines:

    +
      @defines@
    +
    +

    More Junkbuster:

    +
      @menu@
    +
    +

    If you have any questions about this service, - @rcs-and-defines@ + + consult the online documentation or + -

    Please feel free to mail the developers - with any problems you might have

    + send mail to @admin-address@ + who will be glad to help you. +

    +
    - - + \ No newline at end of file