Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Add Link to Plug-in  (Read 5158 times)

0 Members and 1 Guest are viewing this topic.

scifirocket21

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 58
Add Link to Plug-in
« 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?
Logged

Nibbler

  • Guest
Re: Add Link to Plug-in
« Reply #1 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),
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 19 queries.