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