// check captcha
if((!isErrors()) && (SITE_CONFIG_SHOW_CAPTCHA_ON_CONTACT_FORM == 'yes'))
{
if (!isset($_REQUEST['g-recaptcha-response']))
{
setError(t("invalid_captcha", "Captcha confirmation text is invalid."));
}
else
{
$resp = verifyCaptcha($_REQUEST["g-recaptcha-response"]);
if ($resp == false)
{
setError(t("invalid_captcha", "Captcha confirmation text is invalid."));
}
}
}