| Line 17... |
Line 17... |
| 17 |
// | |
|
17 |
// | |
|
| 18 |
// | You should have received a copy of the GNU Lesser General Public |
|
18 |
// | You should have received a copy of the GNU Lesser General Public |
|
| 19 |
// | License along with this library; if not, write to the Free Software |
|
19 |
// | License along with this library; if not, write to the Free Software |
|
| 20 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
20 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
| 21 |
// +------------------------------------------------------------------------------------------------------+
|
21 |
// +------------------------------------------------------------------------------------------------------+
|
| 22 |
// CVS : $Id: bazar.php,v 1.27 2006-02-07 11:08:36 alexandre_tb Exp $
|
22 |
// CVS : $Id: bazar.php,v 1.28 2006-03-29 13:05:41 alexandre_tb Exp $
|
| 23 |
/**
|
23 |
/**
|
| 24 |
*
|
24 |
*
|
| 25 |
*@package bazar
|
25 |
*@package bazar
|
| 26 |
//Auteur original :
|
26 |
//Auteur original :
|
| 27 |
*@author Alexandre GRANIER <alexandre@tela-botanica.org>
|
27 |
*@author Alexandre GRANIER <alexandre@tela-botanica.org>
|
| 28 |
*@author Florian Schmitt <florian@ecole-et-nature.org>
|
28 |
*@author Florian Schmitt <florian@ecole-et-nature.org>
|
| 29 |
//Autres auteurs :
|
29 |
//Autres auteurs :
|
| 30 |
*@copyright Tela-Botanica 2000-2004
|
30 |
*@copyright Tela-Botanica 2000-2004
|
| 31 |
*@version $Revision: 1.27 $ $Date: 2006-02-07 11:08:36 $
|
31 |
*@version $Revision: 1.28 $ $Date: 2006-03-29 13:05:41 $
|
| 32 |
// +------------------------------------------------------------------------------------------------------+
|
32 |
// +------------------------------------------------------------------------------------------------------+
|
| 33 |
*/
|
33 |
*/
|
| Line 34... |
Line 34... |
| 34 |
|
34 |
|
| 35 |
// +------------------------------------------------------------------------------------------------------+
|
35 |
// +------------------------------------------------------------------------------------------------------+
|
| Line 154... |
Line 154... |
| 154 |
$GLOBALS['_BAZAR_']['url']->addQueryString('action', BAZ_DEPOSER_ANNONCE);
|
154 |
$GLOBALS['_BAZAR_']['url']->addQueryString('action', BAZ_DEPOSER_ANNONCE);
|
| 155 |
$res .= '<li id="deposer"><a href="'.$GLOBALS['_BAZAR_']['url']->getURL().'">'.BAZ_SAISIR.'</a>'."\n".'</li>'."\n";
|
155 |
$res .= '<li id="deposer"><a href="'.$GLOBALS['_BAZAR_']['url']->getURL().'">'.BAZ_SAISIR.'</a>'."\n".'</li>'."\n";
|
| 156 |
$GLOBALS['_BAZAR_']['url']->removeQueryString('action');
|
156 |
$GLOBALS['_BAZAR_']['url']->removeQueryString('action');
|
| Line 157... |
Line 157... |
| 157 |
|
157 |
|
| 158 |
//choix des administrateurs
|
158 |
//choix des administrateurs
|
| 159 |
$utilisateur = new Utilisateur_bazar($GLOBALS['AUTH']) ;
|
159 |
$utilisateur = new Administrateur_bazar($GLOBALS['AUTH']) ;
|
| 160 |
$est_admin=0;
|
160 |
$est_admin=0;
|
| 161 |
if ($GLOBALS['AUTH']->getAuth()) {
|
161 |
if ($GLOBALS['AUTH']->getAuth()) {
|
| 162 |
$requete='SELECT bn_id_nature FROM bazar_nature';
|
162 |
$requete='SELECT bn_id_nature FROM bazar_nature';
|
| 163 |
$resultat = $GLOBALS['_BAZAR_']['db']->query($requete) ;
|
163 |
$resultat = $GLOBALS['_BAZAR_']['db']->query($requete) ;
|
| Line 223... |
Line 223... |
| 223 |
|
223 |
|
| 224 |
|
224 |
|
| 225 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
225 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
| - |
|
226 |
*
|
| - |
|
227 |
* $Log: not supported by cvs2svn $
|
| - |
|
228 |
* Revision 1.27 2006/02/07 11:08:36 alexandre_tb
|
| 226 |
*
|
229 |
* utilisation de la classe Utilisateur_bazar pour la vérification des droits
|
| 227 |
* $Log: not supported by cvs2svn $
|
230 |
*
|
| 228 |
* Revision 1.26 2006/02/06 09:33:53 alexandre_tb
|
231 |
* Revision 1.26 2006/02/06 09:33:53 alexandre_tb
|
| 229 |
* modification de l'affichage lors de la saisie de fiche
|
232 |
* modification de l'affichage lors de la saisie de fiche
|
| 230 |
*
|
233 |
*
|