| version 1.133, 2015/07/06 14:09:10 |
version 1.134, 2015/10/28 14:23:47 |
|
|
| * http://platon.sk/projects/Metafox/ |
* http://platon.sk/projects/Metafox/ |
| */ |
*/ |
| |
|
| /* $Platon: Metafox/functions.inc.php,v 1.132 2015-05-22 20:06:44 igor Exp $ */ |
/* $Platon: Metafox/functions.inc.php,v 1.133 2015/07/06 14:09:10 igor Exp $ */ |
| |
|
| function ezin_eval($evalcode) /* {{{ */ |
function ezin_eval($evalcode) /* {{{ */ |
| { |
{ |
| Line 372 function ezin_handle_special_tags(&$str, |
|
| Line 372 function ezin_handle_special_tags(&$str, |
|
| } /* }}} */ |
} /* }}} */ |
| if (strpos($mask, 'M') !== false) { /* {{{ */ |
if (strpos($mask, 'M') !== false) { /* {{{ */ |
| $opentag = ezin_str_rev_args(strrev('<mail-link'),'\s+','([^<>\s]+)','([^<>]*?)','>'); |
$opentag = ezin_str_rev_args(strrev('<mail-link'),'\s+','([^<>\s]+)','([^<>]*?)','>'); |
| $rpttr[] = sprintf('|%s\s*(.*?)\s*%s|sie', strrev('</mail-link>'), $opentag); |
$rpttr[] = sprintf('|%s\s*(.*?)\s*%s|sie', strrev('</mail-link>'), $opentag); |
| $rpttr[] = sprintf('|%s|ie', $opentag); |
$rpttr[] = sprintf('|%s|ie', $opentag); |
| $rrplc[] = ezin_str_rev_args("'",strrev('<a href="\''),'strrev(Platon::escape_email(strrev(\'\\3\'), \'mailto\'))','\'"','\\2'.'>'.'\\1'.strrev('</a>'),"'"); |
$rrplc[] = ezin_str_rev_args("'",strrev('<a href="\''),'strrev(Platon::escape_email(strrev(\'\\3\'), \'mailto\'))','\'"','\\2'.'>'.'\\1'.strrev('</a>'),"'"); |
| $rrplc[] = 'strrev(Platon::escape_email(strrev(\'\\2\'), \'hypertext_link\', \'\\1\'))'; |
$rrplc[] = 'strrev(Platon::escape_email(strrev(\'\\2\'), \'hypertext_link\', \'\\1\'))'; |
| Line 2120 function ezin_get_antispam() { |
|
| Line 2120 function ezin_get_antispam() { |
|
| .$antispam->getAntispamHtml(); |
.$antispam->getAntispamHtml(); |
| $ret['answer'] = '*****'; |
$ret['answer'] = '*****'; |
| break; |
break; |
| |
case 'empty': |
| |
$ret['question'] = $ezin_cfg['antispam_question']; |
| |
$ret['answer'] = $ezin_cfg['antispam_answer']; |
| |
$ret['correct_answer'] = (bool)(strlen($_REQUEST['ezin_antispam']) == 0); |
| |
break; |
| case 'default': |
case 'default': |
| default: |
default: |
| $ret['question'] = $ezin_cfg['antispam_question']; |
$ret['question'] = $ezin_cfg['antispam_question']; |