forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 plugins => Topic started by: scifirocket21 on August 25, 2006, 04:51:57 am

Title: Add Link to Plug-in
Post by: scifirocket21 on August 25, 2006, 04:51:57 am
Here is what I want to accomplish:

I'm using the CPGMark plug-in, and it works fine.  There is an option that allows you to select the color of the text watermark.  Some of my users have complained that they don't know any hex values to put in the text color field, so I made a color chart for them to look at.  However, I'm not sure how to add a link in php that would open a new window.  I would like to add this link right under the words "Watermark text color (e.g. FFFFFF)". 

Here is the Watermark link: http://www.mydpnet.com/photos/index.php?file=CPGMark/cpgmark_admin

How do I do this?
Title: Re: Add Link to Plug-in
Post by: Nibbler on August 25, 2006, 05:00:33 am
Modify the language file eg. lang/english.php and add an html link.

Code: [Select]
array('Watermark text colour (e.g. FFFFFF)', 'watermark_text_color', 0),
Code: [Select]
array('Watermark text colour (e.g. FFFFFF)<br /><a href="chart.php" target="_blank">Colour chart</a>', 'watermark_text_color', 0),