Diff for Metafox/functions.inc.php between version 1.27 and 1.28
| version 1.27, 2006/08/06 09:33:14 |
version 1.28, 2006/08/06 10:19:10 |
| Line 87 function ezin_get_special_tags_flags($st |
|
| Line 87 function ezin_get_special_tags_flags($st |
|
| function ezin_handle_include(&$article_ar) /* {{{ */ |
function ezin_handle_include(&$article_ar) /* {{{ */ |
| { |
{ |
| // TODO: made INCLUDE works with ACCESS_KEY (not only ID) |
// TODO: made INCLUDE works with ACCESS_KEY (not only ID) |
| while (preg_match_all('|<include\s+([^>\s]+)>|si', $article_ar['article_bodytext'], $matches)) { |
while (preg_match_all('|<include\s+([^>\s]+)>|si', @$article_ar['article_bodytext'], $matches)) { |
| $matches = array_unique($matches[1]); |
$matches = array_unique($matches[1]); |
| if (count($matches) <= 0) { |
if (count($matches) <= 0) { |
| break; |
break; |
Platon Group <platon@platon.org> http://platon.org/
|
|