@@ 896-902 (lines=7) @@ | ||
893 | * @param mixed $smiley |
|
894 | * @return mixed|string |
|
895 | */ |
|
896 | public function makeTboxData4Show($text, $smiley = 0) |
|
897 | { |
|
898 | $GLOBALS['xoopsLogger']->addDeprecated(__CLASS__ . '::' . __FUNCTION__ . ' is deprecated'); |
|
899 | $text = $this->htmlSpecialChars($text); |
|
900 | ||
901 | return $text; |
|
902 | } |
|
903 | ||
904 | /** |
|
905 | * MyTextSanitizer::makeTboxData4Edit() |
|
@@ 924-931 (lines=8) @@ | ||
921 | * @param mixed $smiley |
|
922 | * @return mixed|string |
|
923 | */ |
|
924 | public function makeTboxData4Preview($text, $smiley = 0) |
|
925 | { |
|
926 | $GLOBALS['xoopsLogger']->addDeprecated(__CLASS__ . '::' . __FUNCTION__ . ' is deprecated'); |
|
927 | $text = $this->stripSlashesGPC($text); |
|
928 | $text = $this->htmlSpecialChars($text); |
|
929 | ||
930 | return $text; |
|
931 | } |
|
932 | ||
933 | /** |
|
934 | * MyTextSanitizer::makeTboxData4PreviewInForm() |
|
@@ 939-945 (lines=7) @@ | ||
936 | * @param mixed $text |
|
937 | * @return string |
|
938 | */ |
|
939 | public function makeTboxData4PreviewInForm($text) |
|
940 | { |
|
941 | $GLOBALS['xoopsLogger']->addDeprecated(__CLASS__ . '::' . __FUNCTION__ . ' is deprecated'); |
|
942 | $text = $this->stripSlashesGPC($text); |
|
943 | ||
944 | return $this->htmlSpecialChars($text); |
|
945 | } |
|
946 | ||
947 | /** |
|
948 | * MyTextSanitizer::makeTareaData4Save() |
|
@@ 1013-1020 (lines=8) @@ | ||
1010 | * @param mixed $text |
|
1011 | * @return string |
|
1012 | */ |
|
1013 | public function makeTareaData4PreviewInForm($text) |
|
1014 | { |
|
1015 | $GLOBALS['xoopsLogger']->addDeprecated(__CLASS__ . '::' . __FUNCTION__ . ' is deprecated'); |
|
1016 | // if magic_quotes_gpc is on, do stipslashes |
|
1017 | $text = $this->stripSlashesGPC($text); |
|
1018 | ||
1019 | return $this->htmlSpecialChars($text); |
|
1020 | } |
|
1021 | ||
1022 | /** |
|
1023 | * MyTextSanitizer::makeTareaData4InsideQuotes() |