Subversion Repositories Applications.papyrus

Compare Revisions

Ignore whitespace Rev 1197 → Rev 1198

/branches/livraison_menes/papyrus/pap_initialise_info.inc.php
21,7 → 21,7
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// | |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: pap_initialise_info.inc.php,v 1.28 2006-12-01 15:41:21 ddelon Exp $
// CVS : $Id: pap_initialise_info.inc.php,v 1.28.2.1 2007-01-11 18:22:35 ddelon Exp $
/**
*Initialisation de Papyrus : vérification et récupération de paramètres généraux.
*
41,7 → 41,7
*@author Alexandre GRANIER <alex@tela-botanica.org>
*@author Laurent COUDOUNEAU <laurent.coudouneau@ema.fr>
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.28 $ $Date: 2006-12-01 15:41:21 $
*@version $Revision: 1.28.2.1 $ $Date: 2007-01-11 18:22:35 $
// +------------------------------------------------------------------------------------------------------+
*/
 
335,8 → 335,9
// Récupération des informations sur la traduction du site
$requete = 'SELECT * '.
'FROM gen_site '.
'WHERE gs_ce_i18n = "'.$_GEN_commun['i18n'].'" '.
'AND gs_code_alpha = "'.$_GEN_commun['info_site']->gs_code_alpha.'"';
'WHERE gs_ce_i18n = "'.$_GEN_commun['i18n'].'"';
// 'WHERE gs_ce_i18n = "'.$_GEN_commun['i18n'].'" '.
// 'AND gs_code_alpha = "'.$_GEN_commun['info_site']->gs_code_alpha.'"';
 
$resultat = $db->query($requete);
(DB::isError($resultat)) ? die(BOG_afficherErreurSql(__FILE__, __LINE__, $resultat->getMessage(), $requete)) : '';
356,8 → 357,9
// Récupération des informations sur la traduction du menu
$requete = 'SELECT * '.
'FROM gen_menu '.
'WHERE gm_ce_i18n = "'.$_GEN_commun['i18n'].'" '.
'AND gm_code_alpha = "'.$_GEN_commun['info_menu']->gm_code_alpha.'"';
'WHERE gm_ce_i18n = "'.$_GEN_commun['i18n'].'" ;';
// 'WHERE gm_ce_i18n = "'.$_GEN_commun['i18n'].'" '.
// 'AND gm_code_alpha = "'.$_GEN_commun['info_menu']->gm_code_alpha.'"';
 
$resultat = $db->query($requete);
(DB::isError($resultat)) ? die(BOG_afficherErreurSql(__FILE__, __LINE__, $resultat->getMessage(), $requete)) : '';
484,6 → 486,9
 
/* +--Fin du code ---------------------------------------------------------------------------------------+
* $Log: not supported by cvs2svn $
* Revision 1.28 2006/12/01 15:41:21 ddelon
* erreur affichage
*
* Revision 1.27 2006/11/07 18:43:54 jp_milcent
* Modification des expressions régulières des permaliens.
*