Browse
For agents
About
Contact Forms by Cimatti
/
trunk
Contact Forms by Cimatti
vtrunk
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
/
Required.php
Required.php
in Contact Forms by Cimatti trunk, at classes/Validation/Required.php
12 lines
337 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_Required
extends
Validation_Required
{
3
public
function
__construct
(
$
message
=
"
"
)
{
4
if
(
empty
(
$
message
)
)
{
5
//
translators: %element% is the field label.
6
$
this
->
message
=
__
(
"
%element% is required
"
,
'
contact-forms
'
)
;
7
}
else
{
8
$
this
->
message
=
$
message
;
9
}
10
}
11
}
12