Subversion Repositories Applications.bazar

Rev

Rev 282 | Rev 301 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
5 florian 1
<?php
2
/*vim: set expandtab tabstop=4 shiftwidth=4: */
3
// +------------------------------------------------------------------------------------------------------+
4
// | PHP version 4.1                                                                                      |
5
// +------------------------------------------------------------------------------------------------------+
6
// | Copyright (C) 2004 Tela Botanica (accueil@tela-botanica.org)                                         |
7
// +------------------------------------------------------------------------------------------------------+
8
// | This library is free software; you can redistribute it and/or                                        |
9
// | modify it under the terms of the GNU Lesser General Public                                           |
10
// | License as published by the Free Software Foundation; either                                         |
11
// | version 2.1 of the License, or (at your option) any later version.                                   |
12
// |                                                                                                      |
13
// | This library is distributed in the hope that it will be useful,                                      |
14
// | but WITHOUT ANY WARRANTY; without even the implied warranty of                                       |
15
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU                                    |
16
// | Lesser General Public License for more details.                                                      |
17
// |                                                                                                      |
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                                  |
20
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
21
// +------------------------------------------------------------------------------------------------------+
291 alexandre_ 22
// CVS : $Id: bazar.php,v 1.44 2007-09-06 15:39:28 alexandre_tb Exp $
5 florian 23
/**
24
*
25
*@package bazar
26
//Auteur original :
27
*@author        Alexandre GRANIER <alexandre@tela-botanica.org>
28
*@author        Florian Schmitt <florian@ecole-et-nature.org>
29
//Autres auteurs :
30
*@copyright     Tela-Botanica 2000-2004
291 alexandre_ 31
*@version       $Revision: 1.44 $ $Date: 2007-09-06 15:39:28 $
5 florian 32
// +------------------------------------------------------------------------------------------------------+
33
*/
34
 
35
// +------------------------------------------------------------------------------------------------------+
36
// |                                            ENTETE du PROGRAMME                                       |
37
// +------------------------------------------------------------------------------------------------------+
38
 
39
error_reporting(E_ALL);
118 florian 40
require_once PAP_CHEMIN_API_PEAR.'DB.php' ;
41
require_once PAP_CHEMIN_API_PEAR.'Auth.php' ;
54 florian 42
require_once 'configuration/baz_config.inc.php'; //fichier de configuration de Bazar
92 alexandre_ 43
require_once 'bibliotheque/bazar.class.php';
54 florian 44
require_once 'bibliotheque/bazar.fonct.php'; //fichier des fonctions de Bazar
5 florian 45
 
46
if (defined('PAP_VERSION')) { //si on est dans Papyrus
47
	GEN_stockerStyleExterne( 'bazar_interne', 'client/bazar/bazar.interne.css');
48
}
49
 
68 florian 50
//**********************************************************************************************************
225 neiluj 51
//initialisation des paramêtres papyrus
68 florian 52
//**********************************************************************************************************
225 neiluj 53
//si un parametre est précisé dans le gestionnaire de menus papyrus, on le prends en compte
154 florian 54
 
225 neiluj 55
//parametre action pour lancer directement l'action indiquée
64 florian 56
if (!isset($_GET['action'])and(isset($GLOBALS['_GEN_commun']['info_application']->action))) {
57
	$_GET['action']=$GLOBALS['_GEN_commun']['info_application']->action;
58
}
154 florian 59
 
272 alexandre_ 60
//parametre vue pour afficher directement une 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;
63
}
64
 
291 alexandre_ 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
 
70
 
225 neiluj 71
//parametre voir_menu pour afficher le menu ou pas (par défaut, il l'affiche)
64 florian 72
if ((isset($GLOBALS['_GEN_commun']['info_application']->voir_menu))and($GLOBALS['_GEN_commun']['info_application']->voir_menu==0)) {
73
	$GLOBALS['_BAZAR_']['affiche_menu']=0;
74
}
75
else $GLOBALS['_BAZAR_']['affiche_menu']=1;
154 florian 76
 
