From: Ian Jackson Date: Sun, 27 Jun 2010 19:20:24 +0000 (+0100) Subject: more html fixups X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ijackson/git?a=commitdiff_plain;h=77d82be62eddeb8f1bd2a5007ca3f9f40e577c3b;p=rrd-graphs.git more html fixups --- diff --git a/cgi b/cgi index dc3137c..9aee643 100755 --- a/cgi +++ b/cgi @@ -297,7 +297,8 @@ if ($detail) { my $tsloth= $xsloth + $g->{Slower}; my $imgurl= "$self?graph=$detail§ion=$section". "&sloth=$tsloth&elem=$elem"; - print a({href=>"$imgurl&w=780&h=800"}, img({src=>$imgurl})); + print a({href=>"$imgurl&w=780&h=800"}, + img({src=>$imgurl, alt=>''})); } } print end_html(); @@ -327,15 +328,16 @@ if (param('debug')) { start_page("$section graphs"); foreach my $group (@{ $section_groups{$section} }) { - print a({href=>"$self?detail=$group§ion=$section"}); - my $imgurl= "$self?graph=$group§ion=$section"; my $elems= $group_elems{$section,$group}; if (@$elems > 1) { print "
"; } + print a({href=>"$self?detail=$group§ion=$section"}); + my $imgurl= "$self?graph=$group§ion=$section"; foreach my $elem (@$elems) { my $g= $graphs{$section,$group,$elem}; - print img({src=>"$imgurl&elem=$elem&sloth=".($sloth + $g->{Slower})}); + print img({src=>"$imgurl&elem=$elem&sloth=".($sloth + $g->{Slower}), + alt=>''}); } - if (@$elems > 1) { print "
"; } print "\n"; + if (@$elems > 1) { print ""; } }