From 337473b29af23892d2bcbe4cc97c087aa5ff8b30 Mon Sep 17 00:00:00 2001 From: Marius Burkard <m.burkard@pixcept.de> Date: Wed, 20 Jan 2016 05:02:40 -0500 Subject: [PATCH] Merge branch 'stable-3.1' --- interface/web/client/form/reseller.tform.php | 16 ++++------------ 1 files changed, 4 insertions(+), 12 deletions(-) diff --git a/interface/web/client/form/reseller.tform.php b/interface/web/client/form/reseller.tform.php index 1492f3e..9bc416f 100644 --- a/interface/web/client/form/reseller.tform.php +++ b/interface/web/client/form/reseller.tform.php @@ -328,15 +328,8 @@ 2 => array( 'event' => 'SAVE','type' => 'TOLOWER') ), 'validators' => array ( - 0 => array ( 'type' => 'REGEX', - 'regex' => '/^(\w+[\w\.\-\+]*\w{0,}@\w+[\w.-]*\.[a-z\-]{2,10}){0,1}$/i', - 'errmsg'=> 'email_error_isemail'), - 1 => array ( 'type' => 'NOTEMPTY', - 'errmsg'=> 'email_error_empty'), - ), - 'validators' => array ( 0 => array ( 'type' => 'REGEX', - 'regex' => '/^\w+[\w\.\-\+]*\w{0,}@\w+[\w.-]*\w+\.[a-zA-Z0-9\-]{2,30}$/i', - 'errmsg'=> 'email_error_isemail'), + 0 => array ( 'type' => 'ISEMAIL', 'errmsg'=> 'email_error_isemail'), + 1 => array ( 'type' => 'NOTEMPTY', 'errmsg'=> 'email_error_empty'), ), 'default' => '', 'value' => '', @@ -505,9 +498,8 @@ 2 => array( 'event' => 'SAVE', 'type' => 'TOLOWER') ), - 'validators' => array ( 0 => array ( 'type' => 'REGEX', - 'regex' => '/^(\w+[\w\.\-\+]*\w{0,}@\w+[\w.-]*\.[a-z\-]{2,10}){0,1}$/i', - 'errmsg'=> 'paypal_email_error_isemail'), + 'validators' => array ( + 0 => array ( 'type' => 'ISEMAIL', 'errmsg'=> 'paypal_email_error_isemail'), ), 'default' => '', 'value' => '', -- Gitblit v1.9.1