This is a discussion on Extra contact_us.php Protection within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; I modified the contrib from eww to multilanguage and fixed the bug in the email validation! I added also explanations ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| I modified the contrib from eww to multilanguage and fixed the bug in the email validation! I added also explanations to the file! To use multilanguage you have to add the following lines to your language files: eg. english.php define('ENTRY_NAME_CHECK_ERROR', 'Please enter your name.'); // NEU define('ENTRY_ENQUIRY_LENGHT1_CHECK_ERROR', 'Please enter a Message to Submit Your Message (min. 10).'); // NEU define('ENTRY_ENQUIRY_LENGHT2_CHECK_ERROR', 'Please shorten your message and use only necessary detail. (max. 350 Zeichen).'); // NEU define('ENTRY_ENQUIRY_CHECK_ERROR', 'Not interested in your spam, thank you.'); // NEU german.php define('ENTRY_NAME_CHECK_ERROR', 'Bitte vollständigen Namen eingeben.'); // NEU define('ENTRY_ENQUIRY_LENGHT1_CHECK_ERROR', 'Bitte überprüfen Sie die Länge Ihrer Nachricht (min. 10 Zeichen).'); // NEU define('ENTRY_ENQUIRY_LENGHT2_CHECK_ERROR', 'Bitte überprüfen Sie die Länge Ihrer Nachricht (max. 350 Zeichen).'); // NEU define('ENTRY_ENQUIRY_CHECK_ERROR', 'SPAMFILTER ist aktiv! Bitte überprüfen Sie den Inhalt Ihrer Nachricht.'); // NEU More...
__________________ Michael Sasek osCMax Developer
|
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Robot Protection V 1.0 | michael_s | New osCommerce Contributions | 0 | 01-24-2007 12:59 AM |
| Spam flaw in stock contact_us.php | neil | osCMax v2 Customization/Mods | 0 | 09-14-2005 06:57 PM |
| I erased contact_us.php! | Alesha | osCommerce 2.2 Modification Help | 6 | 07-19-2004 09:20 AM |
| Add checkboxes to contact_us.php | nelsonlo | osCMax v1.7 Discussion | 0 | 06-23-2004 05:14 PM |
| editing contact_us | frobscottle | osCommerce 2.2 Modification Help | 3 | 01-26-2004 09:14 AM |