X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=inc%2Fsmarty%2Fnode_methodz%2Fmodifier.strip.php;fp=inc%2Fsmarty%2Fnode_methodz%2Fmodifier.strip.php;h=0000000000000000000000000000000000000000;hb=f9b322cc7cb38f9d23168c291ebc3e49040a4999;hp=0db2f8ae21705aee0f1e3c2521a5a8c125c2badb;hpb=673e23209e2e3b9782c037e70156a1a20154a5b9;p=mirrors%2FKyberia-bloodline.git diff --git a/inc/smarty/node_methodz/modifier.strip.php b/inc/smarty/node_methodz/modifier.strip.php deleted file mode 100644 index 0db2f8a..0000000 --- a/inc/smarty/node_methodz/modifier.strip.php +++ /dev/null @@ -1,33 +0,0 @@ - - * Name: strip
- * Purpose: Replace all repeated spaces, newlines, tabs - * with a single space or supplied replacement string.
- * Example: {$var|strip} {$var|strip:" "} - * Date: September 25th, 2002 - * @link http://smarty.php.net/manual/en/language.modifier.strip.php - * strip (Smarty online manual) - * @author Monte Ohrt - * @version 1.0 - * @param string - * @param string - * @return string - */ -function smarty_modifier_strip($text, $replace = ' ') -{ - return preg_replace('!\s+!', $replace, $text); -} - -/* vim: set expandtab: */ - -?>