| version 1.43, 2006/10/01 14:31:41 |
version 1.44, 2006/10/24 10:28:47 |
|
|
| * http://platon.sk/projects/Metafox/ |
* http://platon.sk/projects/Metafox/ |
| */ |
*/ |
| |
|
| /* $Platon: Metafox/functions.inc.php,v 1.42 2006-09-27 12:51:56 nepto Exp $ */ |
/* $Platon: Metafox/functions.inc.php,v 1.43 2006-10-01 14:31:41 nepto Exp $ */ |
| |
|
| function ezin_eval($evalcode) /* {{{ */ |
function ezin_eval($evalcode) /* {{{ */ |
| { |
{ |
| Line 234 function ezin_handle_special_tags(&$str, |
|
| Line 234 function ezin_handle_special_tags(&$str, |
|
| if (strpos($mask, 'P') !== false) { /* {{{ */ |
if (strpos($mask, 'P') !== false) { /* {{{ */ |
| $sub_url = $link_file_type ? 'print.php?' : '?ezin_print=1&ezin_article_id='; |
$sub_url = $link_file_type ? 'print.php?' : '?ezin_print=1&ezin_article_id='; |
| $pattern[] = '|<article-print-link\s+([^>\s]+)([^>]*)>((?:(?!<article-print-link).){0,499}?)' |
$pattern[] = '|<article-print-link\s+([^>\s]+)([^>]*)>((?:(?!<article-print-link).){0,499}?)' |
| .'</article-printlink>|si'; |
.'</article-print-link>|si'; |
| $pattern[] = '|<article-print-link\s+([^>\s]+)([^>]*)>|i'; |
$pattern[] = '|<article-print-link\s+([^>\s]+)([^>]*)>|i'; |
| $replacement[] = '<a href="'.$ezin_url.$sub_url.'\\1"\\2>\\3</a>'; |
$replacement[] = '<a href="'.$ezin_url.$sub_url.'\\1"\\2>\\3</a>'; |
| $replacement[] = '<a href="'.$ezin_url.$sub_url.'\\1"\\2>\\1</a>'; |
$replacement[] = '<a href="'.$ezin_url.$sub_url.'\\1"\\2>\\1</a>'; |