Comment Comment
 

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]

Main Menu

Comment

Started by goman, January 31, 2007, 05:11:23 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

goman

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);
      }

goman

Nobody is to know?  :'(

Joachim Müller