rev 1896 - trunk/buscador/lib/Buscador

[prev] [thread] [next] [lurker] [Date index for 2005/02/16]

From: simon
Subject: rev 1896 - trunk/buscador/lib/Buscador
Date: 12:30 on 16 Feb 2005
Author: simon
Date: 2005-02-16 12:30:09 +0000 (Wed, 16 Feb 2005)
New Revision: 1896

Modified:
   trunk/buscador/lib/Buscador/Decorate.pm
   trunk/buscador/lib/Buscador/Thread.pm
Log:
lowercase tags


Modified: trunk/buscador/lib/Buscador/Decorate.pm
===================================================================
--- trunk/buscador/lib/Buscador/Decorate.pm	2005-02-16 12:24:04 UTC (rev 1895)
+++ trunk/buscador/lib/Buscador/Decorate.pm	2005-02-16 12:30:09 UTC (rev 1896)
@@ -97,11 +97,11 @@
             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"> </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}
-#                {<span class="personunknown"> <SUP><IMG SRC="$img/personunknown.gif"> </SUP>$nn</span>}gims;
+#                {<span class="personunknown"> <sup><img src="$img/personunknown.gif"> </sup>$nn</span>}gims;
         }
     }
     return $node;
@@ -131,10 +131,10 @@
             if ($addresses{$orig_email}) {
                 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>"
+                return "<a href='${base}address/view/$id' class='personknown'>".
+                       " <sup><img src='$img/personknown.gif'> </sup>$orig_email</A>"
             } else {
-                return "<SUP><IMG SRC='$img/personunknown.gif'> </SUP>$orig_email";
+                return "<sup><img src='$img/personunknown.gif'> </sup>$orig_email";
             }
                                        
     });

Modified: trunk/buscador/lib/Buscador/Thread.pm
===================================================================
--- trunk/buscador/lib/Buscador/Thread.pm	2005-02-16 12:24:04 UTC (rev 1895)
+++ trunk/buscador/lib/Buscador/Thread.pm	2005-02-16 12:30:09 UTC (rev 1896)
@@ -147,7 +147,7 @@
         last if (@children>1);
         $cont = $children[0];
     }
-    my $html = "<UL class=\"mktree\">\n";
+    my $html = "<ul class=\"mktree\">\n";
     my $add_me;
     my $base = Buscador->config->{uri_base};
     $add_me = sub {
@@ -159,9 +159,9 @@
         if (!$mess) { $html .= "<i>message not available</i>" }
         elsif ($c == $orig) { $html .= "<b> this message </b>" }
         else {
-            $html .= qq{<A HREF="${base}mail/view/}.$mess->id.q{">}.
+            $html .= qq{<a href="${base}mail/view/}.$mess->id.q{">}.
         $mess->subject."</A>\n";
-        $html .= "<BR>&nbsp;&nbsp<SMALL>".eval {$mess->addressings(role =>"From")->first->name->name}."</SMALL>\n";
+        $html .= "<br>&nbsp;&nbsp<small>".eval {$mess->addressings(role =>"From")->first->name->name}."</small>\n";
         }
 
         if ($c->children) {

Generated at 13:00 on 16 Feb 2005 by mariachi 0.52