Ejemplo n.º 1
0
 static function setEnabled($math = true)
 {
     self::$mathProtection = $math;
 }
Ejemplo n.º 2
0
 function newspamquestion()
 {
     if (Director::is_ajax()) {
         echo Convert::raw2xml(sprintf(_t('PageCommentInterface_Controller.SPAMQUESTION', "Spam protection question: %s"), MathSpamProtection::getMathQuestion()));
     }
 }