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

Diff for Metafox/functions.inc.php between version 1.137 and 1.138

version 1.137, 2016/03/07 14:45:34 version 1.138, 2016/03/08 13:56:50
Line 17 
Line 17 
  * http://platon.sk/projects/Metafox/   * http://platon.sk/projects/Metafox/
  */   */
   
 /* $Platon: Metafox/functions.inc.php,v 1.136 2016/01/15 17:26:58 igor Exp $ */  /* $Platon: Metafox/functions.inc.php,v 1.137 2016/03/07 14:45:34 igor Exp $ */
   
 function ezin_eval($evalcode) /* {{{ */  function ezin_eval($evalcode) /* {{{ */
 {  {
Line 2134  function ezin_get_antispam() {
Line 2134  function ezin_get_antispam() {
                         $ret['correct_answer'] = (bool)(strlen($_REQUEST['ezin_antispam']) == 0);                          $ret['correct_answer'] = (bool)(strlen($_REQUEST['ezin_antispam']) == 0);
                         break;                          break;
                 case 'timetoken':                  case 'timetoken':
                         $ret['question'] = ezin_timetoken_generate();                          $ret['question'] = '<input type="hidden" size="1" name="ezin_antispam" value="" id="ezin_antispam_answer">'
                                   .'<script type="text/javascript">'
                                   .'setTimeout("ezin_antispam_answer();", 5000);'
                                   .'function ezin_antispam_answer() {'
                                   .'document.getElementById("ezin_antispam_answer").value = "'.ezin_timetoken_generate().'";'
                                   .'}'
                                   .'</script>';
                         $ret['answer'] = '*****';                          $ret['answer'] = '*****';
                         $ret['correct_answer'] = ezin_timetoken_check($_REQUEST['ezin_antispam']);                          $ret['correct_answer'] = ezin_timetoken_check($_REQUEST['ezin_antispam']);
                         break;                          break;

Legend:
Removed from v.1.137  
changed lines
  Added in v.1.138

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