Fork me on GitHub

Rapport de message :*
 

Re: Security Image Weblinks

Titre du sujet : Re: Security Image Weblinks
par kraven30 sur 23/07/2007 22:50:37

Pour Smartfaq 1.08


Dans submit.php:
Vers la Ligne 43:
if (isset($_POST['post'])) {
    
$op 'post';
[
color=CC0000]// Hack SecurityImage by Dugris
include_once(XOOPS_ROOT_PATH "/class/xoopsformloader.php");
if ( 
defined('SECURITYIMAGE_INCLUDED') && !SecurityImage::CheckSecurityImage() ) {
     
redirect_header'index.php'2_SECURITYIMAGE_ERROR ) ;
     exit();
}
// Hack SecurityImage by Dugris[/color]
} elseif (isset($_POST['preview'])) {
    
$op 'preview';



Dans include/submit_inc.php:
Vers la Ligne 78

$form->addElement($notify_checkbox);
}
[
color=CC0000]// Hack SecurityImage by Dugris
if (defined('SECURITYIMAGE_INCLUDED')) {

    
$security_image = new SecurityImage_SECURITYIMAGE_GETCODE );

    if (
$security_image->render()) { 

        
$form->addElement($security_imagetrue); 

    } 

}
// Hack SecurityImage by Dugris    [/color]
$button_tray = new XoopsFormElementTray('''');

Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

34 Personne(s) en ligne (28 Personne(s) connectée(s) sur Forum) | Utilisateur(s): 0 | Invité(s): 34 | Plus ...