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: Adding keyword select function to editOnePic and editpics  (Read 2549 times)

0 Members and 1 Guest are viewing this topic.

wirewolf

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 35
    • Ship Modeling Forum
Adding keyword select function to editOnePic and editpics
« on: January 23, 2007, 04:27:31 am »

In upload.php is the function to add keywords from the keyword_select.php pop up (clickable in to the keyword text box). Is there a way to add the same funtion to editOnePic.php and editpics.php?
Editing the language file to change
Code: [Select]
$lang_editpics_php 'keywords' => 'Keywords', to
Code: [Select]
'keywords' => 'Keywords (separate with spaces)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">Insert from list</a>', is easy, but how would you add the function to editOnePic.php and editpics.php so the keyword(s) are inserted into the text boxes?

wirewolf

Bergami

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Adding keyword select function to editOnePic and editpics
« Reply #1 on: November 07, 2007, 05:59:27 pm »

I need this function too in the editOnePic.php. Has anybody a solution for me please?!
Logged

Nibbler

  • Guest
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.