X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=templates%2Fshow-status-file;h=34622a6c2b9d8d5ddd60a3a6a0ccfa4c2519eebd;hp=2d2e18dbd96433ce388e3129ecdf469283a5521f;hb=bf3617413ce8781d84af3b67bfcb4f59b59a40e7;hpb=8255d96d79d0187d092aa832248a2bfd487f3c49 diff --git a/templates/show-status-file b/templates/show-status-file index 2d2e18db..34622a6c 100644 --- a/templates/show-status-file +++ b/templates/show-status-file @@ -1,35 +1,145 @@ ########################################################## # -# CGI-Output template for the junkbuster. +# Show-Status-CGI Output template for Privoxy. +# (Variant for the show-file mode) # -# Lines *starting* with '#' are ignored. -# Symbols are enclosed in @ characters. +# USING HTML TEMPLATES: +# --------------------- # -# Usable symbols in this file: filename, contents, -# filepath +# 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 Privoxy. +# +# - 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 proxy 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 Privoxy project, which 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-adminaddr-info: +# An e-mail address for the local Privoxy administrator has +# been specified and is available through the "admin-address" +# symbol +# have-proxy-info: +# A URL for online documentation about this proxy has been +# specified and is available through the "proxy-info-url" +# symbol +# have-help-info: +# If either have-proxy-info is true or have-adminaddr-info is +# true, have-help-info is true. Used to conditionally include +# a grey box for any and all help info. +# + - Internet Junkbuster Status - @filename@ + Privoxy@@my-hostname@: Contents of @file-description@ + + + + + + - + + + + + + + + +# This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in + + + + + + + + + + + + + + + + + + -

    Contents of @filepath@

    + + + -

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

    +
    + +#include mod-title + +
    + +#include mod-unstable-warning + +
    +

    Contents of @file-description@ @filepath@

    +
    @contents@
    +
    +

    More Privoxy:

    + +
    -

    Internet JUNKBUSTER: - Contents of @filename@

    +#include mod-local-help - +
    -
    -@contents@
    -  
    +#include mod-support-and-service -

    Back to the general status page

    +
    - \ No newline at end of file +