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 --- doc/pingd.conf.pod | 50 ++++++++++++++++++++++++++++++++++---------------- 1 file changed, 34 insertions(+), 16 deletions(-) (limited to 'doc/pingd.conf.pod') diff --git a/doc/pingd.conf.pod b/doc/pingd.conf.pod index 479ca7b..a0af135 100644 --- a/doc/pingd.conf.pod +++ b/doc/pingd.conf.pod @@ -402,7 +402,7 @@ The directory where Thesaurus data is put. The Thesaurus index file. - Default: 'thesaurusindexfile' => 'results/thesaurus/index.html', + Default: 'thesaurusindexfile' => 'results/thesaurus/index', =item B @@ -415,8 +415,8 @@ show set to false are shown here too). The file to write the index.html to (relative to the result directory). - Default: 'indexfilebasename' => 'echolot.html', - Example: 'indexfilebasename' => 'index.html', + Default: 'indexfilebasename' => 'echolot', + Example: 'indexfilebasename' => 'index', =item B @@ -581,7 +581,7 @@ Pings mixmaster remailers. =item B The template files are used to generate the HTML version of all Echolot output. -It is a hash that has the following keys: +It is a hash of hashes which each have following keys: B, B, B, @@ -595,21 +595,39 @@ B, B, and B. +The outer hash keys are for language selection. + Default: 'templates' => { - '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' => { + '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', + }, + 'de' => { + 'thesaurusindexfile' => 'templates/thesaurusindex.de.html', + .... + }, + 'pl' => { + 'thesaurusindexfile' => 'templates/thesaurusindex.pl.html', + .... + } }; +=item B + +Location of the CSS file. This is copied to resultdir/echolot.css. + + Default: 'echolot_css' => 'templates/echolot.css', + =back -- cgit v1.2.3