From 9ee69aab6b77bb57d699c1afea4a231d67485fa3 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Fri, 17 Oct 2003 04:12:16 +0000 Subject: Publish operator's address on index page --- Echolot/Tools.pm | 6 +++++- NEWS | 1 + 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 -# $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; diff --git a/NEWS b/NEWS index 4927647..f936e99 100644 --- a/NEWS +++ b/NEWS @@ -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 @@ Remailer Reliability Stats [<TMPL_VAR NAME="SITE_NAME">] "> - +

Remailer Reliability Stats []

@@ -132,7 +132,8 @@ been compiled. It also lists which remailers allow setting the From: Header.
Created by Echolot at (individual pages -may be newer). +may be newer).
+This pinger is operated by . -- cgit v1.2.3