From b025be7b869c06a774c09c92170c060bd9e1b179 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 3 Dec 2002 02:59:13 +0000 Subject: Have support for translated templates Use CSS - they need to be trimmed, I don't like Sergiusz's colors thesaurusindexfile and indexfilebasename config values should not longer have the extension (.html) in them --- Echolot/Config.pm | 36 ++++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) (limited to 'Echolot/Config.pm') diff --git a/Echolot/Config.pm b/Echolot/Config.pm index dcb48f4..a2cc755 100644 --- a/Echolot/Config.pm +++ b/Echolot/Config.pm @@ -1,7 +1,7 @@ package Echolot::Config; # (c) 2002 Peter Palfrader -# $Id: Config.pm,v 1.42 2002/10/25 10:46:52 weasel Exp $ +# $Id: Config.pm,v 1.43 2002/12/03 02:59:13 weasel Exp $ # =pod @@ -112,9 +112,9 @@ sub init($) { mailerrordir => 'mail-errors', resultdir => 'results', thesaurusdir => 'results/thesaurus', - thesaurusindexfile => 'results/thesaurus/index.html', + thesaurusindexfile => 'results/thesaurus/index', private_resultdir => 'results.private', - indexfilebasename => 'echolot.html', + indexfilebasename => 'echolot', gnupghome => 'gnupghome', gnupg => '', mixhome => 'mixhome', @@ -148,21 +148,25 @@ sub init($) { # templates templates => { - 'indexfile' => 'templates/echolot.html', - 'thesaurusindexfile' => 'templates/thesaurusindex.html', - 'mlist' => 'templates/mlist.html', - 'mlist2' => 'templates/mlist2.html', - 'rlist' => 'templates/rlist.html', - 'rlist-rsa' => 'templates/rlist-rsa.html', - 'rlist-dsa' => 'templates/rlist-dsa.html', - 'rlist-clear' => 'templates/rlist-clear.html', - 'rlist2' => 'templates/rlist2.html', - 'rlist2-rsa' => 'templates/rlist2-rsa.html', - 'rlist2-dsa' => 'templates/rlist2-dsa.html', - 'rlist2-clear' => 'templates/rlist2-clear.html', - 'clist' => 'templates/clist.html', + default => { + 'indexfile' => 'templates/echolot.html', + 'thesaurusindexfile' => 'templates/thesaurusindex.html', + 'mlist' => 'templates/mlist.html', + 'mlist2' => 'templates/mlist2.html', + 'rlist' => 'templates/rlist.html', + 'rlist-rsa' => 'templates/rlist-rsa.html', + 'rlist-dsa' => 'templates/rlist-dsa.html', + 'rlist-clear' => 'templates/rlist-clear.html', + 'rlist2' => 'templates/rlist2.html', + 'rlist2-rsa' => 'templates/rlist2-rsa.html', + 'rlist2-dsa' => 'templates/rlist2-dsa.html', + 'rlist2-clear' => 'templates/rlist2-clear.html', + 'clist' => 'templates/clist.html', + }, }, + 'echolot_css' => 'templates/echolot.css', + remailerxxxtext => "Hello,\n". "\n". "This message requests remailer configuration data. The pinging software thinks\n". -- cgit v1.2.3