modifier truncate_email
| From: | Chandrashekhar Bhosle | Date: | Fri, 30 Aug 2002 22:09:38 +0000 |
| Subject: | modifier truncate_email | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-5889@lists.php.net to get a copy of this message | ||
Hi,
Small smarty modifier plugin truncate_email which
truncates a long email address for display.
e.g. longusername...@...longdomain.com
Useful in html tables where long fields mess up display,
making you scroll wide, etc
Code attached.
- cnb