Diff for Metafox/subst.inc.php between version 1.36 and 1.37
| version 1.36, 2007/11/25 02:05:12 |
version 1.37, 2007/12/16 06:09:48 |
|
|
| * http://platon.sk/projects/Metafox/ |
* http://platon.sk/projects/Metafox/ |
| */ |
*/ |
| |
|
| /* $Platon: Metafox/subst.inc.php,v 1.35 2007-11-12 16:12:55 nepto Exp $ */ |
/* $Platon: Metafox/subst.inc.php,v 1.36 2007-11-25 02:05:12 nepto Exp $ */ |
| |
|
| require_once 'cfgldr.inc.php'; |
require_once 'cfgldr.inc.php'; |
| require_once 'error.inc.php'; |
require_once 'error.inc.php'; |
| Line 475 if ($ezin_db_article != '' && ! empty($e |
|
| Line 475 if ($ezin_db_article != '' && ! empty($e |
|
| } |
} |
| if ($scaleskip) { |
if ($scaleskip) { |
| $ezin_db_article['article_bodytext'] = preg_replace( |
$ezin_db_article['article_bodytext'] = preg_replace( |
| '/<image(-link)?\s+'.$file.'(\s+[^<>]*)(width=("[^<>"]+"|[^<>\s]+))(|\s+[^<>]*)>/i', |
'#<image(-link)?\s+'.$file.'(\s+[^<>]*)(width=("[^<>"]+"|[^<>\s]+))(|\s+[^<>]*)>#i', |
| '<image\1 '.$file.'\2\5>', $ezin_db_article['article_bodytext']); |
'<image\1 '.$file.'\2\5>', $ezin_db_article['article_bodytext']); |
| } |
} |
| } |
} |
Platon Group <platon@platon.org> http://platon.org/
|
|