X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=templates%2Fdefault;h=065aedc27cdcf68479390846f7c14675068886c1;hb=e51a0a07cb1d4649d8f330f96a14c1458366cf79;hp=7245ce288d6e30349643b34f7fb8f4335d119b03;hpb=8255d96d79d0187d092aa832248a2bfd487f3c49;p=privoxy.git
diff --git a/templates/default b/templates/default
index 7245ce28..065aedc2 100644
--- a/templates/default
+++ b/templates/default
@@ -1,38 +1,131 @@
##########################################################
#
-# CGI-Output template for the junkbuster.
+# Default-CGI Output template for Privoxy.
#
-# Lines *starting* with '#' are ignored.
-# Symbols are enclosed in @ characters.
#
-# Usable Symbols in this file:
+# USING HTML TEMPLATES:
+# ---------------------
#
-# other-cgis: List of
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 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 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.
+#
+# 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 adminstrator 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 Configuration
+ Privoxy@@my-hostname@
+
+
+
+
+
+
-
+
+
+
+
+
+
+#include mod-title
+
+
+
+
+
+# This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
+