Diff for Metafox/functions.inc.php between version 1.76 and 1.77
| version 1.76, 2008/03/06 11:07:47 |
version 1.77, 2008/03/06 11:10:59 |
|
|
| * http://platon.sk/projects/Metafox/ |
* http://platon.sk/projects/Metafox/ |
| */ |
*/ |
| |
|
| /* $Platon: Metafox/functions.inc.php,v 1.75 2008-03-06 11:03:33 nepto Exp $ */ |
/* $Platon: Metafox/functions.inc.php,v 1.76 2008-03-06 11:07:47 nepto Exp $ */ |
| |
|
| function ezin_eval($evalcode) /* {{{ */ |
function ezin_eval($evalcode) /* {{{ */ |
| { |
{ |
| Line 156 function ezin_handle_special_tags(&$str, |
|
| Line 156 function ezin_handle_special_tags(&$str, |
|
| foreach ($img_ar as $file) { |
foreach ($img_ar as $file) { |
| // if $file isn't this directory or its parent, |
// if $file isn't this directory or its parent, |
| // add it to the replacement |
// add it to the replacement |
| if ($file{0} != '.') { |
if ($file{0} != '.' |
| |
&& is_readable($full_path.$file) |
| |
&& ! is_dir($full_path.$file)) |
| |
{ |
| $g_replace .= "<image-link $directory$file $attrs>$file</image-link>\n"; |
$g_replace .= "<image-link $directory$file $attrs>$file</image-link>\n"; |
| } |
} |
| } |
} |
Platon Group <platon@platon.org> http://platon.org/
|
|