Author: jfthomps
Date: Fri Feb 24 16:35:40 2012
New Revision: 1293331

URL: http://svn.apache.org/viewvc?rev=1293331&view=rev
Log:
VCL-455
put alt text with a image generated by textimage.php

modified getImageText - added alt to img tag to cause the text to be displayed 
if there is a problem with the GD library; patch submitted by Shoji Kajita

Modified:
    incubator/vcl/trunk/web/.ht-inc/utils.php

Modified: incubator/vcl/trunk/web/.ht-inc/utils.php
URL: 
http://svn.apache.org/viewvc/incubator/vcl/trunk/web/.ht-inc/utils.php?rev=1293331&r1=1293330&r2=1293331&view=diff
==============================================================================
--- incubator/vcl/trunk/web/.ht-inc/utils.php (original)
+++ incubator/vcl/trunk/web/.ht-inc/utils.php Fri Feb 24 16:35:40 2012
@@ -9030,7 +9030,7 @@ function timeToNextReservation($request)
 ///
 
////////////////////////////////////////////////////////////////////////////////
 function getImageText($text) {
-       return "<img src=\"" . BASEURL . "/images/textimage.php?text=$text\">";
+       return "<img alt=\"$text\" src=\"" . BASEURL . 
"/images/textimage.php?text=$text\">";
 }
 
 
////////////////////////////////////////////////////////////////////////////////


Reply via email to