Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
iberculturaviva
iberculturaviva-mapas
Commits
39766abc
Commit
39766abc
authored
Dec 13, 2021
by
Alex Felippe Chiozo
Browse files
corrige validação de telefones argentinos
parent
12d4f749
Pipeline
#12003
passed with stages
in 1 minute and 47 seconds
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
themes/IberCulturaViva/agent-types.php
themes/IberCulturaViva/agent-types.php
+3
-3
themes/IberCulturaViva/assets/js/print-registration.js
themes/IberCulturaViva/assets/js/print-registration.js
+1
-1
themes/IberCulturaViva/space-types.php
themes/IberCulturaViva/space-types.php
+3
-3
No files found.
themes/IberCulturaViva/agent-types.php
View file @
39766abc
...
...
@@ -121,7 +121,7 @@ return array(
'label'
=>
\
MapasCulturais\i
::
__
(
'Telefone Público'
),
'type'
=>
'string'
,
'validations'
=>
array
(
'v::
phone(
)'
=>
\
MapasCulturais\i
::
__
(
'O número de telefone informado é inválido.'
)
'v::
regex("#\+\d{1,3}( ?\(\d+\) ?|-\d+-| ?\d+ ?) ?(\d+[- ]?)+#"
)'
=>
\
MapasCulturais\i
::
__
(
'O número de telefone informado é inválido.'
)
),
'available_for_opportunities'
=>
true
,
'field_type'
=>
'phone'
...
...
@@ -132,7 +132,7 @@ return array(
'label'
=>
\
MapasCulturais\i
::
__
(
'Telefone 1'
),
'type'
=>
'string'
,
'validations'
=>
array
(
'v::
phone(
)'
=>
\
MapasCulturais\i
::
__
(
'O número de telefone informado é inválido.'
)
'v::
regex("#\+\d{1,3}( ?\(\d+\) ?|-\d+-| ?\d+ ?) ?(\d+[- ]?)+#"
)'
=>
\
MapasCulturais\i
::
__
(
'O número de telefone informado é inválido.'
)
),
'available_for_opportunities'
=>
true
,
'field_type'
=>
'phone'
...
...
@@ -144,7 +144,7 @@ return array(
'label'
=>
\
MapasCulturais\i
::
__
(
'Telefone 2'
),
'type'
=>
'string'
,
'validations'
=>
array
(
'v::
phone(
)'
=>
\
MapasCulturais\i
::
__
(
'O número de telefone informado é inválido.'
)
'v::
regex("#\+\d{1,3}( ?\(\d+\) ?|-\d+-| ?\d+ ?) ?(\d+[- ]?)+#"
)'
=>
\
MapasCulturais\i
::
__
(
'O número de telefone informado é inválido.'
)
),
'available_for_opportunities'
=>
true
,
'field_type'
=>
'phone'
...
...
themes/IberCulturaViva/assets/js/print-registration.js
View file @
39766abc
...
...
@@ -11,4 +11,4 @@ $(function () {
$
(
"
#main-header
"
)[
0
].
style
.
top
=
0
;
return
;
});
});
\ No newline at end of file
});
themes/IberCulturaViva/space-types.php
View file @
39766abc
...
...
@@ -37,7 +37,7 @@ return array(
'label'
=>
\
MapasCulturais\i
::
__
(
'Telefone Público'
),
'type'
=>
'string'
,
'validations'
=>
array
(
'v::
phone(
)'
=>
\
MapasCulturais\i
::
__
(
'Por favor, informe o telefone público no formato (xx) xxxx-xxxx.'
)
'v::
regex("#\+\d{1,3}( ?\(\d+\) ?|-\d+-| ?\d+ ?) ?(\d+[- ]?)+#"
)'
=>
\
MapasCulturais\i
::
__
(
'Por favor, informe o telefone público no formato (xx) xxxx-xxxx.'
)
),
'available_for_opportunities'
=>
true
,
'field_type'
=>
'phone'
...
...
@@ -47,7 +47,7 @@ return array(
'label'
=>
\
MapasCulturais\i
::
__
(
'Telefone 1'
),
'type'
=>
'string'
,
'validations'
=>
array
(
'v::
phone(
)'
=>
\
MapasCulturais\i
::
__
(
'Por favor, informe o telefone 1 no formato (xx) xxxx xxxx.'
)
'v::
regex("#\+\d{1,3}( ?\(\d+\) ?|-\d+-| ?\d+ ?) ?(\d+[- ]?)+#"
)'
=>
\
MapasCulturais\i
::
__
(
'Por favor, informe o telefone 1 no formato (xx) xxxx xxxx.'
)
),
'private'
=>
true
,
'available_for_opportunities'
=>
true
,
...
...
@@ -59,7 +59,7 @@ return array(
'label'
=>
\
MapasCulturais\i
::
__
(
'Telefone 2'
),
'type'
=>
'string'
,
'validations'
=>
array
(
'v::
phone(
)'
=>
\
MapasCulturais\i
::
__
(
'Por favor, informe o telefone 2 no formato '
)
'v::
regex("#\+\d{1,3}( ?\(\d+\) ?|-\d+-| ?\d+ ?) ?(\d+[- ]?)+#"
)'
=>
\
MapasCulturais\i
::
__
(
'Por favor, informe o telefone 2 no formato '
)
),
'private'
=>
true
,
'available_for_opportunities'
=>
true
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment