summaryrefslogtreecommitdiff
path: root/Echolot/Config.pm
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2002-12-03 02:59:13 +0000
committerPeter Palfrader <peter@palfrader.org>2002-12-03 02:59:13 +0000
commitb025be7b869c06a774c09c92170c060bd9e1b179 (patch)
tree3cad523b5adcd6c22243ecb1724873a7ec6e44f7 /Echolot/Config.pm
parenta5a75de615b8e131c4be7f3f12c2b293fa997ae3 (diff)
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
Diffstat (limited to 'Echolot/Config.pm')
-rw-r--r--Echolot/Config.pm36
1 files changed, 20 insertions, 16 deletions
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 <peter@palfrader.org>
-# $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".