00001 <?php
00021 function smarty_modifier_strip_tags($string, $replace_with_space = true)
00022 {
00023 if ($replace_with_space)
00024 return preg_replace('!<[^>]*?>!', ' ', $string);
00025 else
00026 return strip_tags($string);
00027 }
00028
00029
00030
00031 ?>