Menu

#904 Alt Image label incorrect when using CSV

7.0
open
nobody
None
1
2014-12-13
2013-02-27
ecornwell
No

Hello,

After enabling CSV downloads via awdownloadcsv.pl there was code displayed next to the image and the alt image text was wrong. It would place "Export CSV />" next to the image. It only broke when $title was used under:

my $function = "ShowGraph_$pluginname";
&$function(
"$title",              "filetypes",
0,                      \@blocklabel,
0,                      \@valcolor,
0,                      0,
0,                      \@valdata
);

I corrected it by replacing $title with the proper $Message[] value (which also corrects for the proper language.) Otherwise it tried to put the full CSV download url in the alt image text.

my $function = "ShowGraph_$pluginname";
&$function(
"$Message[73]",              "filetypes",
0,                      \@blocklabel,
0,                      \@valcolor,
0,                      0,
0,                      \@valdata
);

I did this on all the "HTMLMain" subs.

Discussion


Log in to post a comment.