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.class.php,v 1.1 2006-02-07 11:08:06 alexandre_tb Exp $ |
// CVS : $Id: bazar.class.php,v 1.2 2006-02-09 11:06:12 alexandre_tb Exp $ |
/** |
* |
*@package bazar |
27,7 → 27,7 |
*@author Alexandre GRANIER <alexandre@tela-botanica.org> |
*@author Florian Schmitt <florian@ecole-et-nature.org> |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.1 $ |
*@version $Revision: 1.2 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
98,7 → 98,7 |
// on court-circuite si l'utilisateur n'est pas loggué |
if (!$this->_auth->getAuth()) return false ; |
|
return $this->_requeteDroit ($id_nature, 1) ; |
return $this->_requeteDroit ($id_nature, 2) ; |
} |
|
/** isRedacteur() - Renvoie true si l'utilisateur est rédacteur du type de fiche spécifié |
106,7 → 106,7 |
*/ |
|
function isRedacteur($id_nature) { |
return $this->_requeteDroit ($id_nature, 2) ; |
return $this->_requeteDroit ($id_nature, 1) ; |
} |
|
/** _requeteDroit() - fait une requete sur la table bazar_droit |
132,6 → 132,9 |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* Revision 1.1 2006/02/07 11:08:06 alexandre_tb |
* version initiale |
* |
* +-- Fin du code ----------------------------------------------------------------------------------------+ |
*/ |
?> |