Mercurial > hg > reproctool-df
changeset 6:c80353ce6afc
Cheap solution to make ALT work on eve :(
author | df |
---|---|
date | Sun, 25 Jan 2009 12:28:41 +0000 |
parents | 42268fc087a9 |
children | e30154411e63 |
files | reproctool.cgi |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/reproctool.cgi Sat Jan 24 17:53:47 2009 +0000 +++ b/reproctool.cgi Sun Jan 25 12:28:41 2009 +0000 @@ -116,6 +116,10 @@ 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"; @@ -147,7 +151,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='$item->{name}' />"; + print "<img src='$img' width='64' height='64' border='1' alt='$htmlItemName' />"; print "</a>" if defined $link; print "<br />"; print "<font color='$colour'>" if defined $colour;