Re: [SMARTY] Unofficial new feature patch for Smarty 2.1.1
| From: | Stealth Dave | Date: | Tue, 21 May 2002 07:02:22 +0000 |
| Subject: | Re: [SMARTY] Unofficial new feature patch for Smarty 2.1.1 | ||
| References: | 1 2 3 4 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4320@lists.php.net to get a copy of this message | ||
Okay, I've updated my page. The only plugin left is a new TRIM which
has the expanded functionality that you described below. I also kept
the forloop patch up because, well, I worked too hard on it to just dump
it. :) Hopefully you'll find the new trim useful.
http://www.wiskars.com/Smarty
- Dave
On Mon, 2002-05-20 at 17:51, Monte Ohrt wrote:
> There is already a trim function in the contribution repository, maybe
> it could be expanded upon:
>
> {$var|trim}
> {$var|trim:"left"}
> {$var|trim:"right"}
>
--
David E. Still phone:818.980.6909
dave@stilldesigning.com http://www.stilldesigning.com