phpBMS

Changeset 186 for trunk/phpbms/common

Show
Ignore:
Timestamp:
02/16/07 11:59:50 (5 years ago)
Author:
brieb
Message:

Implemented #3. Fixed XHTML compliance of some <br> tags. Fixed invoice report errors. Fixed update.sql naming problem (had leading space)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/phpbms/common/javascript/fields.js

    r184 r186  
    210210// validate phone number 
    211211function validatePhone(thevalue){ 
    212         var pattern= /^(?:[\+]?(?:[\d]{1,3})?(?:\s*[\(\.-]?(\d{3})[\)\.-])?\s*(\d{3})[\.-](\d{4}))(?:(?:[ ]+(?:[xX]|(?:[eE][xX][tT][\.]?)))[ ]?[\d]{1,5})?$/; 
    213         return !(pattern.exec(thevalue)==null); 
     212        return !(phoneRegExpression.exec(thevalue)==null); 
    214213} 
    215214 
phpBMS vulnerability assesment provided by Orvant Inc. Copyright © 2010 Kreotek, LLC. All Rights reserved.