Aalst Posted November 26, 2003 Share Posted November 26, 2003 In the english.php file there are the following defines: define('TEXT_CCVAL_ERROR_INVALID_DATE', 'The expiry date entered for the credit card is invalid.<br>Please check the date and try again.'); define('TEXT_CCVAL_ERROR_INVALID_NUMBER', 'The credit card number entered is invalid.<br>Please check the number and try again.'); define('TEXT_CCVAL_ERROR_UNKNOWN_CARD', 'The first four digits of the number entered are: %s <br>If that number is correct, we do not accept that type of credit card.<br>If it is wrong, please try again.'); These messages are processed with the sprintf function. Some how in the process of retriving the defines, and getting them displayed the HTML code is being converted and being visably displayed. Example, when there is a HTML break like: <br> it is converted to: <br> and therefor displayed as just visable text and not preforming a break. I have be trying to trouble shoot this problem, but I cannot get a handle on it. So for now I have removed HTML from these messages until it can be addressed. If anyone has any thing to add please do... -Aalst Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.