removed mods directory from the ATutor codebase
[atutor.git] / mods / phpdoc2 / PhpDocumentor / phpDocumentor / Smarty-2.6.0 / libs / plugins / block.strip.php
diff --git a/mods/phpdoc2/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/plugins/block.strip.php b/mods/phpdoc2/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/plugins/block.strip.php
deleted file mode 100644 (file)
index a25df36..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-<?php\r
-/**\r
- * Smarty plugin\r
- * @package Smarty\r
- * @subpackage plugins\r
- */\r
-\r
-/**\r
- * Smarty {strip}{/strip} block plugin\r
- *\r
- * Type:     block function<br>\r
- * Name:     strip<br>\r
- * Purpose:  strip unwanted white space from text<br>\r
- * @link http://smarty.php.net/manual/en/language.function.strip.php {strip}\r
- *       (Smarty online manual)\r
- * @param array unused, no parameters for this block\r
- * @param string content of {strip}{/strip} tags\r
- * @param Smarty clever method emulation\r
- * @return string $content stripped of whitespace\r
- */\r
-function smarty_block_strip($params, $content, &$this)\r
-{\r
-       /* Reformat data between 'strip' and '/strip' tags, removing spaces, tabs and newlines. */\r
-       $_strip_search = array(\r
-               "![\t ]+$|^[\t ]+!m", // remove leading/trailing space chars\r
-               '%[\r\n]+%m'); // remove CRs and newlines\r
-       $_strip_replace = array(\r
-               '',\r
-               '');\r
-       return preg_replace($_strip_search, $_strip_replace, $content);\r
-}\r
-\r
-/* vim: set expandtab: */\r
-\r
-?>\r