* @static * @return string */ public static function GetForm($theme='light', $size='', $lang=''){ global $config; $custom_size = !empty($size) ? ' data-size="' . htmlspecialchars($size) .'"' : ''; // conpact, normal $custom_lang = !empty($lang) || $lang != 'inherit' ? '?hl='. htmlspecialchars($lang ?? "") : ''; $html = ''; if( self::hasRecaptcha() ){ includeFile('thirdparty/recaptcha/autoload.php'); $html = ''; $html .= '
'; } return \gp\tool\Plugins::Filter('AntiSpam_Form', array($html)); } /** * Ouptut the html of a recaptcha area for use in a