Browse
For agents
About
Contact Forms by Cimatti
/
2.2.4
Contact Forms by Cimatti
v2.2.4
Switch version
2.3.6
2.3.5
2.3.0
2.2.32
2.2.4
2.2.0
2.1.2
2.1.1
trunk
1.0
1.1
1.2
1.2.1
1.3
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
All 62 releases
Overview
Code
contact-forms
/
classes
/
Validation
/
Email.php
Email.php
in Contact Forms by Cimatti 2.2.4, at classes/Validation/Email.php
12 lines
349 B
Find file
t
No matching file
Up and down to move
Enter to open
Esc to close
Raw
Download
Zip
View raw
1
<
?
php
2
class
AccuaForm_Validation_Email
extends
Validation_Email
{
3
public
function
__construct
(
$
message
=
"
"
)
{
4
if
(
empty
(
$
message
)
)
{
5
//
translators: %element% is the field label.
6
$
this
->
message
=
__
(
"
Please enter a valid email address in %element%
"
,
'
contact-forms
'
)
;
7
}
else
{
8
$
this
->
message
=
$
message
;
9
}
10
}
11
}
12