Minahito
minah****@users*****
2007年 4月 16日 (月) 15:17:39 JST
Index: xoops2jp/html/class/module.textsanitizer.php diff -u xoops2jp/html/class/module.textsanitizer.php:1.2.8.9.2.5 xoops2jp/html/class/module.textsanitizer.php:1.2.8.9.2.5.2.1 --- xoops2jp/html/class/module.textsanitizer.php:1.2.8.9.2.5 Thu Jan 18 19:20:41 2007 +++ xoops2jp/html/class/module.textsanitizer.php Mon Apr 16 15:17:39 2007 @@ -1,5 +1,5 @@ <?php -// $Id: module.textsanitizer.php,v 1.2.8.9.2.5 2007/01/18 10:20:41 nobunobu Exp $ +// $Id: module.textsanitizer.php,v 1.2.8.9.2.5.2.1 2007/04/16 06:17:39 minahito Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -136,7 +136,7 @@ * @param string $text * @return string **/ - function &makeClickable(&$text) + function &makeClickable($text) { $text = $this->mTextFilter->makeClickable($text); @@ -157,7 +157,7 @@ * On FALSE, uses links to images. * @return string **/ - function &xoopsCodeDecode(&$text, $allowimage = 1) + function &xoopsCodeDecode($text, $allowimage = 1) { $text = $this->mTextFilter->convertXCode($text, $allowimage); @@ -268,7 +268,7 @@ * @return string * @deprecated **/ - function &undoHtmlSpecialChars(&$text) + function &undoHtmlSpecialChars($text) { $ret = preg_replace(array("/>/i", "/</i", "/"/i", "/'/i"), array(">", "<", "\"", "'"), $text); return $ret; @@ -309,7 +309,7 @@ * @param bool $br convert linebreaks? * @return string **/ - function &displayTarea(&$text, $html = 0, $smiley = 1, $xcode = 1, $image = 1, $br = 1) + function &displayTarea($text, $html = 0, $smiley = 1, $xcode = 1, $image = 1, $br = 1) { $text = $this->_ToShowTarea($text, $html, $smiley, $xcode, $image, $br); return $text; @@ -326,7 +326,7 @@ * @param bool $br convert linebreaks? * @return string **/ - function &previewTarea(&$text, $html = 0, $smiley = 1, $xcode = 1, $image = 1, $br = 1) + function &previewTarea($text, $html = 0, $smiley = 1, $xcode = 1, $image = 1, $br = 1) { $text =& $this->stripSlashesGPC($text); $text = $this->_ToShowTarea($text, $html, $smiley, $xcode, $image, $br); @@ -341,7 +341,7 @@ * * @deprecated **/ - function &censorString(&$text) + function &censorString($text) { if (!isset($this->censorConf)) { $config_handler =& xoops_gethandler('config'); @@ -437,7 +437,7 @@ return $this->addSlashes($text); } - function &makeTareaData4Show(&$text, $html=1, $smiley=1, $xcode=1) + function &makeTareaData4Show($text, $html=1, $smiley=1, $xcode=1) { $ret = $this->displayTarea($text, $html, $smiley, $xcode); return $ret; @@ -448,7 +448,7 @@ return $this->mTextFilter->toEdit($text); } - function &makeTareaData4Preview(&$text, $html=1, $smiley=1, $xcode=1) + function &makeTareaData4Preview($text, $html=1, $smiley=1, $xcode=1) { $ret = $this->previewTarea($text, $html, $smiley, $xcode); return $ret;