|
[SMARTY] Emails and URLs in smarty template content: msg#00403php.smarty.general
Hi all, I've been pondering this for a while without enough time to research it, so I thought I would ask the question here. I've a Smarty template that is receiving content from a .php script that gets it from the db. In the PHP script the slashes are stripped and it is passed to the template where it is 'htmlall' escaped. Some of the data from the db is URLs or Email addresses. I was wondering what the Best pratice to turn those into links would be. In the old phplib system that I'm converting from they were just regex'ing them. I would prefer to add a variable modifier in the template if possible....so I'm not sure if the solution is a plugin or just a regex_replace. Any ideas or pre-existing solutions? -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: [SMARTY] discovering the full path on shared unix host: 00403, Hoffman, Geoffrey |
|---|---|
| Next by Date: | Re: [SMARTY] Emails and URLs in smarty template content: 00403, Nichlas Löfdahl |
| Previous by Thread: | [SMARTY] discovering the full path on shared unix hosti: 00403, Hoffman, Geoffrey |
| Next by Thread: | Re: [SMARTY] Emails and URLs in smarty template content: 00403, Nichlas Löfdahl |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |