diff options
-rw-r--r-- | Echolot/Tools.pm | 6 | ||||
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | templates/echolot.html | 5 |
3 files changed, 9 insertions, 3 deletions
diff --git a/Echolot/Tools.pm b/Echolot/Tools.pm index c3ad305..fd202f5 100644 --- a/Echolot/Tools.pm +++ b/Echolot/Tools.pm @@ -1,7 +1,7 @@ package Echolot::Tools; # (c) 2002 Peter Palfrader <peter@palfrader.org> -# $Id: Tools.pm,v 1.23 2003/06/06 10:36:23 weasel Exp $ +# $Id: Tools.pm,v 1.24 2003/10/17 04:12:16 weasel Exp $ # =pod @@ -218,6 +218,9 @@ sub escape_HTML_entities($) { sub write_HTML_file($$;$%) { my ($origfile, $template_file, $expire, %templateparams) = @_; + my $operator = Echolot::Config::get()->{'operator_address'}; + $operator =~ s/@/./; + for my $lang ( keys %{Echolot::Config::get()->{'templates'}} ) { my $template = HTML::Template->new( filename => Echolot::Config::get()->{'templates'}->{$lang}->{$template_file}, @@ -232,6 +235,7 @@ sub write_HTML_file($$;$%) { $template->param ( thesaurus => Echolot::Config::get()->{'thesaurus'} ); $template->param ( fromlines => Echolot::Config::get()->{'fromlines'} ); $template->param ( version => Echolot::Globals::get()->{'version'} ); + $template->param ( operator => $operator ); $template->param ( expires => date822( time + $expire )); my $file = $origfile; @@ -23,6 +23,7 @@ Changes in * Do not list remailers with the 'testing' capability in public stats. Testing indicates a node is not ready for real users' traffic yet. + * Publish operator's address on index page. Changes in version 2.1 - 2003-03-03 * Minor documentation fixes suggested by Ryan Lackey. diff --git a/templates/echolot.html b/templates/echolot.html index bbad390..921d64e 100644 --- a/templates/echolot.html +++ b/templates/echolot.html @@ -3,7 +3,7 @@ <title>Remailer Reliability Stats [<TMPL_VAR NAME="SITE_NAME">]</title> <META HTTP-EQUIV="Expires" CONTENT="<TMPL_VAR NAME="EXPIRES">"> <link href="echolot.css" rel="stylesheet" type="text/css"> - <!-- $Id: echolot.html,v 1.14 2003/02/18 06:57:07 weasel Exp $ --> + <!-- $Id: echolot.html,v 1.15 2003/10/17 04:12:16 weasel Exp $ --> </head> <body> <h1>Remailer Reliability Stats [<TMPL_VAR NAME="SITE_NAME">]</h1> @@ -132,7 +132,8 @@ been compiled. It also lists which remailers allow setting the From: Header. <hr> Created by <a href="http://www.palfrader.org/echolot/">Echolot <TMPL_VAR NAME="version"></a> at <TMPL_VAR NAME="CURRENT_TIMESTAMP"> (individual pages -may be newer). +may be newer).<br> +This pinger is operated by <code><TMPL_VAR NAME="operator"></code>. </body> <!-- vim:set ts=2: --> |