removed tabs. fixed indentiation.

This commit is contained in:
messju
2003-12-19 17:18:56 +00:00
parent 6711d0cebf
commit f6bb3389f6
16 changed files with 243 additions and 243 deletions

View File

@@ -25,8 +25,8 @@
* @param string * @param string
* @param Smarty * @param Smarty
*/ */
function smarty_outputfilter_trimwhitespace($source, &$smarty) function smarty_outputfilter_trimwhitespace($source, &$smarty)
{ {
// Pull out the script blocks // Pull out the script blocks
preg_match_all("!<script[^>]+>.*?</script>!is", $source, $match); preg_match_all("!<script[^>]+>.*?</script>!is", $source, $match);
$_script_blocks = $match[0]; $_script_blocks = $match[0];
@@ -59,7 +59,7 @@
smarty_outputfilter_trimwhitespace_replace("@@@SMARTY:TRIM:TEXTAREA@@@",$_textarea_blocks, $source); smarty_outputfilter_trimwhitespace_replace("@@@SMARTY:TRIM:TEXTAREA@@@",$_textarea_blocks, $source);
return $source; return $source;
} }
function smarty_outputfilter_trimwhitespace_replace($search_str, $replace, &$subject) { function smarty_outputfilter_trimwhitespace_replace($search_str, $replace, &$subject) {
$_len = strlen($search_str); $_len = strlen($search_str);