| version 1.116, 2013/10/04 14:16:46 |
version 1.117, 2013/10/07 14:31:05 |
|
|
| * http://platon.sk/projects/Metafox/ |
* http://platon.sk/projects/Metafox/ |
| */ |
*/ |
| |
|
| /* $Platon: Metafox/functions.inc.php,v 1.115 2013-09-02 16:28:52 igor Exp $ */ |
/* $Platon: Metafox/functions.inc.php,v 1.116 2013-10-04 14:16:46 igor Exp $ */ |
| |
|
| function ezin_eval($evalcode) /* {{{ */ |
function ezin_eval($evalcode) /* {{{ */ |
| { |
{ |
| Line 2042 function ezin_get_antispam() { |
|
| Line 2042 function ezin_get_antispam() { |
|
| case 'rotate': |
case 'rotate': |
| require_once 'libpub/RotateAntispam/RotateAntispam.php'; |
require_once 'libpub/RotateAntispam/RotateAntispam.php'; |
| $opts = array( |
$opts = array( |
| 'debug' => false, |
'debug' => $ezin_cfg['debug_level'] > 0, |
| 'submit_name' => $submit_name, |
'submit_name' => $submit_name, |
| 'answer_name' => 'ezin_antispam_answer', |
'answer_name' => 'ezin_antispam_answer', |
| 'image' => 'libpub/RotateAntispam/images/obrazok.png', |
'image' => 'libpub/RotateAntispam/images/obrazok.png', |
| 'url' => $ezin_cfg['url'].'libpub/RotateAntispam/RotateAntispam.php' |
'url' => $ezin_cfg['url'].'libpub/RotateAntispam/RotateAntispam.php', |
| |
'encoding' => $ezin_cfg['encoding'] |
| ); |
); |
| $antispam = new RotateAntispam($opts); |
$antispam = new RotateAntispam($opts); |
| $ret['correct_answer'] = $antispam->correctAnswer(); |
$ret['correct_answer'] = $antispam->correctAnswer(); |