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.32 2006-01-18 10:03:36 florian Exp $ |
// CVS : $Id: bazar.fonct.php,v 1.33 2006-01-18 10:07:34 florian Exp $ |
/** |
* |
* Fonctions du module bazar |
31,7 → 31,7 |
*@author Florian Schmitt <florian@ecole-et-nature.org> |
//Autres auteurs : |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.32 $ $Date: 2006-01-18 10:03:36 $ |
*@version $Revision: 1.33 $ $Date: 2006-01-18 10:07:34 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
753,7 → 753,6 |
*/ |
function requete_bazar_fiche($valeur) { |
$requete=NULL; |
print_r($valeur); |
//l'annonce est directement publiée pour les admins |
if ((niveau_droit($GLOBALS['_BAZAR_']['id_typeannonce'],$GLOBALS['id_user'])=='administrateur') or |
(niveau_droit($GLOBALS['_BAZAR_']['id_typeannonce'],$GLOBALS['id_user'])=='superadministrateur')) { |
761,8 → 760,7 |
} |
else { |
$requete.='bf_statut_fiche="'.BAZ_ETAT_VALIDATION.'", '; |
} |
|
} |
$tableau=baz_valeurs_template($GLOBALS['_BAZAR_']['template']); |
for ($i=0; $i<count($tableau); $i++) { |
if ($tableau[$i]['type']!='labelhtml') { |
1351,6 → 1349,9 |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* Revision 1.32 2006/01/18 10:03:36 florian |
* recodage de l'insertion et de la maj des données relatives aux listes et checkbox dans des formulaires |
* |
* Revision 1.31 2006/01/17 10:07:08 alexandre_tb |
* en cours |
* |