Corrige la syntaxe des expressions régulières
This commit is contained in:
parent
a9646e3fb5
commit
13ddcaa37b
|
@ -162,7 +162,7 @@ $GLOBALS['LSobjects']['LSsupannEntite'] = array (
|
|||
'check_data' => array (
|
||||
'regex' => array(
|
||||
'params' => array(
|
||||
'regex' => '^[a-zA-Z0-9_-]+$',
|
||||
'regex' => '/^[a-zA-Z0-9_-]+$/',
|
||||
),
|
||||
'msg' => "L'identifiant ne peut contenir que des nombres, des lettres ou les caractères - et _."
|
||||
),
|
||||
|
|
|
@ -70,7 +70,7 @@ $GLOBALS['LSobjects']['LSsupannEntiteBase'] = array (
|
|||
'check_data' => array (
|
||||
'regex' => array(
|
||||
'params' => array(
|
||||
'regex' => '^[a-zA-Z0-9_-]+$',
|
||||
'regex' => '/^[a-zA-Z0-9_-]+$/',
|
||||
),
|
||||
'msg' => "L'identifiant ne peut contenir que des nombres, des lettres ou les caractères - et _."
|
||||
),
|
||||
|
|
|
@ -55,7 +55,7 @@ $GLOBALS['LSobjects']['LSsupannGroup'] = array (
|
|||
'check_data' => array (
|
||||
'regex' => array(
|
||||
'params' => array(
|
||||
'regex' => '^[a-zA-Z0-9-]+$',
|
||||
'regex' => '/^[-a-zA-Z0-9]+$/',
|
||||
),
|
||||
'msg' => 'L\'identifiant ne doit contenir que des nombres, des lettres ou le caractère -.',
|
||||
),
|
||||
|
|
|
@ -148,7 +148,7 @@ $GLOBALS['LSobjects']['LSsupannOrg'] = array (
|
|||
'check_data' => array (
|
||||
'regex' => array(
|
||||
'params' => array(
|
||||
'regex' => '^[a-zA-Z0-9_-]+$',
|
||||
'regex' => '/^[a-zA-Z0-9_-]+$/',
|
||||
),
|
||||
'msg' => "L'identifiant ne peut contenir que des nombres, des lettres ou les caractères - et _."
|
||||
),
|
||||
|
@ -289,7 +289,7 @@ $GLOBALS['LSobjects']['LSsupannOrg'] = array (
|
|||
'check_data' => array (
|
||||
'regex' => array(
|
||||
'params' => array(
|
||||
'regex' => '^https?://.*',
|
||||
'regex' => '/^https?:\/\/.*/',
|
||||
),
|
||||
'msg' => "Veuillez entrer une URL."
|
||||
),
|
||||
|
@ -327,7 +327,7 @@ $GLOBALS['LSobjects']['LSsupannOrg'] = array (
|
|||
'check_data' => array (
|
||||
'regex' => array(
|
||||
'params' => array(
|
||||
'regex' => '^https?://.*',
|
||||
'regex' => '^/https?:\/\/.*/',
|
||||
),
|
||||
'msg' => "Veuillez entrer une URL."
|
||||
),
|
||||
|
@ -352,7 +352,7 @@ $GLOBALS['LSobjects']['LSsupannOrg'] = array (
|
|||
'check_data' => array (
|
||||
'regex' => array(
|
||||
'params' => array(
|
||||
'regex' => '^https?://.*',
|
||||
'regex' => '/^https?:\/\/.*/',
|
||||
),
|
||||
'msg' => "Veuillez entrer une URL."
|
||||
),
|
||||
|
|
|
@ -241,7 +241,7 @@ $GLOBALS['LSobjects']['LSsupannPerson'] = array (
|
|||
'regex' => array(
|
||||
'msg' => "Entrez un code Xn.",
|
||||
'params' => array(
|
||||
'regex' => '^.*@.*$',
|
||||
'regex' => '/^.*@.*$/',
|
||||
),
|
||||
),
|
||||
),
|
||||
|
@ -266,7 +266,7 @@ $GLOBALS['LSobjects']['LSsupannPerson'] = array (
|
|||
'help_info' => 'L\'identifiant ne doit contenir que des lettres ou des chiffres.',
|
||||
'ldap_type' => 'ascii',
|
||||
'html_type' => 'text',
|
||||
'required' => 1,
|
||||
'required' => 0,
|
||||
'check_data' => array (
|
||||
'alphanumeric' => array(
|
||||
'msg' => 'L\'identifiant ne doit contenir que des lettres ou des chiffres.',
|
||||
|
@ -779,7 +779,7 @@ $GLOBALS['LSobjects']['LSsupannPerson'] = array (
|
|||
'check_data' => array (
|
||||
'regex' => array(
|
||||
'params' => array(
|
||||
'regex' => '^https?://.*',
|
||||
'regex' => '/^https?:\/\/.*/',
|
||||
),
|
||||
'msg' => "Veuillez entrer une URL."
|
||||
),
|
||||
|
@ -1113,7 +1113,7 @@ $GLOBALS['LSobjects']['LSsupannPerson'] = array (
|
|||
'regex' => array(
|
||||
'msg' => "Entrez un code Xn.",
|
||||
'params' => array(
|
||||
'regex' => '^[LMDX][0-9]$',
|
||||
'regex' => '/^[LMDX][0-9]$/',
|
||||
),
|
||||
),
|
||||
),
|
||||
|
@ -1139,7 +1139,7 @@ $GLOBALS['LSobjects']['LSsupannPerson'] = array (
|
|||
'regex' => array(
|
||||
'msg' => "Entrez un code étiqueté.",
|
||||
'params' => array(
|
||||
'regex' => '^{[^}]+}.+$',
|
||||
'regex' => '/^{[^}]+}.+$/',
|
||||
),
|
||||
),
|
||||
),
|
||||
|
@ -1216,7 +1216,7 @@ $GLOBALS['LSobjects']['LSsupannPerson'] = array (
|
|||
'regex' => array(
|
||||
'msg' => "Entrez un code étiqueté.",
|
||||
'params' => array(
|
||||
'regex' => '^{[^}]+}.+$',
|
||||
'regex' => '/^{[^}]+}.+$/',
|
||||
),
|
||||
),
|
||||
),
|
||||
|
@ -1242,7 +1242,7 @@ $GLOBALS['LSobjects']['LSsupannPerson'] = array (
|
|||
'regex' => array(
|
||||
'msg' => "Entrez un code étiqueté.",
|
||||
'params' => array(
|
||||
'regex' => '^{[^}]+}.+$',
|
||||
'regex' => '/^{[^}]+}.+$/',
|
||||
),
|
||||
),
|
||||
),
|
||||
|
@ -1268,7 +1268,7 @@ $GLOBALS['LSobjects']['LSsupannPerson'] = array (
|
|||
'regex' => array(
|
||||
'msg' => "Entrez un code étiqueté.",
|
||||
'params' => array(
|
||||
'regex' => '^{[^}]+}.+$',
|
||||
'regex' => '/^{[^}]+}.+$/',
|
||||
),
|
||||
),
|
||||
),
|
||||
|
|
Reference in New Issue