225 neiluj 77
//parametre categorie_nature pour préciser quels types de fiches sont montrees (par défaut, il affiche les id_menu=0)
64 florian 78
if (isset($GLOBALS['_GEN_commun']['info_application']->categorie_nature)) {
79
	$GLOBALS['_BAZAR_']['categorie_nature']=$GLOBALS['_GEN_commun']['info_application']->categorie_nature;
80
}
126 florian 81
elseif (isset($_REQUEST['categorie_nature'])) {
82
	$GLOBALS['_BAZAR_']['categorie_nature']=$_REQUEST['categorie_nature'];
83
}
64 florian 84
else $GLOBALS['_BAZAR_']['categorie_nature']=0;
154 florian 85
 
64 florian 86
//parametre id_nature pour afficher un certain type de fiche (par défaut, tous les types de fiches)
87
if (isset($GLOBALS['_GEN_commun']['info_application']->id_nature)) {
68 florian 88
	$GLOBALS['_BAZAR_']['id_typeannonce']=$GLOBALS['_GEN_commun']['info_application']->id_nature;
64 florian 89
}
68 florian 90
elseif (!isset($GLOBALS['_BAZAR_']['typeannonce'])) $GLOBALS['_BAZAR_']['typeannonce']='toutes';
64 florian 91
 
68 florian 92
//**********************************************************************************************************
93
//initialisation de la variable globale de bazar
94
//**********************************************************************************************************
95
$GLOBALS['id_user']=$GLOBALS['AUTH']->getAuthData(BAZ_CHAMPS_ID);
96
 
97
//Recuperer les eventuelles variables passees en GET ou en POST
84 alexandre_ 98
if (isset($_REQUEST['id_fiche'])) {
99
	$GLOBALS['_BAZAR_']['id_fiche']=$_REQUEST['id_fiche'];
100
	// récupération du type d'annonce à partir de la fiche
101
	$requete = 'select bf_ce_nature from bazar_fiche where bf_id_fiche='.$GLOBALS['_BAZAR_']['id_fiche'] ;
102
	$resultat = $GLOBALS['_BAZAR_']['db']->query ($requete) ;
103
	if (DB::isError($resultat)) {
104
		echo $resultat->getMessage().'<br />'.$resultat->getInfoDebug();
105
	}
106
	$ligne = $resultat->fetchRow(DB_FETCHMODE_OBJECT) ;
107
	$GLOBALS['_BAZAR_']['id_typeannonce'] = $ligne->bf_ce_nature ;
108
	$resultat->free();
109
}
68 florian 110
if (isset($_REQUEST['typeannonce'])) {
111
	$GLOBALS['_BAZAR_']['id_typeannonce']=$_REQUEST['typeannonce'];
112
}
113
 
