+++ /dev/null
-<?php\r
-/**\r
- * Smarty plugin\r
- * @package Smarty\r
- * @subpackage plugins\r
- */\r
-\r
-\r
-/**\r
- * Smarty strip modifier plugin\r
- *\r
- * Type: modifier<br>\r
- * Name: strip<br>\r
- * Purpose: Replace all repeated spaces, newlines, tabs\r
- * with a single space or supplied replacement string.<br>\r
- * Example: {$var|strip} {$var|strip:" "}\r
- * Date: September 25th, 2002\r
- * @link http://smarty.php.net/manual/en/language.modifier.strip.php\r
- * strip (Smarty online manual)\r
- * @author Monte Ohrt <monte@ispi.net>\r
- * @version 1.0\r
- * @param string\r
- * @param string\r
- * @return string\r
- */\r
-function smarty_modifier_strip($text, $replace = ' ')\r
-{\r
- return preg_replace('!\s+!', $replace, $text);\r
-}\r
-\r
-/* vim: set expandtab: */\r
-\r
-?>\r