rainbowlook Posted December 13, 2004 Posted December 13, 2004 after test a invalid credit card number. it shows: The first four digits of the number entered are: 1111<br>If that number is correct, we do not accept that type of credit card.<br>If it is wrong, please try again. so, defenitely, there should be </br> i want to just fix this small mistake. but where can i find it? in which file?
stevel Posted December 13, 2004 Posted December 13, 2004 All of the text is in one of the files under incliudes/languages. For English, it's english.php for text used on more than one page, otherwise it's in one of the files under the English subfolder with the same name as the page. A good search tool is very helpful. (I like Agent Ransack, which is free, though for web development I use what's in Dreamweaver.) Steve Contributions: Country-State Selector Login Page a la Amazon Protection of Configuration Updated spiders.txt Embed Links with SID in Description
rainbowlook Posted December 13, 2004 Author Posted December 13, 2004 All of the text is in one of the files under incliudes/languages. For English, it's english.php for text used on more than one page, otherwise it's in one of the files under the English subfolder with the same name as the page. A good search tool is very helpful. (I like Agent Ransack, which is free, though for web development I use what's in Dreamweaver.) <{POST_SNAPBACK}> found it. but can not fix it -.-!! dont know why the <br> not work but just displayed. :'(
Jack_mcs Posted December 13, 2004 Posted December 13, 2004 Try posting your code here so someone can see what's going wrong. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
rainbowlook Posted December 13, 2004 Author Posted December 13, 2004 Try posting your code here so someone can see what's going wrong. Jack <{POST_SNAPBACK}> yes, the codes in my english.php are: 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.');
bobg7 Posted December 13, 2004 Posted December 13, 2004 Try this: define('TEXT_CCVAL_ERROR_INVALID_DATE', 'The expiry date entered for the credit card is invalid.<br>Please check the date and try again.</br>');define('TEXT_CCVAL_ERROR_INVALID_NUMBER', 'The credit card number entered is invalid.<br>Please check the number and try again.</br>'); 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> <br>If it is wrong, please try again.</br>'); The <br> needs to be closed with a </br> Hope this helps. (opp's, missed one on the original entry) :blink: Installed Contributions: CCGV, Close Popup, Dynamic Meta Tags, Easy Populate, Froogle Data Feeder, Google Position, Infobox Header Entire Row, Live Support for OSC, PayPal Seal with CC images, Report_m Sales, Shop by Price Revised, SQL Updater, Who's Online Enhancement, Footer, GNA EP Assistant and still going.
♥Vger Posted December 13, 2004 Posted December 13, 2004 Both </br> and <br> should work fine. If the <br> tag is being displayed on the page that is usally a problem with the installation of php. Vger
stevel Posted December 13, 2004 Posted December 13, 2004 <br> is not a tag that needs to be closed in HTML. I have seen this behavior myself - sometimes I can substitute \n in the line to get the line break, but not always. If you look at the HTML that is output, you'll find that the < and > have been replaced with the HTML escapes for those characters. Steve Contributions: Country-State Selector Login Page a la Amazon Protection of Configuration Updated spiders.txt Embed Links with SID in Description
rainbowlook Posted December 13, 2004 Author Posted December 13, 2004 im confused. :'( so what should i do now?
rainbowlook Posted December 14, 2004 Author Posted December 14, 2004 im confused. :'( so what should i do now? <{POST_SNAPBACK}> help plz!!!!!!!! i can not fix it out !! :'( :'( :'(
boxtel Posted December 14, 2004 Posted December 14, 2004 help plz!!!!!!!! i can not fix it out !! :'( :'( :'( <{POST_SNAPBACK}> not sure but give this a try: define('TEXT_CCVAL_ERROR_UNKNOWN_CARD', 'The first four digits of the number entered are: %s ' . "\n" . 'If that number is correct, we do not accept that type of credit card.' . "\n" . 'If it is wrong, please try again.'); Treasurer MFC
stevel Posted December 14, 2004 Posted December 14, 2004 Or take out the <br> in the text, which is what I ended up doing. Steve Contributions: Country-State Selector Login Page a la Amazon Protection of Configuration Updated spiders.txt Embed Links with SID in Description
Recommended Posts
Archived
This topic is now archived and is closed to further replies.