Fork me on GitHub

Rapport de message :*
 

Re: a l'aide

Titre du sujet : Re: a l'aide
par jlz78 sur 25/01/2008 12:30:54

bonjour

peux-tu essayer avec le fichier footer ci-dessous qui est le fichier original de la version 2.0.16?

<?php
// $Id: footer.php 694 2006-09-04 11:33:22Z skalpa $
//  ------------------------------------------------------------------------ //
//                XOOPS - PHP Content Management System                      //
//                    Copyright (c) 2000 XOOPS.org                           //
//                       <http://www.xoops.org/>   ... nbsp;   //
//  ------------------------------------------------------------------------ //
//  This program is free software; you can redistribute it and/or modify     //
//  it under the terms of the GNU General Public License as published by     //
//  the Free Software Foundation; either version 2 of the License, or        //
//  (at your option) any later version.                                      //
//                                                                           //
//  You may not change or alter any portion of this comment or credits       //
//  of supporting developers from this source code or any supporting         //
//  source code which is considered copyrighted (c) material of the          //
//  original comment or credit authors.                                      //
//                                                                           //
//  This program is distributed in the hope that it will be useful,          //
//  but WITHOUT ANY WARRANTY; without even the implied warranty of           //
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            //
//  GNU General Public License for more details.                             //
//                                                                           //
//  You should have received a copy of the GNU General Public License        //
//  along with this program; if not, write to the Free Software              //
//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA //
//  ------------------------------------------------------------------------ //
if (!defined("XOOPS_ROOT_PATH")) {
    die(
"XOOPS root path not defined");
}
if ( !
defined("XOOPS_FOOTER_INCLUDED") ) {
    
define("XOOPS_FOOTER_INCLUDED",1);

    
$xoopsLogger->stopTime'Module display' );
    if (
$xoopsOption['theme_use_smarty'] == 0) {
        
// the old way
        
$footer htmlspecialchars$xoopsConfigMetaFooter['footer'] ) . '<br /><div style="text-align:center">Powered by XOOPS © 2002 <a href="http://www.xoops.org/" target="_blank">The XOOPS Project</a></div>';
        if (isset(
$xoopsOption['template_main'])) {
            
$xoopsTpl->xoops_setCaching(0);
            
$xoopsTpl->display('db:'.$xoopsOption['template_main']);
        }
        if (!isset(
$xoopsOption['show_rblock'])) {
            
$xoopsOption['show_rblock'] = 0;
        }
        
themefooter($xoopsOption['show_rblock'], $footer);
        
xoops_footer();
    } else {
        
// RMV-NOTIFY
        
include_once XOOPS_ROOT_PATH '/include/notification_select.php';
        
        if (!
headers_sent()) {
            
header('Content-Type:text/html; charset='._CHARSET);
            
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
            
//header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
            
header('Cache-Control: private, no-cache');
            
header('Pragma: no-cache');
        }
        
/*
        global $xoopsDB, $xoopsConfig;
        if ( !$xoopsConfig['theme_fromfile'] ) {
            session_write_close();
            $xoopsDB->close();
        }
        */
        //@internal: using global $xoTheme dereferences the variable in old versions, this does not
        
if ( !isset( $xoTheme ) )    $xoTheme =& $GLOBALS['xoTheme'];

        if ( isset( 
$xoopsOption['template_main'] ) && $xoopsOption['template_main'] != $xoTheme->contentTemplate ) {
            
trigger_error"xoopsOption[template_main] should be defined before including header.php"E_USER_WARNING );
            if ( 
false === strpos$xoopsOption['template_main'], ':' ) ) {
                
$xoTheme->contentTemplate 'db:' $xoopsOption['template_main'];
            } else {
                
$xoTheme->contentTemplate $xoopsOption['template_main'];
            }
        }
        
$xoTheme->render();
    }
    
$xoopsLogger->stopTime();
}
?>

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

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