[prev] [thread] [next] [lurker] [Date index for 2005/02/18]
Author: simon Date: 2005-02-18 17:05:54 +0000 (Fri, 18 Feb 2005) New Revision: 1914 Modified: trunk/buscador/lib/Buscador/Decorate.pm trunk/buscador/lib/Buscador/Thread.pm Log: Bit of XHTML compliancy Modified: trunk/buscador/lib/Buscador/Decorate.pm =================================================================== --- trunk/buscador/lib/Buscador/Decorate.pm 2005-02-18 17:05:20 UTC (rev 1913) +++ trunk/buscador/lib/Buscador/Decorate.pm 2005-02-18 17:05:54 UTC (rev 1914) @@ -97,7 +97,7 @@ my $nn = encode_entities($name->name); my $id = $name->id; $node->{representations}{html} =~ s{\b\Q$nn\E\b} - {<a href="${base}name/view/$id" class="personknown"> <sup><img src="$img/personknown.gif"> </sup>$nn</a>}gmsi; + {<a href='${base}name/view/$id' class='personknown'> <sup><img src='$img/personknown.gif' alt='known person' /> </sup>$nn</a>}gmsi; # } elsif ($entity->score >= 20) { # Have to be damned sure # my $nn = encode_entities($entity->thing); # $node->{representations}{html} =~ s{\b\Q$nn\E\b} @@ -132,9 +132,9 @@ my $add = $addresses{$orig_email}; my $id = $add->id; return "<a href='${base}address/view/$id' class='personknown'>". - " <sup><img src='$img/personknown.gif'> </sup>$orig_email</A>" + " <sup><img src='$img/personknown.gif' alt='known person' /> </sup>$orig_email</a>" } else { - return "<sup><img src='$img/personunknown.gif'> </sup>$orig_email"; + return "<sup><img src='$img/personunknown.gif' alt='known person' /> </sup>$orig_email"; } }); Modified: trunk/buscador/lib/Buscador/Thread.pm =================================================================== --- trunk/buscador/lib/Buscador/Thread.pm 2005-02-18 17:05:20 UTC (rev 1913) +++ trunk/buscador/lib/Buscador/Thread.pm 2005-02-18 17:05:54 UTC (rev 1914) @@ -160,7 +160,7 @@ elsif ($c == $orig) { $html .= "<b> this message </b>" } else { $html .= qq{<a href="${base}mail/view/}.$mess->id.q{">}. - $mess->subject."</A>\n"; + $mess->subject."</a>\n"; $html .= "<br />  <small>".eval {$mess->addressings(role =>"From")->first->name->name}."</small>\n"; }
Generated at 18:00 on 18 Feb 2005 by mariachi 0.52