Thanks, Sheila. It works perfectly! I also made the same change in the javascript code. I'll post a bug/fix report to osC support forum. Thanks again.

KoaFar

At 01:34 PM 12/13/2003, you wrote:
K.F. Wu wrote:
The following code is the part involves the bug in product_info.php:

<noscript>
<?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_bimage']) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_bimage'], $product_info['products_name']) . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>
</noscript>

Try this,


<noscript>
<?php
$alt_text = addslashes($product_info['products_name']);
echo '<a href="' . tep_href_link(DIR_WS_IMAGES .
 $product_info['products_bimage']) . '" target="_blank">' .
 tep_image(DIR_WS_IMAGES . $product_info['products_bimage'],
 $alt_text) . '<br>' . TEXT_CLICK_TO_ENLARGE .
'</a>';
?>
</noscript>


HTH, Sheila

--
Sheila Fenelon
http://www.shefen.com/
CGI and Database Programming


____ • The WDVL Discussion List from WDVL.COM • ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email.
To change subscription settings to the wdvltalk digest version:
http://wdvl.internet.com/WDVL/Forum/#sub


________________ http://www.wdvl.com _______________________

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to