osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Extra contact_us.php Protection

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 ...



Find us on Facebook
Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > New osCommerce Contributions

Connect with Facebook Register FAQDonate Members List Calendar Mark Forums Read


Closed Thread

 

LinkBack Thread Tools
  #1  
Old 02-15-2007, 03:54 AM
michael_s's Avatar
osCMax Developer


 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 15,754
Thanks: 139
Thanked 609 Times in 521 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Post Extra contact_us.php Protection

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

*** Do not PM me requesting paid help. The only paid work I do is for AABox Web Hosting customers ***

Stay Up To Date with everything osCMax:
Free osCMax Newsletters - Security notices, New Releases, osCMax News
osCMax on Twitter - Up to the minute info as it happens. Know it first.

osCMax User Manual - osCMax Templates - Advanced Template Tutorial

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Robot Protection V 1.0 michael_s New osCommerce Contributions 0 01-23-2007 11:59 PM
Spam flaw in stock contact_us.php neil osCMax v2 Customization/Mods 0 09-14-2005 05:57 PM
I erased contact_us.php! Alesha osCommerce 2.2 Modification Help 6 07-19-2004 08:20 AM
Add checkboxes to contact_us.php nelsonlo osCMax v1.7 Discussion 0 06-23-2004 04:14 PM
editing contact_us frobscottle osCommerce 2.2 Modification Help 3 01-26-2004 08:14 AM


All times are GMT -8. The time now is 05:52 PM.


Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2009 osCMax
Inactive Reminders By Icora Web Design