From 1f09b786730956d01c48a82272617a0f8b2597f0 Mon Sep 17 00:00:00 2001 From: "ctrlaltca@gmail.com" <> Date: Sat, 19 Nov 2011 11:05:46 +0000 Subject: updating phpDocumentor, part 1: removal of the old version --- .../Smarty-2.6.0/libs/plugins/block.strip.php | 35 ---------------------- 1 file changed, 35 deletions(-) delete mode 100644 buildscripts/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/plugins/block.strip.php (limited to 'buildscripts/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/plugins/block.strip.php') diff --git a/buildscripts/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/plugins/block.strip.php b/buildscripts/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/plugins/block.strip.php deleted file mode 100644 index a25df360..00000000 --- a/buildscripts/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/plugins/block.strip.php +++ /dev/null @@ -1,35 +0,0 @@ - - * Name: strip
- * Purpose: strip unwanted white space from text
- * @link http://smarty.php.net/manual/en/language.function.strip.php {strip} - * (Smarty online manual) - * @param array unused, no parameters for this block - * @param string content of {strip}{/strip} tags - * @param Smarty clever method emulation - * @return string $content stripped of whitespace - */ -function smarty_block_strip($params, $content, &$this) -{ - /* Reformat data between 'strip' and '/strip' tags, removing spaces, tabs and newlines. */ - $_strip_search = array( - "![\t ]+$|^[\t ]+!m", // remove leading/trailing space chars - '%[\r\n]+%m'); // remove CRs and newlines - $_strip_replace = array( - '', - ''); - return preg_replace($_strip_search, $_strip_replace, $content); -} - -/* vim: set expandtab: */ - -?> -- cgit v1.2.3