1
Good morning,
I'm trying to integrate the captcha of securityimage of Dugris in this super module.
The'm able to save a portion of the code in the file "submit.php
Quote:
$sform -> addElement( new XoopsFormHidden( 'approve', 0 ) );
}
$sform -> addElement( $option_tray );
// Hack SecurityImage by DuGris
if ( defined('SECURITYIMAGE_INCLUDED') ) {
$security_image = new SecurityImage( _SECURITYIMAGE_GETCODE );
if ($security_image->render()) {
$sform->addElement($security_image, true);
}
}
// Hack SecurityImage by DuGris [b][color=990000]
$button_tray = new XoopsFormElementTray( '', '' );
$button_tray -> addElement( new XoopsFormButton( '', 'submit', _SUBMIT, 'submit' ) );
But I do not see or I can put this second part of the code.
SecurityImage de DuGrisDo you have a small idea to give me?
Thank you and good night
eparcyl tranquil !!!