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.class.php,v 1.7 2007-07-04 09:59:09 alexandre_tb Exp $
|
22 |
// CVS : $Id: bazar.class.php,v 1.8 2007-10-01 10:35:14 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 |
*@copyright Tela-Botanica 2000-2004
|
29 |
*@copyright Tela-Botanica 2000-2004
|
30 |
*@version $Revision: 1.7 $
|
30 |
*@version $Revision: 1.8 $
|
31 |
// +------------------------------------------------------------------------------------------------------+
|
31 |
// +------------------------------------------------------------------------------------------------------+
|
32 |
*/
|
32 |
*/
|
Line 33... |
Line 33... |
33 |
|
33 |
|
34 |
// +------------------------------------------------------------------------------------------------------+
|
34 |
// +------------------------------------------------------------------------------------------------------+
|
Line 119... |
Line 119... |
119 |
/** isRedacteur() - Renvoie true si l'utilisateur est rédacteur du type de fiche spécifié
|
119 |
/** isRedacteur() - Renvoie true si l'utilisateur est rédacteur du type de fiche spécifié
|
120 |
*
|
120 |
*
|
121 |
*/
|
121 |
*/
|
Line 122... |
Line 122... |
122 |
|
122 |
|
- |
|
123 |
function isRedacteur($id_nature) {
|
123 |
function isRedacteur($id_nature) {
|
124 |
if (isset($GLOBALS['droit_depot']) && $GLOBALS['droit_depot'] == 3) return true;
|
124 |
return $this->_requeteDroit ($id_nature, 1) ;
|
125 |
return $this->_requeteDroit ($id_nature, 1) ;
|
Line 125... |
Line 126... |
125 |
}
|
126 |
}
|
126 |
|
127 |
|
Line 216... |
Line 217... |
216 |
}
|
217 |
}
|
Line 217... |
Line 218... |
217 |
|
218 |
|
218 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
219 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
219 |
*
|
220 |
*
|
- |
|
221 |
* $Log: not supported by cvs2svn $
|
- |
|
222 |
* Revision 1.7 2007-07-04 09:59:09 alexandre_tb
|
- |
|
223 |
* ajout de la classe bazar, premices d une structuration du code
|
220 |
* $Log: not supported by cvs2svn $
|
224 |
*
|
221 |
* Revision 1.6 2007/04/20 09:58:06 neiluj
|
225 |
* Revision 1.6 2007/04/20 09:58:06 neiluj
|
222 |
* correction bug $this->_id_utilisateur
|
226 |
* correction bug $this->_id_utilisateur
|
223 |
*
|
227 |
*
|
224 |
* Revision 1.5 2007/04/11 08:30:12 neiluj
|
228 |
* Revision 1.5 2007/04/11 08:30:12 neiluj
|