Rozdiely pre Metafox/functions.inc.php medzi verziami 1.45 a 1.46
| verzia 1.45, 2006/11/08 14:18:06 |
verzia 1.46, 2006/11/08 15:10:50 |
|
|
| * http://platon.sk/projects/Metafox/ |
* http://platon.sk/projects/Metafox/ |
| */ |
*/ |
| |
|
| /* $Platon: Metafox/functions.inc.php,v 1.44 2006-10-24 10:28:47 nepto Exp $ */ |
/* $Platon: Metafox/functions.inc.php,v 1.45 2006-11-08 14:18:06 nepto Exp $ */ |
| |
|
| function ezin_eval($evalcode) /* {{{ */ |
function ezin_eval($evalcode) /* {{{ */ |
| { |
{ |
| Riadok 145 function ezin_handle_special_tags(&$str, |
|
| Riadok 145 function ezin_handle_special_tags(&$str, |
|
| $replacement[] = '<a target="_blank" href="'.$repository_url.'\\1"><image \\1\\2>\\3</image></a>'; |
$replacement[] = '<a target="_blank" href="'.$repository_url.'\\1"><image \\1\\2>\\3</image></a>'; |
| $replacement[] = '<a target="_blank" href="'.$repository_url.'\\1"><image \\1\\2></a>'; |
$replacement[] = '<a target="_blank" href="'.$repository_url.'\\1"><image \\1\\2></a>'; |
| } /* }}} */ |
} /* }}} */ |
| if (stripos($mask, 'i') !== false) { /* {{{ */ |
if (strpos(strtolower($mask), 'i') !== false) { /* {{{ */ |
| preg_match_all('|<image(-link)?\s+([^>\s]+)([^>]*width=([^>\s]+)[^>]*)>|i', |
preg_match_all('|<image(-link)?\s+([^>\s]+)([^>]*width=([^>\s]+)[^>]*)>|i', |
| $str, $matches, PREG_SET_ORDER); |
$str, $matches, PREG_SET_ORDER); |
| foreach ($matches as $key => $val) { |
foreach ($matches as $key => $val) { |
Platon Group <platon@platon.sk> http://platon.sk/
|
|