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.php,v 1.48 2007-10-17 08:24:59 alexandre_tb Exp $ |
// CVS : $Id: bazar.php,v 1.49 2007-10-24 13:26:02 alexandre_tb Exp $ |
/** |
* |
*@package bazar |
28,7 → 28,7 |
*@author Florian Schmitt <florian@ecole-et-nature.org> |
//Autres auteurs : |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.48 $ $Date: 2007-10-17 08:24:59 $ |
*@version $Revision: 1.49 $ $Date: 2007-10-24 13:26:02 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
243,7 → 243,7 |
//case BAZ_ACTION_NOUVEAU : $res .= baz_formulaire(BAZ_ACTION_NOUVEAU); break; |
case BAZ_ACTION_NOUVEAU_V : $res .= baz_formulaire(BAZ_ACTION_NOUVEAU_V).mes_fiches(); break; |
//case BAZ_ACTION_MODIFIER : $res .= baz_formulaire(BAZ_ACTION_MODIFIER); break; |
case BAZ_ACTION_MODIFIER_V : $res .= baz_formulaire(BAZ_ACTION_MODIFIER_V).baz_voir_fiche(1); break; |
//case BAZ_ACTION_MODIFIER_V : $res .= baz_formulaire(BAZ_ACTION_MODIFIER_V).baz_voir_fiche(1); break; |
case BAZ_ACTION_SUPPRESSION : $res .= baz_suppression(); unset ($_GET['action']); break; |
case BAZ_ACTION_PUBLIER : publier_fiche(1) ; break; |
case BAZ_ACTION_PAS_PUBLIER : publier_fiche(0) ;$res .= fiches_a_valider(); break; |
257,7 → 257,10 |
if (isset ($_GET[BAZ_VARIABLE_VOIR])) { |
switch ($_GET[BAZ_VARIABLE_VOIR]) { |
case BAZ_VOIR_CONSULTER: |
if (isset ($_GET['action']) && $_GET['action'] != BAZ_VOIR_TOUTES_ANNONCES) $res .= baz_formulaire($_GET['action']) ; else $res .= baz_liste($GLOBALS['_BAZAR_']['id_typeannonce']); |
if (isset ($_GET['action']) && $_GET['action'] != BAZ_VOIR_TOUTES_ANNONCES) { |
$res .= baz_formulaire($_GET['action']) ; |
if ($_GET['action'] == BAZ_ACTION_MODIFIER_V) $res .= baz_voir_fiche(1); |
} else $res .= baz_liste($GLOBALS['_BAZAR_']['id_typeannonce']); |
break; |
case BAZ_VOIR_MES_FICHES : |
if (isset ($_GET['action'])) $res .= baz_formulaire($_GET['action']) ; else $res .= mes_fiches(); |
283,6 → 286,9 |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* Revision 1.48 2007-10-17 08:24:59 alexandre_tb |
* correction multilinguisme |
* |
* Revision 1.47 2007-10-01 12:13:53 alexandre_tb |
* bug, affichage vue / action pour la vue "administrer" |
* |