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)
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.

AttachmentSize
link_config.patch2.16 KB

#1

kbahey - June 1, 2008 - 04:52
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

Mike Sances - June 3, 2008 - 16:30

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.

 
 

Drupal is a registered trademark of Dries Buytaert.