NobuNobu
nobun****@users*****
2005年 8月 20日 (土) 10:20:32 JST
Index: xoops2jp/html/class/module.textsanitizer.php diff -u xoops2jp/html/class/module.textsanitizer.php:1.4 xoops2jp/html/class/module.textsanitizer.php:1.4.2.1 --- xoops2jp/html/class/module.textsanitizer.php:1.4 Wed Aug 3 21:39:11 2005 +++ xoops2jp/html/class/module.textsanitizer.php Sat Aug 20 10:20:32 2005 @@ -1,5 +1,5 @@ <?php -// $Id: module.textsanitizer.php,v 1.4 2005/08/03 12:39:11 onokazu Exp $ +// $Id: module.textsanitizer.php,v 1.4.2.1 2005/08/20 01:20:32 nobunobu Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -182,12 +182,12 @@ if ($allowimage != 1) { $replacements[] = '<a href="\\3" target="_blank">\\3</a>'; $replacements[] = '<a href="\\1" target="_blank">\\1</a>'; - $replacements[] = '<a href="'.XOOPS_URL.'/image.php?id=\\4" target="_blank">\\4</a>'; + $replacements[] = '<a href="'.XOOPS_URL.'/image.php?id=\\4" target="_blank">\\5</a>'; $replacements[] = '<a href="'.XOOPS_URL.'/image.php?id=\\2" target="_blank">\\3</a>'; } else { $replacements[] = '<img src="\\3" align="\\2" alt="" />'; $replacements[] = '<img src="\\1" alt="" />'; - $replacements[] = '<img src="'.XOOPS_URL.'/image.php?id=\\4" align="\\2" alt="\\4" />'; + $replacements[] = '<img src="'.XOOPS_URL.'/image.php?id=\\4" align="\\2" alt="\\5" />'; $replacements[] = '<img src="'.XOOPS_URL.'/image.php?id=\\2" alt="\\3" />'; } $patterns[] = "/\[quote]/sU";