changeset 14:9b8670ac1bcc

Adding title attr to images
author Dominic Cleal <dominic@computerkb.co.uk>
date Sun, 25 Jan 2009 13:39:38 +0000
parents 135adaf0eed2
children 50d8619bce32
files reproctool.cgi
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/reproctool.cgi	Sun Jan 25 13:38:09 2009 +0000
+++ b/reproctool.cgi	Sun Jan 25 13:39:38 2009 +0000
@@ -175,7 +175,8 @@
     
     print "<td width='64' class='item'>";
     print "<a href='$link'>" if defined $link;
-    print "<img src='$img' width='64' height='64' border='1' alt=\"$item->{name}\" />";
+    print "<img src='$img' width='64' height='64' border='1' ";
+    print   "title=\"$item->{name}\" alt=\"$item->{name}\" />";
     print "</a>" if defined $link;
     print "<br />";
     print "<font color='$colour'>" if defined $colour;