Subversion Repositories Applications.bazar

Rev

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

Rev 282 Rev 291
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.43 2007-08-27 12:26:04 alexandre_tb Exp $
22
// CVS : $Id: bazar.php,v 1.44 2007-09-06 15:39:28 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.43 $ $Date: 2007-08-27 12:26:04 $
31
*@version       $Revision: 1.44 $ $Date: 2007-09-06 15:39:28 $
32
// +------------------------------------------------------------------------------------------------------+
32
// +------------------------------------------------------------------------------------------------------+
33
*/
33
*/
Line 34... Line 34...
34
 
34
 
35
// +------------------------------------------------------------------------------------------------------+
35
// +------------------------------------------------------------------------------------------------------+
Line 60... Line 60...
60
//parametre vue pour afficher directement une vue  
60
//parametre vue pour afficher directement une vue  
61
if (!isset($_GET[BAZ_VARIABLE_VOIR])and(isset($GLOBALS['_GEN_commun']['info_application']->vue))) {
61
if (!isset($_GET[BAZ_VARIABLE_VOIR])and(isset($GLOBALS['_GEN_commun']['info_application']->vue))) {
62
	$_GET[BAZ_VARIABLE_VOIR]=$GLOBALS['_GEN_commun']['info_application']->vue;
62
	$_GET[BAZ_VARIABLE_VOIR]=$GLOBALS['_GEN_commun']['info_application']->vue;
63
}
63
}
Line -... Line 64...
-
 
64
 
-
 
65
// Si le parametre vue est vide on le positionne a 1
-
 
66
if (!isset($_GET[BAZ_VARIABLE_VOIR])) {
-
 
67
	$_GET[BAZ_VARIABLE_VOIR] = BAZ_VOIR_CONSULTER;
-
 
68
}
-
 
69
 
64
 
70
 
65
//parametre voir_menu pour afficher le menu ou pas (par défaut, il l'affiche)
71
//parametre voir_menu pour afficher le menu ou pas (par défaut, il l'affiche)
66
if ((isset($GLOBALS['_GEN_commun']['info_application']->voir_menu))and($GLOBALS['_GEN_commun']['info_application']->voir_menu==0)) {
72
if ((isset($GLOBALS['_GEN_commun']['info_application']->voir_menu))and($GLOBALS['_GEN_commun']['info_application']->voir_menu==0)) {
67
	$GLOBALS['_BAZAR_']['affiche_menu']=0;
73
	$GLOBALS['_BAZAR_']['affiche_menu']=0;
68
}
74
}
Line 242... Line 248...
242
				case BAZ_VOIR_ADMIN: 
248
				case BAZ_VOIR_ADMIN: 
243
				if (isset($_GET['action'])) $res .= baz_formulaire($_GET['action']) ; else $res .= fiches_a_valider();
249
				if (isset($_GET['action'])) $res .= baz_formulaire($_GET['action']) ; else $res .= fiches_a_valider();
244
				break;
250
				break;
245
				case BAZ_VOIR_GESTION_DROITS: $res .= baz_gestion_droits();
251
				case BAZ_VOIR_GESTION_DROITS: $res .= baz_gestion_droits();
246
				break;
252
				break;
247
				
253
				default :
-
 
254
				$res .= baz_liste($GLOBALS['_BAZAR_']['id_typeannonce']);
248
			}
255
			}
249
	}
256
	}
250
	return $res ;
257
	return $res ;
251
}
258
}
Line 252... Line 259...
252
 
259
 
253
 
260
 
254
/* +--Fin du code ----------------------------------------------------------------------------------------+
261
/* +--Fin du code ----------------------------------------------------------------------------------------+
-
 
262
*
-
 
263
* $Log: not supported by cvs2svn $
-
 
264
* Revision 1.43  2007-08-27 12:26:04  alexandre_tb
255
*
265
* Mise en place de l action BAZ_VOIR_ADMIN
256
* $Log: not supported by cvs2svn $
266
*
257
* Revision 1.42  2007-07-05 08:29:24  alexandre_tb
267
* Revision 1.42  2007-07-05 08:29:24  alexandre_tb
258
* modification du charset iso-8859-1 vers utf8 lors l'envoie des entetes xml.
268
* modification du charset iso-8859-1 vers utf8 lors l'envoie des entetes xml.
259
*
269
*