Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Thursday, November 12, 2026

Diff for Metafox/functions.inc.php between version 1.109 and 1.110

version 1.109, 2013/07/24 07:01:14 version 1.110, 2013/08/29 13:01:11
Line 17 
Line 17 
  * http://platon.sk/projects/Metafox/   * http://platon.sk/projects/Metafox/
  */   */
   
 /* $Platon: Metafox/functions.inc.php,v 1.108 2013-02-25 15:30:29 igor Exp $ */  /* $Platon: Metafox/functions.inc.php,v 1.109 2013-07-24 07:01:14 igor Exp $ */
   
 function ezin_eval($evalcode) /* {{{ */  function ezin_eval($evalcode) /* {{{ */
 {  {
Line 1992  function ezin_check_antispam($flag = '')
Line 1992  function ezin_check_antispam($flag = '')
   
 function ezin_get_antispam() {  function ezin_get_antispam() {
         global $ezin_cfg;          global $ezin_cfg;
           global $ezin_cgi;
         global $ezin_runtime_cache;          global $ezin_runtime_cache;
         if (!is_null($ezin_runtime_cache['ezin_get_antispam'])) {          if (!is_null($ezin_runtime_cache['ezin_get_antispam'])) {
                 return $ezin_runtime_cache['ezin_get_antispam'];                  return $ezin_runtime_cache['ezin_get_antispam'];
Line 2010  function ezin_get_antispam() {
Line 2011  function ezin_get_antispam() {
                         $antispam = new RotateAntispam($opts);                          $antispam = new RotateAntispam($opts);
                         $ret['correct_answer'] = $antispam->correctAnswer();                          $ret['correct_answer'] = $antispam->correctAnswer();
                         $antispam = new RotateAntispam($opts);                          $antispam = new RotateAntispam($opts);
                           $texts = isset($ezin_cgi['antispam_texts'][$ezin_cgi['lang']])
                                   ? $ezin_cgi['antispam_texts'][$ezin_cgi['lang']]
                                   : $ezin_cgi['antispam_texts']['en'];
                           foreach ($texts as $key => $val) {
                                   $antispam->setText($key, $val);
                           }
                         $ret['question'] = '<script type="text/javascript" src="'.$ezin_cfg['url'].'libpub/RotateAntispam/raphael-min.js"></script>'                          $ret['question'] = '<script type="text/javascript" src="'.$ezin_cfg['url'].'libpub/RotateAntispam/raphael-min.js"></script>'
                                 .$antispam->getAntispamHtml();                                  .$antispam->getAntispamHtml();
                         $ret['answer'] = '*****';                          $ret['answer'] = '*****';

Legend:
Removed from v.1.109  
changed lines
  Added in v.1.110

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top