Advanced search  

News:

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

Pages: [1]   Go Down

Author Topic: Comment  (Read 4331 times)

0 Members and 1 Guest are viewing this topic.

goman

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 51
Comment
« on: January 31, 2007, 05:11:23 pm »

I am some problem.

I used plugin captcha.php and commentary with reshape to the doodad recontouring:
http://sweb.cz/t310/coopermine/uprava2.gif

I'd however needed to with picture this way:
http://sweb.cz/t310/coopermine/uprava.gif

doesn't go about colours, but about lay.

what where adjust?

I think, that here, but I don't know what :-(

Quote
// captcha function to modify gallery header html
function captcha_main($html) {
   global $lang_display_comments, $thisplugin, $lang_plugin_captcha_conf;
   if(!USER_ID) { // Remove this line if you want Captcha display to all
      $exper='(<input type="submit" class="comment_button" name="submit" value="'.$lang_display_comments['OK'].'" />)';
      if(preg_match($exper,$html)){   
         if(USER_ID) {
            $newcpch = '<!-- CAPTCH PLUGIN --><input type="submit" style="color: #FFFF00; font-weight: bold" class="comment_button" name="submit" id="submit" value="'.$lang_display_comments['OK'].'" /></td></tr><tr><td class="tableb_compact" colspan="2">'.$lang_plugin_captcha_conf.'</td><td class="tableb_compact" colspan="2"><input type="text" name="confirmCode" id="confirmCode" size="5" class="textinput"><img src="'.$thisplugin->fullpath.'/captcha.php" align="middle">';
         } else {
            $newcpch = '<!-- CAPTCH PLUGIN --><input type="submit" style="color: #FFFF00; font-weight: bold" class="comment_button" name="submit" id="submit" value="'.$lang_display_comments['OK'].'" /></td></tr><tr><td class="tableb_compact" >'.$lang_plugin_captcha_conf.'</td><td class="tableb_compact" ><input type="text" name="confirmCode" id="confirmCode" size="5" class="textinput"><td class="tableb_compact"><img src="'.$thisplugin->fullpath.'/captcha.php" align="middle"></td><td class="tableb_compact" >&nbsp;</td><td class="tableb_compact" >&nbsp;</td>';
         }
      $html = preg_replace($exper,$newcpch,$html);
      }
Logged

goman

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 51
Re: Comment
« Reply #1 on: February 01, 2007, 09:09:40 am »

Nobody is to know?  :'(
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Comment
« Reply #2 on: February 01, 2007, 09:51:53 am »

Logged
Pages: [1]   Go Up
 

Page created in 0.029 seconds with 21 queries.