114
if ((isset($GLOBALS['_BAZAR_']['id_typeannonce']))and($GLOBALS['_BAZAR_']['id_typeannonce']!='toutes')) {
185 jp_milcent 115
	$requete = 'SELECT bn_label_nature, bn_condition, bn_template, bn_commentaire, bn_appropriation, bn_image_titre, bn_image_logo FROM bazar_nature WHERE bn_id_nature = '.$GLOBALS['_BAZAR_']['id_typeannonce'];
68 florian 116
	$resultat = $GLOBALS['_BAZAR_']['db']->query($requete) ;
117
	if (DB::isError($resultat)) {
118
		die ($resultat->getMessage().$resultat->getDebugInfo()) ;
119
	}
120
	$ligne = $resultat->fetchRow(DB_FETCHMODE_ASSOC);
121
	$GLOBALS['_BAZAR_']['typeannonce']=$ligne['bn_label_nature'];
122
	$GLOBALS['_BAZAR_']['condition']=$ligne['bn_condition'];
123
    $GLOBALS['_BAZAR_']['template']=$ligne['bn_template'];
124
	$GLOBALS['_BAZAR_']['commentaire']=$ligne['bn_commentaire'];
125
	$GLOBALS['_BAZAR_']['appropriation']=$ligne['bn_appropriation'];
126
	$GLOBALS['_BAZAR_']['image_titre']=$ligne['bn_image_titre'];
87 alexandre_ 127
	$GLOBALS['_BAZAR_']['image_logo']=$ligne['bn_image_logo'];
68 florian 128
}
87 alexandre_ 129
if (!isset($GLOBALS['_BAZAR_']['id_typeannonce'])) $GLOBALS['_BAZAR_']['id_typeannonce'] = 'toutes' ;
5 florian 130
// +------------------------------------------------------------------------------------------------------+
131
// |                                           LISTE de FONCTIONS                                         |
132
// +------------------------------------------------------------------------------------------------------+
64 florian 133
if ($GLOBALS['_BAZAR_']['affiche_menu']) {
134
	//---------------le menu de l'appli-----------
135
	function afficherContenuNavigation () {
84 alexandre_ 136
		$res ='<ul id="BAZ_menu">'."\n";
154 florian 137
		//partie consultation d'annonces
272 alexandre_ 138
		$GLOBALS['_BAZAR_']['url']->addQueryString(BAZ_VARIABLE_VOIR, BAZ_VOIR_CONSULTER);
154 florian 139
		$res .= '<li id="consulter"';
272 alexandre_ 140
		if (!isset($_GET[BAZ_VARIABLE_VOIR])) $res .=' class="onglet_actif" ';
154 florian 141
		$res .='><a href="'.$GLOBALS['_BAZAR_']['url']->getURL().'">'.BAZ_CONSULTER.'</a>'."\n".'</li>'."\n";
272 alexandre_ 142
		//$GLOBALS['_BAZAR_']['url']->removeQueryString(BAZ_VARIABLE_VOIR);
5 florian 143
 
132 alexandre_ 144
		// Mes fiches
272 alexandre_ 145
		$GLOBALS['_BAZAR_']['url']->addQueryString(BAZ_VARIABLE_VOIR, BAZ_VOIR_MES_FICHES);
154 florian 146
		$res .= '<li id="consulter"';
272 alexandre_ 147
		if (isset($_GET[BAZ_VARIABLE_VOIR]) && $_GET[BAZ_VARIABLE_VOIR] == BAZ_VOIR_MES_FICHES) $res .=' class="onglet_actif" ';
154 florian 148
		$res .= '><a href="'.$GLOBALS['_BAZAR_']['url']->getURL().'">'.BAZ_VOIR_VOS_ANNONCES.'</a>'."\n".'</li>'."\n";
272 alexandre_ 149
		//$GLOBALS['_BAZAR_']['url']->removeQueryString(BAZ_VARIABLE_VOIR);
132 alexandre_ 150
 
64 florian 151
		//partie abonnement aux annonces
272 alexandre_ 152
		$GLOBALS['_BAZAR_']['url']->addQueryString(BAZ_VARIABLE_VOIR, BAZ_VOIR_S_ABONNER);
154 florian 153
		$res .= '<li id="inscrire"';
272 alexandre_ 154
		if (isset($_GET[BAZ_VARIABLE_VOIR]) && $_GET[BAZ_VARIABLE_VOIR]==BAZ_VOIR_S_ABONNER) $res .=' class="onglet_actif" ';
154 florian 155
		$res .= '><a href="'.$GLOBALS['_BAZAR_']['url']->getURL().'">'.BAZ_S_ABONNER.'</a></li>'."\n" ;
272 alexandre_ 156
		//$GLOBALS['_BAZAR_']['url']->removeQueryString(BAZ_VARIABLE_VOIR);
64 florian 157
 
158
		//partie saisie d'annonces
272 alexandre_ 159
		$GLOBALS['_BAZAR_']['url']->addQueryString(BAZ_VARIABLE_VOIR, BAZ_VOIR_SAISIR);
154 florian 160
		$res .= '<li id="deposer"';
272 alexandre_ 161
		if (isset($_GET[BAZ_VARIABLE_VOIR]) && ($_GET[BAZ_VARIABLE_VOIR]==BAZ_VOIR_SAISIR )) $res .=' class="onglet_actif" ';
154 florian 162
		$res .='><a href="'.$GLOBALS['_BAZAR_']['url']->getURL().'">'.BAZ_SAISIR.'</a>'."\n".'</li>'."\n";
272 alexandre_ 163
		//$GLOBALS['_BAZAR_']['url']->removeQueryString(BAZ_VARIABLE_VOIR);
64 florian 164
 
165
		//choix des administrateurs
111 alexandre_ 166
		$utilisateur = new Administrateur_bazar($GLOBALS['AUTH']) ;
64 florian 167
		$est_admin=0;
168
		if ($GLOBALS['AUTH']->getAuth()) {
169
			$requete='SELECT bn_id_nature FROM bazar_nature';
170
			$resultat = $GLOBALS['_BAZAR_']['db']->query($requete) ;
171
			if (DB::isError($resultat)) {
172
				die ($resultat->getMessage().$resultat->getDebugInfo()) ;
173
			}
174
			while ($ligne = $resultat->fetchRow(DB_FETCHMODE_ASSOC)) {
92 alexandre_ 175
				if ($utilisateur->isAdmin ($ligne['bn_id_nature'])) {
64 florian 176
					$est_admin=1;
177
			    }
178
			}
92 alexandre_ 179
			if ($est_admin || $utilisateur->isSuperAdmin()) {
64 florian 180
				//partie administrer
272 alexandre_ 181
				$GLOBALS['_BAZAR_']['url']->addQueryString(BAZ_VARIABLE_VOIR, BAZ_VOIR_ADMIN);
154 florian 182
				$res .= '<li id="administrer"';
272 alexandre_ 183
				if (isset($_GET[BAZ_VARIABLE_VOIR]) && $_GET[BAZ_VARIABLE_VOIR]==BAZ_VOIR_ADMIN) $res .=' class="onglet_actif" ';
154 florian 184
				$res .='><a href="'.$GLOBALS['_BAZAR_']['url']->getURL().'">'.BAZ_ADMINISTRER.'</a></li>'."\n";
272 alexandre_ 185
				//$GLOBALS['_BAZAR_']['url']->removeQueryString(BAZ_VARIABLE_VOIR);
64 florian 186
 
92 alexandre_ 187
				if ($utilisateur->isSuperAdmin()) {
272 alexandre_ 188
					$GLOBALS['_BAZAR_']['url']->addQueryString(BAZ_VARIABLE_VOIR, BAZ_VOIR_GESTION_DROITS);
154 florian 189
					$res .= '<li id="gerer"';
272 alexandre_ 190
					if (isset($_GET[BAZ_VARIABLE_VOIR]) && $_GET[BAZ_VARIABLE_VOIR]==BAZ_VOIR_GESTION_DROITS) $res .=' class="onglet_actif" ';
154 florian 191
					$res .='><a href="'.$GLOBALS['_BAZAR_']['url']->getURL().'">'.BAZ_GESTION_DES_DROITS.'</a></li>'."\n" ;
272 alexandre_ 192
					//$GLOBALS['_BAZAR_']['url']->removeQueryString(BAZ_VARIABLE_VOIR);
64 florian 193
				}
194
			}
195
		}
272 alexandre_ 196
		// Au final, on place dans l url, l action courante
197
		if (isset($_GET[BAZ_VARIABLE_VOIR])) $GLOBALS['_BAZAR_']['url']->addQueryString(BAZ_VARIABLE_VOIR, $_GET[BAZ_VARIABLE_VOIR]);
64 florian 198
		$res.= '</ul>'."\n";
199
	    return $res ;
200
	}
201
}
202
 
