| version 1.115, 2013/09/02 16:28:52 |
version 1.116, 2013/10/04 14:16:46 |
|
|
| * http://platon.sk/projects/Metafox/ |
* http://platon.sk/projects/Metafox/ |
| */ |
*/ |
| |
|
| /* $Platon: Metafox/functions.inc.php,v 1.114 2013-09-02 16:18:06 igor Exp $ */ |
/* $Platon: Metafox/functions.inc.php,v 1.115 2013-09-02 16:28:52 igor Exp $ */ |
| |
|
| function ezin_eval($evalcode) /* {{{ */ |
function ezin_eval($evalcode) /* {{{ */ |
| { |
{ |
| Line 2030 function ezin_get_antispam() { |
|
| Line 2030 function ezin_get_antispam() { |
|
| 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']; |
| } |
} |
| |
$submit_name = 'ezin_save_feedback'; |
| |
if (strlen(Platon::parse_id_param('ezin_save_message', false)) > 0) { |
| |
$submit_name = 'ezin_save_message'; |
| |
} |
| |
if (strlen(Platon::parse_id_param('ezin_save_author', false)) > 0) { |
| |
$submit_name = 'ezin_save_author'; |
| |
} |
| $ret = array(); |
$ret = array(); |
| switch($ezin_cfg['antispam_type']) { |
switch($ezin_cfg['antispam_type']) { |
| case 'rotate': |
case 'rotate': |
| require_once 'libpub/RotateAntispam/RotateAntispam.php'; |
require_once 'libpub/RotateAntispam/RotateAntispam.php'; |
| $opts = array( |
$opts = array( |
| 'debug' => false, |
'debug' => false, |
| 'submit_name' => 'ezin_save_feedback', |
'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' |