Subversion Repositories Applications.bazar

Compare Revisions

Ignore whitespace Rev 33 → Rev 34

/trunk/bibliotheque/bazar.fonct.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.fonct.php,v 1.11 2005-10-12 17:20:33 ddelon Exp $
// CVS : $Id: bazar.fonct.php,v 1.12 2005-10-14 13:59:23 alexandre_tb Exp $
/**
*
* Fonctions du module bazar
30,7 → 30,7
*@author Florian Schmitt <florian@ecole-et-nature.org>
//Autres auteurs :
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.11 $ $Date: 2005-10-12 17:20:33 $
*@version $Revision: 1.12 $ $Date: 2005-10-14 13:59:23 $
// +------------------------------------------------------------------------------------------------------+
*/
 
63,7 → 63,7
* @return string Retourne 'redacteur', 'administrateur', 'superadministrateur', ou 'aucun'
*/
function niveau_droit($id_nature_offre='0', $personne) {
$requete = 'select bd_niveau_droit FROM bazar_droits WHERE bd_id_utilisateur='.$personne.
$requete = 'select bd_niveau_droit FROM bazar_droits WHERE bd_id_utilisateur="'.$personne.'"'.
' AND (bd_id_nature_offre='.$id_nature_offre.' OR bd_id_nature_offre=0)';
$resultat = $GLOBALS['_BAZAR_']['db']->query ($requete) ;
if (DB::isError($resultat)) {
1368,6 → 1368,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.11 2005/10/12 17:20:33 ddelon
* Reorganisation calendrier + applette
*
* Revision 1.10 2005/10/12 15:14:06 florian
* amélioration de l'interface de bazar, de manière a simplifier les consultations, et à harmoniser par rapport aux Ressources
*