Fork me on GitHub

Rapport de message :*
 

Re: Security Image Weblinks

Titre du sujet : Re: Security Image Weblinks
par eparcyl92 sur 06/08/2008 11:13:14

Merci cx1max...
Wordbook 1.16 Suite... et fin

Le père Dugris à fait ceci pour SOUMETTRE UNE NOUVELLE ENTREE

Le père Eparcyl92 vous propose maintenant de sécurityimagiser le "DEMANDER UNE DEFINITION."

Le fichier wordbook/include/requestform.php

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

    
$security_image = new SecurityImage_SECURITYIMAGE_GETCODE );

    if (
$security_image->render()) { 

        
$rform->addElement($security_imagetrue); 

    } 

}
// Hack SecurityImage by Dugris [/color][/b]
$submit_button = new XoopsFormButton("""submit"_MD_WB_SUBMIT"submit");


Et enfin, le fichier wordbook/request.php

$adminMessage .= _MD_WB_NOTIFYONPUB;
            }
[
b][color=CC0000]// Hack SecurityImage by Dugris
if (defined('SECURITYIMAGE_INCLUDED')) {

    
$security_image = new SecurityImage_SECURITYIMAGE_GETCODE );

    if (
$security_image->render()) { 

        
$rform->addElement($security_imagetrue); 

    } 

}
// Hack SecurityImage by Dugris [/color][/b]
            
$adminMessage .= "n".$HTTP_SERVER_VARS['HTTP_USER_AGENT']."n";

Et plus bas

ATTENTION: ENLEVER LES ESPACES DE (j a v a s c r i p t :)


if ($xoopsModuleConfig['mailtoadmin'] == 1)
        {
[
b][color=CC0000]// Hack SecurityImage by Dugris
    
include_once(XOOPS_ROOT_PATH "/class/xoopsformloader.php");
    if ( 
defined('SECURITYIMAGE_INCLUDED') && !SecurityImage::CheckSecurityImage() ) {
    
redirect_header'j a v a s c r i  p t :history.go(-1)'2_SECURITYIMAGE_ERROR ) ;
        exit();
    }
// Hack SecurityImage by Dugris [/color][/b] 
        
$messagesent .= sprintf(_MD_WB_SENTCONFIRMMAIL,$address);


Bonne journée à toutes et tous
Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

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