Diff for Metafox/functions.inc.php between version 1.85 and 1.86
| version 1.85, 2009/09/24 18:17:50 |
version 1.86, 2009/09/25 15:50:59 |
|
|
| * http://platon.sk/projects/Metafox/ |
* http://platon.sk/projects/Metafox/ |
| */ |
*/ |
| |
|
| /* $Platon: Metafox/functions.inc.php,v 1.84 2009-07-04 14:57:17 nepto Exp $ */ |
/* $Platon: Metafox/functions.inc.php,v 1.85 2009-09-24 18:17:50 nepto Exp $ */ |
| |
|
| function ezin_eval($evalcode) /* {{{ */ |
function ezin_eval($evalcode) /* {{{ */ |
| { |
{ |
| Line 358 function ezin_handle_special_tags(&$str, |
|
| Line 358 function ezin_handle_special_tags(&$str, |
|
| // Reversed replacement |
// Reversed replacement |
| if (count($rpttr) > 0) { |
if (count($rpttr) > 0) { |
| $str = strrev($str); |
$str = strrev($str); |
| $str = preg_replace($rpttr, $rrplc, $str); |
$cnt = count($rpttr); |
| |
for ($i = 0; $i < $cnt; $i++) { |
| |
$snew = preg_replace($rpttr[$i], $rrplc[$i], $str); |
| |
if (strlen($snew) > 0) { |
| |
$str = $snew; |
| |
} |
| |
} |
| $str = strrev($str); |
$str = strrev($str); |
| } |
} |
| } /* }}} */ |
} /* }}} */ |
Platon Group <platon@platon.org> http://platon.org/
|
|