Fork me on GitHub

Rapport de message :*
 

Re: Security Image Weblinks

Titre du sujet : Re: Security Image Weblinks
par eparcyl92 sur 15/06/2008 08:40:31

JOBS 3.0 RC3
Bonjour, je commence ...

Le fichier addlisting.php
if (!empty($_POST['submit']) ) {
[
b][color=FF0000]
    
// Hack SecurityImage by DuGris
    
include_once(XOOPS_ROOT_PATH "/class/xoopsformloader.php");
    if ( 
defined('SECURITYIMAGE_INCLUDED') && !SecurityImage::CheckSecurityImage() ) {
        
redirect_header'(script removed)history.go(-1)' 3_SECURITYIMAGE_ERROR ) ;
        exit();
    }
    
// Hack SecurityImage by DuGris [/color][/b]
    
$jobsdays=$xoopsModuleConfig['jobs_days'];


et
$form->addElement(new XoopsFormHidden("valid""No"), false);
    }
[
b][color=FF0000]
// 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][/b]  
        
$form->addElement(new XoopsFormButton('''submit'_JOBS_SUBMIT'submit'));


C'est pas fini.... je cherche la suite
Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

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