Subversion Repositories Applications.bazar

Rev

Rev 144 | Rev 152 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 144 Rev 148
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.fonct.php,v 1.53 2006-07-25 13:24:44 florian Exp $
22
// CVS : $Id: bazar.fonct.php,v 1.54 2006-09-14 15:11:23 alexandre_tb Exp $
23
/**
23
/**
24
*
24
*
25
* Fonctions du module bazar
25
* Fonctions du module bazar
26
* 
26
* 
27
*
27
*
Line 29... Line 29...
29
//Auteur original :
29
//Auteur original :
30
*@author        Alexandre Granier <alexandre@tela-botanica.org>
30
*@author        Alexandre Granier <alexandre@tela-botanica.org>
31
*@author        Florian Schmitt <florian@ecole-et-nature.org>
31
*@author        Florian Schmitt <florian@ecole-et-nature.org>
32
//Autres auteurs :
32
//Autres auteurs :
33
*@copyright     Tela-Botanica 2000-2004
33
*@copyright     Tela-Botanica 2000-2004
34
*@version       $Revision: 1.53 $ $Date: 2006-07-25 13:24:44 $
34
*@version       $Revision: 1.54 $ $Date: 2006-09-14 15:11:23 $
35
// +------------------------------------------------------------------------------------------------------+
35
// +------------------------------------------------------------------------------------------------------+
36
*/
36
*/
Line 37... Line 37...
37
 
37
 
38
// +------------------------------------------------------------------------------------------------------+
38
// +------------------------------------------------------------------------------------------------------+
Line 872... Line 872...
872
	if (DB::isError($resultat)) {
872
	if (DB::isError($resultat)) {
873
		die ('Echec de la requete<br />'.$resultat->getMessage().'<br />'.$resultat->getDebugInfo().'<br />'."\n") ;
873
		die ('Echec de la requete<br />'.$resultat->getMessage().'<br />'.$resultat->getDebugInfo().'<br />'."\n") ;
874
	}
874
	}
875
	//TODO: verifier si wikini est associee a la fiche 
875
	//TODO: verifier si wikini est associee a la fiche 
876
	//suppression des wikinis associes
876
	//suppression des wikinis associes
-
 
877
	/*
-
 
878
	include_once PAP_CHEMIN_RACINE.'client/integrateur_wikini/bibliotheque/gestion_wikini.class.php' ;
877
	include_once PAP_CHEMIN_RACINE.'client/integrateur_wikini/bibliotheque/adwi_wikini.fonct.php' ;
879
	include_once PAP_CHEMIN_RACINE.'client/integrateur_wikini/bibliotheque/adwi_wikini.fonct.php' ;
878
	$id_wikini='';
880
	$id_wikini='';
879
	adwi_supprimer_wikini($id_wikini, $GLOBALS['_BAZAR_']['db']);				
881
	adwi_supprimer_wikini($id_wikini, $GLOBALS['_BAZAR_']['db']);				
880
	
882
	*/
881
	// suppression des valeurs des listes et des cases à cocher
883
	// suppression des valeurs des listes et des cases à cocher
882
	$requete = 'DELETE FROM bazar_fiche_valeur_liste WHERE bfvl_ce_fiche='.$_GET['id_fiche'];
884
	$requete = 'DELETE FROM bazar_fiche_valeur_liste WHERE bfvl_ce_fiche='.$_GET['id_fiche'];
883
	$resultat = $GLOBALS['_BAZAR_']['db']->query($requete) ;
885
	$resultat = $GLOBALS['_BAZAR_']['db']->query($requete) ;
884
	if (DB::isError($resultat)) {
886
	if (DB::isError($resultat)) {
885
		die ($resultat->getMessage().$resultat->getDebugInfo()) ;
887
		die ($resultat->getMessage().$resultat->getDebugInfo()) ;
Line 1201... Line 1203...
1201
}
1203
}
Line 1202... Line 1204...
1202
 
1204
 
1203
/* +--Fin du code ----------------------------------------------------------------------------------------+
1205
/* +--Fin du code ----------------------------------------------------------------------------------------+
1204
*
1206
*
-
 
1207
* $Log: not supported by cvs2svn $
-
 
1208
* Revision 1.53  2006/07/25 13:24:44  florian
-
 
1209
* correction bug image
1205
* $Log: not supported by cvs2svn $
1210
*
1206
* Revision 1.52  2006/07/25 13:05:00  alexandre_tb
1211
* Revision 1.52  2006/07/25 13:05:00  alexandre_tb
1207
* Remplacement d un die par un echo
1212
* Remplacement d un die par un echo
1208
*
1213
*
1209
* Revision 1.51  2006/07/18 14:17:32  alexandre_tb
1214
* Revision 1.51  2006/07/18 14:17:32  alexandre_tb