Advanced search  


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.

Pages: [1]   Go Down

Author Topic: in the image description field  (Read 2593 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine newbie
  • Offline Offline
  • Posts: 2 in the image description field
« on: May 11, 2005, 03:11:00 am »

I'am trying to open a new window with the JavaScript function in the image description field. Any solutions ?

In the page I tried to modified the bb_decode function. Here is what I did and it's not working :

Code: [Select]
$bbcode_tpl['url']  = '<span class="bblink"><a href="{URL}" target="_blank">{DESCRIPTION}</a></span>';

Code: [Select]
$bbcode_tpl['url']  = '<span class="bblink"><a href="javascript:;" onMouseUp="MM_openBrWindow("{URL}","Popup","width=640, height=480")" >{DESCRIPTION}</a></span>';
Thanks !

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
Re: in the image description field
« Reply #1 on: May 11, 2005, 11:02:18 am »

do not double-post; you already posted the very same question here:
There are several reasons why people won't answer your questions, read
Pages: [1]   Go Up

Page created in 0.019 seconds with 19 queries.