Download & Extend

Patch to allow admins to change link text

Project:Flag content
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:kmillecam
Status:patch (to be ported)

Issue Summary

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.

AttachmentSize
link_config.patch2.16 KB

Comments

#1

Version:5.x-2.x-dev» 6.x-1.x-dev
Status:needs review» patch (to be ported)

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.

nobody click here