Ticket #4868 (closed Bug: fixed)
spamProtect script enhancement
| Reported by: | ethomas | Owned by: | hannosch |
|---|---|---|---|
| Priority: | trivial | Milestone: | 2.5 |
| Component: | Templates/CSS | Keywords: | newbie |
| Cc: |
Description (last modified by hannosch) (diff)
Would be nice if the spamProtect script accepted a second paramater (string) to use as the link text. We could then do things like:
<a tal:replace="structure python: here.spamProtect(site_properties.email_from_address, site_properties.email_from_name)" />
which would produce:
<a href="mailto:postmaster@localhost">Portal Administrator</a>
Of course, if you were to leave the second parameter out, the spamProtect script should display the email address as the link text.
Attached is a patch file to enable this functionality.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

