Guest Posted July 29, 2003 Posted July 29, 2003 when testing checkout, on credit card error messages: (from /includes/languages/english.php) TEXT_CCVAL_ERROR_INVALID_DATE, TEXT_CCVAL_ERROR_INVALID_NUMBER, and TEXT_CCVAL_ERROR_UNKNOWN_CARD, the <br> in the defined text is displaying as <br> instead of creating a line break. These text strings are being used in a sprintf function. Any suggestions, ideas for a fix? Thanks
Rumble Posted July 29, 2003 Posted July 29, 2003 Try using n instead of <br> Reddy to Rumble Thank you osCommerce and all who Contribute to her!
Guest Posted July 30, 2003 Posted July 30, 2003 Thanks, but the n did not work either -- it was displayed just like the <br> tag. Seems like its being treated like a literal. Tried using " instead of ' around the define string but that didn't help either. I can also see that the <b> tags are properly displayed as bold in TEXT_DISPLAY_NUMBER_OF_PRODUCTS for example. And they use sprintf and are not escaped in anyway. Still stymied.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.