Smarty plugin / modifier
| From: | Matija Rijavec @ domenca.si | Date: | Wed, 01 Jun 2005 12:56:49 +0000 |
| Subject: | Smarty plugin / modifier | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-12653@lists.php.net to get a copy of this message | ||
Hi all.
In my templates, i use a lot of <img src="pixel.gif" height="1" wifth="1"> ......
How can i make modifier / plugin for this ... like :
{p} .... ordinary pixel.gif wiht widtht=1 and height=1 -- default values
{p:10:5} .... pixel.gif with width=10 and height=5
... sorry if this isnt maillist for plugins/...
Greetz.