203
function afficherContenuCorps() {
5 florian 204
	$res = '';
145 alexandre_ 205
	$res.='<h1 id="titre_bazar">'.$GLOBALS['_GEN_commun']['info_menu']->gm_titre.'</h1>'."\n";
45 florian 206
 
272 alexandre_ 207
	// La resolution des actions ci-dessous AVANT l afichage des vues afin
208
	// d afficher des vues correctes
209
 
5 florian 210
	if (isset($_GET['action'])) {
68 florian 211
		if (($_GET['action']!=BAZ_ACTION_NOUVEAU_V)and($_GET['action']!=BAZ_ACTION_MODIFIER_V)) unset($_SESSION['formulaire_annonce_valide']);
5 florian 212
		switch ($_GET['action']) {
133 alexandre_ 213
			case BAZ_ACTION_VOIR_VOS_ANNONCES : $res .= mes_fiches(); break;
272 alexandre_ 214
			//case BAZ_VOIR_TOUTES_ANNONCES : $res .= baz_liste($GLOBALS['_BAZAR_']['id_typeannonce']); break;
215
			//case BAZ_DEPOSER_ANNONCE : $res .= baz_formulaire(BAZ_DEPOSER_ANNONCE); break;
154 florian 216
			case BAZ_ANNONCES_A_VALIDER : $res .= fiches_a_valider(); break;
5 florian 217
			case BAZ_ADMINISTRER_ANNONCES : $res .= baz_administrer_annonces(); break;
272 alexandre_ 218
			//case BAZ_MODIFIER_FICHE : $res .= baz_formulaire(BAZ_ACTION_MODIFIER); break;
5 florian 219
			case BAZ_SUPPRIMER_FICHE : $res .= baz_suppression().baz_liste('',$GLOBALS['id_user'],''); break;
220
			case BAZ_VOIR_FICHE : $res .= baz_voir_fiche(1); break;
272 alexandre_ 221
			//case BAZ_ACTION_NOUVEAU : $res .= baz_formulaire(BAZ_ACTION_NOUVEAU); break;
90 alexandre_ 222
			case BAZ_ACTION_NOUVEAU_V : $res .= baz_formulaire(BAZ_ACTION_NOUVEAU_V).mes_fiches(); break;
272 alexandre_ 223
			//case BAZ_ACTION_MODIFIER : $res .= baz_formulaire(BAZ_ACTION_MODIFIER); break;
224
			case BAZ_ACTION_MODIFIER_V : $res .= baz_formulaire(BAZ_ACTION_MODIFIER_V).baz_voir_fiche(1); break;
225
			case BAZ_ACTION_SUPPRESSION : $res .= baz_suppression(); unset ($_GET['action']); break;
226
			case BAZ_ACTION_PUBLIER : publier_fiche(1) ; break;
5 florian 227
			case BAZ_ACTION_PAS_PUBLIER : publier_fiche(0) ;$res .= fiches_a_valider(); break;
272 alexandre_ 228
			//case BAZ_GERER_DROITS : $res .= baz_gestion_droits(); break;
5 florian 229
			case BAZ_S_INSCRIRE : $res .= baz_s_inscrire(); break;
277 alexandre_ 230
			case BAZ_VOIR_FLUX_RSS : header('Content-type: text/xml; charset=UTF-8');include("bazarRSS.php");exit(0);break;
272 alexandre_ 231
			//default : $res .= baz_liste($GLOBALS['_BAZAR_']['id_typeannonce']) ;
5 florian 232
		}
272 alexandre_ 233
 
5 florian 234
	}
272 alexandre_ 235
	if (isset ($_GET[BAZ_VARIABLE_VOIR])) {
236
			switch ($_GET[BAZ_VARIABLE_VOIR]) {
237
				case BAZ_VOIR_CONSULTER:
238
				if (isset ($_GET['action']) && $_GET['action'] != BAZ_VOIR_TOUTES_ANNONCES) $res .= baz_formulaire($_GET['action']) ; else $res .= baz_liste($GLOBALS['_BAZAR_']['id_typeannonce']);
239
				break;
240
				case BAZ_VOIR_MES_FICHES :
241
				if (isset ($_GET['action'])) $res .= baz_formulaire($_GET['action']) ; else $res .= mes_fiches();
242
				break;
243
				case BAZ_VOIR_S_ABONNER : $res .= baz_s_inscrire();
244
				break;
245
				case BAZ_VOIR_SAISIR :
246
				if (isset ($_GET['action'])) $res .= baz_formulaire($_GET['action']) ; else $res .= baz_formulaire(BAZ_DEPOSER_ANNONCE);
247
				break;
282 alexandre_ 248
				case BAZ_VOIR_ADMIN:
249
				if (isset($_GET['action'])) $res .= baz_formulaire($_GET['action']) ; else $res .= fiches_a_valider();
272 alexandre_ 250
				break;
251
				case BAZ_VOIR_GESTION_DROITS: $res .= baz_gestion_droits();
252
				break;
291 alexandre_ 253
				default :
254
				$res .= baz_liste($GLOBALS['_BAZAR_']['id_typeannonce']);
272 alexandre_ 255
			}
5 florian 256
	}
257
	return $res ;
258
}
259
 
