X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=smarty%2FSmarty-2.6.10%2Flibs%2Fplugins%2Fmodifier.strip_tags.php;fp=smarty%2FSmarty-2.6.10%2Flibs%2Fplugins%2Fmodifier.strip_tags.php;h=0000000000000000000000000000000000000000;hb=f9b322cc7cb38f9d23168c291ebc3e49040a4999;hp=45f1ec14d15c2da03905bb8811d3061166f79b0a;hpb=673e23209e2e3b9782c037e70156a1a20154a5b9;p=mirrors%2FKyberia-bloodline.git diff --git a/smarty/Smarty-2.6.10/libs/plugins/modifier.strip_tags.php b/smarty/Smarty-2.6.10/libs/plugins/modifier.strip_tags.php deleted file mode 100644 index 45f1ec1..0000000 --- a/smarty/Smarty-2.6.10/libs/plugins/modifier.strip_tags.php +++ /dev/null @@ -1,31 +0,0 @@ - - * Name: strip_tags
- * Purpose: strip html tags from text - * @link http://smarty.php.net/manual/en/language.modifier.strip.tags.php - * strip_tags (Smarty online manual) - * @param string - * @param boolean - * @return string - */ -function smarty_modifier_strip_tags($string, $replace_with_space = true) -{ - if ($replace_with_space) - return preg_replace('!<[^>]*?>!', ' ', $string); - else - return strip_tags($string); -} - -/* vim: set expandtab: */ - -?>