Fork me on GitHub

Rapport de message :*
 

Re: Security Image Weblinks

Titre du sujet : Re: Security Image Weblinks
par kraven30 sur 22/07/2007 13:57:13

Pour Mydownloads 1.43


Dans submit.php:
Vers la Ligne 42-43:

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'index.php' 1_SECURITYIMAGE_ERROR ) ;
    }
//Hack SecurityImage by Dugris[/color]
    
$submitter = !empty($xoopsUser) ? $xoopsUser->getVar('uid') : 0;


Vers la Ligne 155:
$xoopsTpl->assign('lang_cancel'_CANCEL);
    
    [
color=CC0000]//Hack SecurityImage by Dugris
    
include_once(XOOPS_ROOT_PATH "/class/xoopsformloader.php");
    if ( 
defined('SECURITYIMAGE_INCLUDED') ) {
        
$security_image = new SecurityImage_SECURITYIMAGE_GETCODE );
        if ( 
$security_image->render() ) {
            
$xoopsTpl->assign('lang_securityimage'_SECURITYIMAGE_CODE);
            
$xoopsTpl->assign('input_securityimage' $security_image->render() );
        }
    }
    
//Hack SecurityImage by Dugris[/color]
    
    
ob_start();
    
$mytree->makeMySelBox("title""title",0,1);


Dans mydownloads_submit.html:
Vers la Ligne 61:

<{/if}>            </td>
          </
tr>
         [
color=CC0000]<!-- Hack SecurityImage by Dugris-->
          <
tr>
            <
td class="head"><{$lang_securityimage}></td>
            <
td class="even"><{$input_securityimage}></td>
          </
tr>
     <!-- 
Hack SecurityImage by Dugris-->[/color]
        </
table>

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

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