Revision 4ee5ba7c
Added by Hamish Coleman over 17 years ago
- ID 4ee5ba7ce47f7c76a9c2e77d9eddae2aa13db8b1
mrtg.cgi | ||
---|---|---|
#
|
||
# Requires the CGI package (in mandriva this is perl-CGI)
|
||
|
||
our $VERSION=2;
|
||
|
||
use strict;
|
||
use warnings;
|
||
|
||
... | ... | |
my $selfurl = url(-relative=>1).'?';
|
||
my $this_host = hostname;
|
||
|
||
print header, start_html(-TITLE=>"$this_host MRTG Index", -BGCOLOR=>'#e6e6e6'),
|
||
print header, start_html(-TITLE=>"$this_host MRTG Index (V$VERSION)", -BGCOLOR=>'#e6e6e6'),
|
||
"\n";
|
||
|
||
# FIXME - use something that doesnt make "&" into "&" in the <a> tags
|
||
... | ... | |
# a({-href=>"mailto:mick\@lowdown.com"}, "mick\@lowdown.com"),
|
||
# end_html;
|
||
print "\n",hr,"Direct questions and feedback to ",
|
||
a({-href=>"mailto:hamish\@zot.org"}, "Hamish"),
|
||
end_html;
|
||
a({-href=>"mailto:hamish\@zot.org"}, "Hamish"),
|
||
" (Version $VERSION)",
|
||
end_html;
|
||
|
Also available in: Unified diff
Add version number