diff options
author | Peter Palfrader <peter@palfrader.org> | 2002-07-16 00:54:12 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2002-07-16 00:54:12 +0000 |
commit | 82eecd04982dcc9371801264b05acb8ab67bd73e (patch) | |
tree | a2e5e729560d83fb9e18423d8b0f9649c270d1e7 | |
parent | 1bbc600d22135a8ff4eda863c64afedb00cb3c9a (diff) |
Have echolot version in HTML output
-rw-r--r-- | Echolot/Globals.pm | 7 | ||||
-rw-r--r-- | Echolot/Stats.pm | 3 | ||||
-rw-r--r-- | NEWS | 7 | ||||
-rwxr-xr-x | pingd | 4 | ||||
-rw-r--r-- | templates/clist.html | 2 | ||||
-rw-r--r-- | templates/mlist.html | 2 | ||||
-rw-r--r-- | templates/mlist2.html | 2 | ||||
-rw-r--r-- | templates/rlist-clear.html | 2 | ||||
-rw-r--r-- | templates/rlist-dsa.html | 2 | ||||
-rw-r--r-- | templates/rlist-rsa.html | 2 | ||||
-rw-r--r-- | templates/rlist.html | 2 | ||||
-rw-r--r-- | templates/rlist2-clear.html | 2 | ||||
-rw-r--r-- | templates/rlist2-dsa.html | 2 | ||||
-rw-r--r-- | templates/rlist2-rsa.html | 2 | ||||
-rw-r--r-- | templates/rlist2.html | 2 | ||||
-rw-r--r-- | templates/thesaurusindex.html | 2 |
16 files changed, 26 insertions, 19 deletions
diff --git a/Echolot/Globals.pm b/Echolot/Globals.pm index bd374da..0a1dabb 100644 --- a/Echolot/Globals.pm +++ b/Echolot/Globals.pm @@ -1,7 +1,7 @@ package Echolot::Globals; # (c) 2002 Peter Palfrader <peter@palfrader.org> -# $Id: Globals.pm,v 1.2 2002/06/20 04:27:37 weasel Exp $ +# $Id: Globals.pm,v 1.3 2002/07/16 00:53:33 weasel Exp $ # =pod @@ -20,12 +20,15 @@ use Carp; my $GLOBALS; -sub init { +sub init(%) { + my (%args) = @_; + my $hostname = `hostname`; $hostname =~ /^([a-zA-Z0-9_-]*)$/; $hostname = $1 || 'unknown'; $GLOBALS->{'hostname'} = $hostname; $GLOBALS->{'internalcounter'} = 1; + $GLOBALS->{'version'} = $args{'version'}; }; sub initStorage { diff --git a/Echolot/Stats.pm b/Echolot/Stats.pm index 5493436..5dfc17d 100644 --- a/Echolot/Stats.pm +++ b/Echolot/Stats.pm @@ -1,7 +1,7 @@ package Echolot::Stats; # (c) 2002 Peter Palfrader <peter@palfrader.org> -# $Id: Stats.pm,v 1.19 2002/07/13 20:42:51 weasel Exp $ +# $Id: Stats.pm,v 1.20 2002/07/16 00:53:33 weasel Exp $ # =pod @@ -282,6 +282,7 @@ sub write_file($$;$) { $template->param ( SITE_NAME => Echolot::Config::get()->{'sitename'} ); $template->param ( seperate_rlist => Echolot::Config::get()->{'seperate_rlists'} ); $template->param ( combined_list => Echolot::Config::get()->{'combined_list'} ); + $template->param ( version => Echolot::Globals::get()->{'version'} ); $filename = $filebasename.'.html'; open(F, '>'.$filename) or @@ -1,9 +1,12 @@ +Changes in version + * Have echolot version in stats HTML pages + Changes in version 2.0beta14 - 2002-07-16 * Added commands buildstats buildkeys and buildthesaurus * Added legend to templates (Orange) * Thesaurus building failed when an id did not return a - valid remailer. A check was there bug it was wrong. - * Have pingd.conf.5 manpage documenting all options. + valid remailer. A check was there bug it was wrong + * Have pingd.conf.5 manpage documenting all options Changes in version 2.0beta13 - 2002-07-13 * Have correct title tags and some layout changes in the HTML templates @@ -3,7 +3,7 @@ $| = 1; # (c) 2002 Peter Palfrader <peter@palfrader.org> -# $Id: pingd,v 1.41 2002/07/16 00:16:16 weasel Exp $ +# $Id: pingd,v 1.42 2002/07/16 00:53:33 weasel Exp $ # =pod @@ -513,7 +513,7 @@ die ("command required\n") unless defined $COMMAND; Echolot::Config::init( $params ); chdir( Echolot::Config::get()->{'homedir'} ); -Echolot::Globals::init(); +Echolot::Globals::init( version => $VERSION); if ($COMMAND eq 'add' || $COMMAND eq 'delete') { diff --git a/templates/clist.html b/templates/clist.html index ed3d920..dbae827 100644 --- a/templates/clist.html +++ b/templates/clist.html @@ -60,7 +60,7 @@ Please see the <a href="#legend">Legend</a> below for interpretative data. <TMPL_INCLUDE NAME="templates/v2legend.html"> <hr> -Created by <a href="http://savannah.gnu.org/projects/echolot/">Echolot</a>.<br> +Created by <a href="http://savannah.gnu.org/projects/echolot/">Echolot <TMPL_VAR NAME="version"></a>.<br> Last update: <TMPL_VAR NAME="CURRENT_TIMESTAMP">. </body> diff --git a/templates/mlist.html b/templates/mlist.html index 9daf605..9c88d73 100644 --- a/templates/mlist.html +++ b/templates/mlist.html @@ -60,7 +60,7 @@ Please see the <a href="#legend">Legend</a> below for interpretative data. <TMPL_INCLUDE NAME="templates/v1legend.html"> <hr> -Created by <a href="http://savannah.gnu.org/projects/echolot/">Echolot</a>.<br> +Created by <a href="http://savannah.gnu.org/projects/echolot/">Echolot <TMPL_VAR NAME="version"></a>.<br> Last update: <TMPL_VAR NAME="CURRENT_TIMESTAMP">. </body> diff --git a/templates/mlist2.html b/templates/mlist2.html index b29fbb2..0eec654 100644 --- a/templates/mlist2.html +++ b/templates/mlist2.html @@ -60,7 +60,7 @@ Please see the <a href="#legend">Legend</a> below for interpretative data. <TMPL_INCLUDE NAME="templates/v2legend.html"> <hr> -Created by <a href="http://savannah.gnu.org/projects/echolot/">Echolot</a>.<br> +Created by <a href="http://savannah.gnu.org/projects/echolot/">Echolot <TMPL_VAR NAME="version"></a>.<br> Last update: <TMPL_VAR NAME="CURRENT_TIMESTAMP">. </body> diff --git a/templates/rlist-clear.html b/templates/rlist-clear.html index fd84084..dac6812 100644 --- a/templates/rlist-clear.html +++ b/templates/rlist-clear.html @@ -60,7 +60,7 @@ Please see the <a href="#legend">Legend</a> below for interpretative data. <TMPL_INCLUDE NAME="templates/v1legend.html"> <hr> -Created by <a href="http://savannah.gnu.org/projects/echolot/">Echolot</a>.<br> +Created by <a href="http://savannah.gnu.org/projects/echolot/">Echolot <TMPL_VAR NAME="version"></a>.<br> Last update: <TMPL_VAR NAME="CURRENT_TIMESTAMP">. </body> diff --git a/templates/rlist-dsa.html b/templates/rlist-dsa.html index 9fedd10..a1e2a78 100644 --- a/templates/rlist-dsa.html +++ b/templates/rlist-dsa.html @@ -60,7 +60,7 @@ Please see the <a href="#legend">Legend</a> below for interpretative data. <TMPL_INCLUDE NAME="templates/v1legend.html"> <hr> -Created by <a href="http://savannah.gnu.org/projects/echolot/">Echolot</a>.<br> +Created by <a href="http://savannah.gnu.org/projects/echolot/">Echolot <TMPL_VAR NAME="version"></a>.<br> Last update: <TMPL_VAR NAME="CURRENT_TIMESTAMP">. </body> diff --git a/templates/rlist-rsa.html b/templates/rlist-rsa.html index 0ce32a5..40619c7 100644 --- a/templates/rlist-rsa.html +++ b/templates/rlist-rsa.html @@ -60,7 +60,7 @@ Please see the <a href="#legend">Legend</a> below for interpretative data. <TMPL_INCLUDE NAME="templates/v1legend.html"> <hr> -Created by <a href="http://savannah.gnu.org/projects/echolot/">Echolot</a>.<br> +Created by <a href="http://savannah.gnu.org/projects/echolot/">Echolot <TMPL_VAR NAME="version"></a>.<br> Last update: <TMPL_VAR NAME="CURRENT_TIMESTAMP">. </body> diff --git a/templates/rlist.html b/templates/rlist.html index 93121ac..66cb49b 100644 --- a/templates/rlist.html +++ b/templates/rlist.html @@ -60,7 +60,7 @@ Please see the <a href="#legend">Legend</a> below for interpretative data. <TMPL_INCLUDE NAME="templates/v1legend.html"> <hr> -Created by <a href="http://savannah.gnu.org/projects/echolot/">Echolot</a>.<br> +Created by <a href="http://savannah.gnu.org/projects/echolot/">Echolot <TMPL_VAR NAME="version"></a>.<br> Last update: <TMPL_VAR NAME="CURRENT_TIMESTAMP">. </body> diff --git a/templates/rlist2-clear.html b/templates/rlist2-clear.html index 4b6b261..091f866 100644 --- a/templates/rlist2-clear.html +++ b/templates/rlist2-clear.html @@ -60,7 +60,7 @@ Please see the <a href="#legend">Legend</a> below for interpretative data. <TMPL_INCLUDE NAME="templates/v2legend.html"> <hr> -Created by <a href="http://savannah.gnu.org/projects/echolot/">Echolot</a>.<br> +Created by <a href="http://savannah.gnu.org/projects/echolot/">Echolot <TMPL_VAR NAME="version"></a>.<br> Last update: <TMPL_VAR NAME="CURRENT_TIMESTAMP">. </body> diff --git a/templates/rlist2-dsa.html b/templates/rlist2-dsa.html index 0a37c7c..2a57ce3 100644 --- a/templates/rlist2-dsa.html +++ b/templates/rlist2-dsa.html @@ -60,7 +60,7 @@ Please see the <a href="#legend">Legend</a> below for interpretative data. <TMPL_INCLUDE NAME="templates/v2legend.html"> <hr> -Created by <a href="http://savannah.gnu.org/projects/echolot/">Echolot</a>.<br> +Created by <a href="http://savannah.gnu.org/projects/echolot/">Echolot <TMPL_VAR NAME="version"></a>.<br> Last update: <TMPL_VAR NAME="CURRENT_TIMESTAMP">. </body> diff --git a/templates/rlist2-rsa.html b/templates/rlist2-rsa.html index 8afe5dc..dcbf447 100644 --- a/templates/rlist2-rsa.html +++ b/templates/rlist2-rsa.html @@ -60,7 +60,7 @@ Please see the <a href="#legend">Legend</a> below for interpretative data. <TMPL_INCLUDE NAME="templates/v2legend.html"> <hr> -Created by <a href="http://savannah.gnu.org/projects/echolot/">Echolot</a>.<br> +Created by <a href="http://savannah.gnu.org/projects/echolot/">Echolot <TMPL_VAR NAME="version"></a>.<br> Last update: <TMPL_VAR NAME="CURRENT_TIMESTAMP">. </body> diff --git a/templates/rlist2.html b/templates/rlist2.html index 4a2766f..cc5cad7 100644 --- a/templates/rlist2.html +++ b/templates/rlist2.html @@ -60,7 +60,7 @@ Please see the <a href="#legend">Legend</a> below for interpretative data. <TMPL_INCLUDE NAME="templates/v2legend.html"> <hr> -Created by <a href="http://savannah.gnu.org/projects/echolot/">Echolot</a>.<br> +Created by <a href="http://savannah.gnu.org/projects/echolot/">Echolot <TMPL_VAR NAME="version"></a>.<br> Last update: <TMPL_VAR NAME="CURRENT_TIMESTAMP">. </body> diff --git a/templates/thesaurusindex.html b/templates/thesaurusindex.html index 1acc218..c4ba410 100644 --- a/templates/thesaurusindex.html +++ b/templates/thesaurusindex.html @@ -28,7 +28,7 @@ </table> <hr> -Created by <a href="http://savannah.gnu.org/projects/echolot/">Echolot</a>.<br> +Created by <a href="http://savannah.gnu.org/projects/echolot/">Echolot <TMPL_VAR NAME="version"></a>.<br> Last update: <TMPL_VAR NAME="CURRENT_TIMESTAMP">. </body> |