Patch to allow admins to change link text
kmillecam - May 30, 2008 - 00:32
| Project: | Flag content |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | kmillecam |
| Status: | patch (to be ported) |
Jump to:
Description
A client of mine liked the flag_content module but wanted the link text to say something like "report inappropriate" rather than the "report this page" link that was hard coded into the module.
This patch adds a field to the configuration page that allows administrators to change the link text to what suites them.
| Attachment | Size |
|---|---|
| link_config.patch | 2.16 KB |

#1
This patch would make translations to other languages difficult, but I will leave this issue for someone else to address, since i have no need for dual languages myself.
The feature is useful enough to warrant inclusion.
Committed to 5.x-2.x-dev (should be in the tarball in 24 hours).
Can you please roll a similar patch for 6.x?
#2
Just what I was looking for.
Is it possible to add a configuration for the hover text as well? (Default is "Notify the administrators this posting is problematic.")
Thanks for your work.