260
 
261
/* +--Fin du code ----------------------------------------------------------------------------------------+
262
*
10 ddelon 263
* $Log: not supported by cvs2svn $
291 alexandre_ 264
* Revision 1.43  2007-08-27 12:26:04  alexandre_tb
265
* Mise en place de l action BAZ_VOIR_ADMIN
266
*
282 alexandre_ 267
* Revision 1.42  2007-07-05 08:29:24  alexandre_tb
268
* modification du charset iso-8859-1 vers utf8 lors l'envoie des entetes xml.
269
*
277 alexandre_ 270
* Revision 1.41  2007-07-04 10:05:12  alexandre_tb
271
* ajout d une variable $_GET['vue'] en complement de la variable action.
272
* Elle correspond aux 6 vues du bazar (consulter, mes fiches, s'abonner, saisir, administrer, gestion des droits)
273
*
272 alexandre_ 274
* Revision 1.40  2007/04/11 08:30:12  neiluj
275
* remise en état du CVS...
276
*
225 neiluj 277
* Revision 1.35.2.2  2007/03/07 16:53:17  jp_milcent
278
* Suppression du query string "action" et non pas "nature"
221 florian 279
*
185 jp_milcent 280
* Revision 1.35.2.1  2007/02/15 13:42:16  jp_milcent
281
* Utilisation de IN à la place du = dans les requêtes traitant les catégories de fiches.
282
* Permet d'utiliser la syntaxe 1,2,3 dans la configuration de categorie_nature.
283
*
284
* Revision 1.35  2006/10/05 08:53:50  florian
285
* amelioration moteur de recherche, correction de bugs
286
*
154 florian 287
* Revision 1.34  2006/09/04 15:25:12  alexandre_tb
288
* ajout d'un id dans la balise HTML du titre
289
*
145 alexandre_ 290
* Revision 1.33  2006/06/21 15:41:42  alexandre_tb
291
* rétablissement du menu mes fiches
292
*
133 alexandre_ 293
* Revision 1.32  2006/06/21 15:40:15  alexandre_tb
294
* rétablissement du menu mes fiches
295
*
132 alexandre_ 296
* Revision 1.31  2006/05/19 13:54:32  florian
297
* stabilisation du moteur de recherche, corrections bugs, lien recherche avancee
298
*
126 florian 299
* Revision 1.30  2006/04/28 12:46:14  florian
300
* integration des liens vers annuaire
301
*
118 florian 302
* Revision 1.29  2006/04/24 10:16:22  alexandre_tb
303
* ajout de la globale filtre.
304
* elle remplace (à terme) catégorie nature
305
*
117 alexandre_ 306
* Revision 1.28  2006/03/29 13:05:41  alexandre_tb
307
* utilisation de la classe Administrateur_bazar
308
*
111 alexandre_ 309
* Revision 1.27  2006/02/07 11:08:36  alexandre_tb
310
* utilisation de la classe Utilisateur_bazar pour la vérification des droits
311
*
92 alexandre_ 312
* Revision 1.26  2006/02/06 09:33:53  alexandre_tb
313
* modification de l'affichage lors de la saisie de fiche
314
*
90 alexandre_ 315
* Revision 1.25  2006/01/30 17:25:38  alexandre_tb
316
* correction de bugs
317
*
87 alexandre_ 318
* Revision 1.24  2006/01/26 11:06:43  alexandre_tb
319
* ajout d'une requete pour recupere l'id_nature si un id_fiche est passé dans l'url
320
*
84 alexandre_ 321
* Revision 1.23  2006/01/17 10:07:36  alexandre_tb
322
* en cours
323
*
72 alexandre_ 324
* Revision 1.22  2006/01/16 15:11:28  alexandre_tb
325
* simplification code
326
*
71 alexandre_ 327
* Revision 1.21  2006/01/13 14:12:52  florian
328
* utilisation des temlates dans la table bazar_nature
329
*
68 florian 330
* Revision 1.20  2006/01/05 16:28:25  alexandre_tb
331
* prise en chage des checkbox, reste la mise à jour à gérer
332
*
67 alexandre_ 333
* Revision 1.19  2006/01/03 10:19:31  florian
334
* Mise à jour pour accepter des parametres dans papyrus: faire apparaitre ou non le menu, afficher qu'un type de fiches, définir l'action par défaut...
335
*
64 florian 336
* Revision 1.18  2005/12/02 10:57:03  florian
337
* MAJ pour paramétrage dans gestion de menus papyrus
338
*
59 florian 339
* Revision 1.17  2005/12/01 16:05:41  florian
340
* changement des chemins pour appli Pear
341
*
57 florian 342
* Revision 1.16  2005/12/01 15:31:30  florian
343
* correction bug modifs et saisies
344
*
56 florian 345
* Revision 1.15  2005/11/30 13:58:45  florian
346
* ajouts graphisme (logos, boutons), changement structure SQL bazar_fiche
347
*
55 florian 348
* Revision 1.14  2005/11/24 16:17:13  florian
349
* corrections bugs, ajout des cases à cocher
350
*
54 florian 351
* Revision 1.13  2005/11/14 16:04:54  florian
352
* maj bug affichage flux
353
*
51 florian 354
* Revision 1.12  2005/11/07 17:05:46  florian
355
* amélioration validation conditions de saisie, ajout des règles spécifiques de saisie des formulaires
356
*
45 florian 357
* Revision 1.11  2005/10/21 16:15:04  florian
358
* mise a jour appropriation
359
*
39 florian 360
* Revision 1.10  2005/10/12 17:20:33  ddelon
361
* Reorganisation calendrier + applette
362
*
30 ddelon 363
* Revision 1.9  2005/10/12 13:35:07  florian
364
* amélioration de l'interface de bazar, de manière a simplifier les consultations, et à harmoniser par rapport aux Ressources
365
*
22 florian 366
* Revision 1.8  2005/09/30 13:00:05  ddelon
367
* Fiche bazar generique
368
*
11 ddelon 369
* Revision 1.7  2005/09/30 12:34:44  ddelon
370
* petite modification pour integration bazar dans papyrus
371
*
10 ddelon 372
* Revision 1.6  2005/09/30 12:22:54  florian
373
* Ajouts commentaires pour fiche, modifications graphiques, maj SQL
374
*
7 florian 375
* Revision 1.4  2005/07/21 19:03:12  florian
376
* nouveautés bazar: templates fiches, correction de bugs, ...
377
*
5 florian 378
* Revision 1.2  2005/02/22 15:33:32  florian
379
* integration dans Papyrus
380
*
381
* Revision 1.1.1.1  2005/02/17 18:05:11  florian
382
* Import initial de Bazar
383
*
384
* Revision 1.1.1.1  2005/02/17 11:09:50  florian
385
* Import initial
386
*
387
* Revision 1.1.1.1  2005/02/16 18:06:35  florian
388
* import de la nouvelle version
389
*
390
* Revision 1.3  2004/07/05 15:10:14  florian
391
* changement interface de saisie
392
*
393
* Revision 1.2  2004/07/01 10:13:41  florian
394
* modif Florian
395
*
396
* Revision 1.1  2004/06/23 09:58:32  alex
397
* version initiale
398
*
399
* Revision 1.1  2004/06/18 09:00:07  alex
400
* version initiale
401
*
402
*
403
* +-- Fin du code ----------------------------------------------------------------------------------------+
404
*/
405
?>