Subversion Repositories Applications.bazar

Compare Revisions

Ignore whitespace Rev 6 → Rev 7

/trunk/bazar.php
19,7 → 19,7
// | License along with this library; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: bazar.php,v 1.4 2005-07-21 19:03:12 florian Exp $
// CVS : $Id: bazar.php,v 1.5 2005-09-28 16:06:03 florian Exp $
/**
*
*@package bazar
28,7 → 28,7
*@author Florian Schmitt <florian@ecole-et-nature.org>
//Autres auteurs :
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.4 $ $Date: 2005-07-21 19:03:12 $
*@version $Revision: 1.5 $ $Date: 2005-09-28 16:06:03 $
// +------------------------------------------------------------------------------------------------------+
*/
 
80,10 → 80,9
$GLOBALS['id_user']=$GLOBALS['AUTH']->getAuthData(BAZ_CHAMPS_ID);
$res = '';
//---------------l'entĂȘte de l'appli-----------
$res.='<div id="BAZ_hautdepage">'."\n";
$res.='<h1>'.BAZ_TITREAPPLI.'</h1>'."\n";
$res.='<h1>'.$GLOBALS['_GEN_commun']['info_menu']->gm_titre.'</h1>'."\n";
$res.='</div>'."\n";
//---------------le menu de l'appli-----------
95,7 → 94,7
$res .= '<li><a href="'.$GLOBALS['_BAZAR_']['url']->getURL().'">'.BAZ_CONSULTER.'</a>'."\n".'<ul>'."\n";
$GLOBALS['_BAZAR_']['url']->removeQueryString('nature');
$requete = 'SELECT bn_id_nature, bn_label_nature FROM bazar_nature' ;
$requete = 'SELECT bn_id_nature, bn_label_nature FROM bazar_nature WHERE bn_ce_id_menu='.$GLOBALS['_GEN_commun']['info_menu']->gm_id_menu ;
$resultat = $GLOBALS['_BAZAR_']['db']->query($requete) ;
if (DB::isError($resultat)) {
die ($resultat->getMessage().$resultat->getDebugInfo()) ;
211,6 → 210,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.4 2005/07/21 19:03:12 florian
* nouveautés bazar: templates fiches, correction de bugs, ...
*
* Revision 1.2 2005/02/22 15:33:32 florian
* integration dans Papyrus
*