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


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > New osCommerce Contributions

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

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

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,992
Thanks: 80
Thanked 345 Times in 324 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


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
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-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


All times are GMT -8. The time now is 09:21 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax