Closed (fixed)
Project:
Invisimail
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
25 Mar 2008 at 21:57 UTC
Updated:
27 Jun 2008 at 22:33 UTC
Sometimes in custom theming and such I could reuse some of the functions of invisimail, but because of the way they pass their variables this is somewhat of a hack. This cleans that up and makes it possible to call the function as
invisimail_ascii_encode($string, $js = FALSE, $link = FALSE, $text = NULL)
Where string is the email address to be encoded, $js and $link are boolean for using Javascript and making a link, and $text is an optional string to use for the link text.
With docs.
| Comment | File | Size | Author |
|---|---|---|---|
| invisimail_api_1.patch | 2.16 KB | mikey_p |
Comments
Comment #1
toemaz commentedApplied & tested. Works as advertised. I use this API function for some special cases.
Thx for the patch.
Comment #2
Crell commentedCommitted, both to D5 and the new D6 port. Came in helpful for #270377: Use invisimail as a CCK formatter, too. Thanks!
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.