NobuNobu
nobun****@users*****
2007年 1月 18日 (木) 19:20:41 JST
Index: xoops2jp/html/class/module.textsanitizer.php diff -u xoops2jp/html/class/module.textsanitizer.php:1.2.8.9.2.4 xoops2jp/html/class/module.textsanitizer.php:1.2.8.9.2.5 --- xoops2jp/html/class/module.textsanitizer.php:1.2.8.9.2.4 Wed Jan 3 23:56:07 2007 +++ xoops2jp/html/class/module.textsanitizer.php Thu Jan 18 19:20:41 2007 @@ -1,5 +1,5 @@ <?php -// $Id: module.textsanitizer.php,v 1.2.8.9.2.4 2007/01/03 14:56:07 nobunobu Exp $ +// $Id: module.textsanitizer.php,v 1.2.8.9.2.5 2007/01/18 10:20:41 nobunobu Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -126,7 +126,7 @@ */ function &smiley($text) { - $text = $this->mTextFilter->Smiley($text); + $text = $this->mTextFilter->smiley($text); return $text; } @@ -138,7 +138,7 @@ **/ function &makeClickable(&$text) { - $text = $this->mTextFilter->MakeClickable($text); + $text = $this->mTextFilter->makeClickable($text); // RaiseEvent : 'MyTextSanitizer.MakeClickablePostFilter' // Delegate may convert output text with quickApplyFilter rule @@ -159,7 +159,7 @@ **/ function &xoopsCodeDecode(&$text, $allowimage = 1) { - $text = $this->mTextFilter->ConvertXCode($text, $allowimage); + $text = $this->mTextFilter->convertXCode($text, $allowimage); // RaiseEvent : 'MyTextSanitizer.XoopsCodePostFilter' // Delegate may convert output text with quickApplyFilter rule @@ -211,7 +211,7 @@ */ function &nl2Br($text) { - $ret = $this->mTextFilter->Nl2Br($text); + $ret = $this->mTextFilter->nl2Br($text); return $ret; } @@ -254,9 +254,9 @@ function &htmlSpecialChars($text, $forEdit=false) { if (!$forEdit) { - $ret = $this->mTextFilter->ToShow($text, true); + $ret = $this->mTextFilter->toShow($text, true); } else { - $ret = $this->mTextFilter->ToEdit($text); + $ret = $this->mTextFilter->toEdit($text); } return $ret; } @@ -373,14 +373,14 @@ */ function codePreConv($text, $xcode = 1) { if($xcode != 0){ - $text = $this->mTextFilter->PreConvertXCode($text, $xcode); + $text = $this->mTextFilter->preConvertXCode($text, $xcode); } return $text; } function codeConv($text, $xcode = 1, $image = 1){ if($xcode != 0){ - $text = $this->mTextFilter->PostConvertXCode($text, $xcode); + $text = $this->mTextFilter->postConvertXCode($text, $xcode); } return $text; } @@ -410,26 +410,26 @@ function makeTboxData4Show($text, $smiley=0) { - $text = $this->mTextFilter->ToShow($text, true); + $text = $this->mTextFilter->toShow($text, true); return $text; } function makeTboxData4Edit($text) { - return $this->mTextFilter->ToEdit($text); + return $this->mTextFilter->toEdit($text); } function makeTboxData4Preview($text, $smiley=0) { $text = $this->stripSlashesGPC($text); - $text = $this->mTextFilter->ToShow($text, true); + $text = $this->mTextFilter->toShow($text, true); return $text; } function makeTboxData4PreviewInForm($text) { $text = $this->stripSlashesGPC($text); - return $this->mTextFilter->ToEdit($text); + return $this->mTextFilter->toEdit($text); } function makeTareaData4Save($text) @@ -445,7 +445,7 @@ function makeTareaData4Edit($text) { - return $this->mTextFilter->ToEdit($text); + return $this->mTextFilter->toEdit($text); } function &makeTareaData4Preview(&$text, $html=1, $smiley=1, $xcode=1) @@ -458,12 +458,12 @@ { //if magic_quotes_gpc is on, do stipslashes $text = $this->stripSlashesGPC($text); - return $this->mTextFilter->ToEdit($text); + return $this->mTextFilter->toEdit($text); } function makeTareaData4InsideQuotes($text) { - return $this->mTextFilter->ToShow($text, true); + return $this->mTextFilter->toShow($text, true); } function &oopsStripSlashesGPC($text) @@ -488,7 +488,7 @@ function &oopsHtmlSpecialChars($text) { - $ret = $this->mTextFilter->ToShow($text, true); + $ret = $this->mTextFilter->toShow($text, true); return $ret; }