Fork me on GitHub

Rapport de message :*
 

Re: Security Image Weblinks

Titre du sujet : Re: Security Image Weblinks
par kraven30 sur 03/09/2007 20:21:18

Pour MyAlbum-P 2.9


Dans submit.php:
Vers la Ligne 90:
if( ! empty( $_POST['submit'] ) ) {
[
color=CC0000]// 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)'2_SECURITYIMAGE_ERROR ) ;
     exit();
}
// Hack SecurityImage by Dugris[/color]
    // Ticket Check
    
if ( ! $xoopsGTicket->check() ) {
        
redirect_header(XOOPS_URL.'/',3,$xoopsGTicket->getErrors());



Vers la Ligne 366:
$form->addElement$cat_select ) ;
$form->setRequired$cat_select ) ;
$form->addElement$file_form ) ;
if( 
$myalbum_canrotate $form->addElement$rotate_radio ) ;
[
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]
$form->addElement$preview_hidden ) ;
$form->addElement$counter_hidden ) ;


Chez moi ça marche mais verifie comme meme Burning

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

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