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.49.2.3 2008-01-29 09:43:19 alexandre_tb Exp $
|
22 |
// CVS : $Id: bazar.php,v 1.49.2.4 2008-02-04 13:10:15 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.49.2.3 $ $Date: 2008-01-29 09:43:19 $
|
31 |
*@version $Revision: 1.49.2.4 $ $Date: 2008-02-04 13:10:15 $
|
32 |
// +------------------------------------------------------------------------------------------------------+
|
32 |
// +------------------------------------------------------------------------------------------------------+
|
33 |
*/
|
33 |
*/
|
Line 34... |
Line 34... |
34 |
|
34 |
|
35 |
// +------------------------------------------------------------------------------------------------------+
|
35 |
// +------------------------------------------------------------------------------------------------------+
|
Line 229... |
Line 229... |
229 |
case BAZ_ACTION_VOIR_VOS_ANNONCES : $res .= mes_fiches(); break;
|
229 |
case BAZ_ACTION_VOIR_VOS_ANNONCES : $res .= mes_fiches(); break;
|
230 |
case BAZ_ANNONCES_A_VALIDER : $res .= fiches_a_valider(); break;
|
230 |
case BAZ_ANNONCES_A_VALIDER : $res .= fiches_a_valider(); break;
|
231 |
case BAZ_ADMINISTRER_ANNONCES : $res .= baz_administrer_annonces(); break;
|
231 |
case BAZ_ADMINISTRER_ANNONCES : $res .= baz_administrer_annonces(); break;
|
232 |
case BAZ_SUPPRIMER_FICHE : $res .= baz_suppression().baz_liste('',$GLOBALS['id_user'],''); break;
|
232 |
case BAZ_SUPPRIMER_FICHE : $res .= baz_suppression().baz_liste('',$GLOBALS['id_user'],''); break;
|
233 |
case BAZ_VOIR_FICHE : $res .= baz_voir_fiche(1); break;
|
233 |
case BAZ_VOIR_FICHE : $res .= baz_voir_fiche(1); break;
|
234 |
case BAZ_ACTION_NOUVEAU_V : $res .= baz_formulaire(BAZ_ACTION_NOUVEAU_V).mes_fiches(); break;
|
234 |
case BAZ_ACTION_NOUVEAU_V : $res .= baz_formulaire(BAZ_ACTION_NOUVEAU_V); break;
|
235 |
case BAZ_ACTION_SUPPRESSION : $res .= baz_suppression(); unset ($_GET[BAZ_VARIABLE_ACTION]); break;
|
235 |
case BAZ_ACTION_SUPPRESSION : $res .= baz_suppression(); unset ($_GET[BAZ_VARIABLE_ACTION]); break;
|
236 |
case BAZ_ACTION_PUBLIER : publier_fiche(1) ; break;
|
236 |
case BAZ_ACTION_PUBLIER : publier_fiche(1) ; break;
|
237 |
case BAZ_ACTION_PAS_PUBLIER : publier_fiche(0) ;$res .= fiches_a_valider(); break;
|
237 |
case BAZ_ACTION_PAS_PUBLIER : publier_fiche(0) ;$res .= fiches_a_valider(); break;
|
238 |
case BAZ_S_INSCRIRE : $res .= baz_s_inscrire(); break;
|
238 |
case BAZ_S_INSCRIRE : $res .= baz_s_inscrire(); break;
|
239 |
case BAZ_VOIR_FLUX_RSS : header('Content-type: text/xml; charset=UTF-8');include("bazarRSS.php");exit(0);break;
|
239 |
case BAZ_VOIR_FLUX_RSS : header('Content-type: text/xml; charset=UTF-8');include("bazarRSS.php");exit(0);break;
|
Line 270... |
Line 270... |
270 |
|
270 |
|
271 |
|
271 |
|
272 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
272 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
- |
|
273 |
*
|
- |
|
274 |
* $Log: not supported by cvs2svn $
|
- |
|
275 |
* Revision 1.49.2.3 2008-01-29 09:43:19 alexandre_tb
|
273 |
*
|
276 |
* Utilisation d un redirection pour eviter que les formulaires soient valides 2 fois
|
274 |
* $Log: not supported by cvs2svn $
|
277 |
*
|
275 |
* Revision 1.49.2.2 2008-01-11 14:07:39 alexandre_tb
|
278 |
* Revision 1.49.2.2 2008-01-11 14:07:39 alexandre_tb
|
276 |
* Remplacement de la variable action ecrite en dur par la constante BAZ_VARIABLE_ACTION
|
279 |
* Remplacement de la variable action ecrite en dur par la constante BAZ_VARIABLE_ACTION
|
277 |
*
|
280 |
*
|