changeset 7:e30154411e63

Even a more cheapy solution, but like this we re at least not changing db data to fit it to the IGB
author df
date Sun, 25 Jan 2009 12:31:34 +0000
parents c80353ce6afc
children ccd5e74fa58e 6b98a17fbe22
files reproctool.cgi
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/reproctool.cgi	Sun Jan 25 12:28:41 2009 +0000
+++ b/reproctool.cgi	Sun Jan 25 12:31:34 2009 +0000
@@ -116,10 +116,6 @@
 
 for my $item (@output)
 {
-    # Due to some IGB limitations, we cant use escapeHTML(). So the workaround is useing "'s.
-    my $htmlItemName=$item->{name};
-    $htmlItemName=~s/'/"/g;
-    
     if ($col == $cols)
     {
         print "</tr><tr>\n";
@@ -151,7 +147,7 @@
     
     print "<td width='64' class='item'>";
     print "<a href='$link'>" if defined $link;
-    print "<img src='$img' width='64' height='64' border='1' alt='$htmlItemName' />";
+    print "<img src='$img' width='64' height='64' border='1' alt=\"$item->{name}\" />";
     print "</a>" if defined $link;
     print "<br />";
     print "<font color='$colour'>" if defined $colour;