Subversion Repositories Applications.bazar

Rev

Rev 327 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
314 alexandre_ 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
// +------------------------------------------------------------------------------------------------------+
327 alexandre_ 22
// CVS : $Id: bazar.php,v 1.49 2007-10-24 13:26:02 alexandre_tb Exp $
314 alexandre_ 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
327 alexandre_ 31
*@version       $Revision: 1.49 $ $Date: 2007-10-24 13:26:02 $
314 alexandre_ 32
// +------------------------------------------------------------------------------------------------------+
33
*/
34
 
35
// +------------------------------------------------------------------------------------------------------+
36
// |                                            ENTETE du PROGRAMME                                       |
37
// +------------------------------------------------------------------------------------------------------+
38
 
39
error_reporting(E_ALL);
40
require_once PAP_CHEMIN_API_PEAR.'DB.php' ;
41
require_once PAP_CHEMIN_API_PEAR.'Auth.php' ;
42
require_once 'configuration/baz_config.inc.php'; //fichier de configuration de Bazar
43
require_once 'bibliotheque/bazar.class.php';
44
require_once 'bibliotheque/bazar.fonct.php'; //fichier des fonctions de Bazar
45
 
46
if (defined('PAP_VERSION')) { //si on est dans Papyrus
47
	GEN_stockerStyleExterne( 'bazar_interne', 'client/bazar/bazar.interne.css');
48
}
49
 
50
//**********************************************************************************************************
51
//initialisation des paramêtres papyrus
52
//**********************************************************************************************************
53
//si un parametre est précisé dans le gestionnaire de menus papyrus, on le prends en compte
54
 
55
//parametre action pour lancer directement l'action indiquée
56
if (!isset($_GET['action'])and(isset($GLOBALS['_GEN_commun']['info_application']->action))) {
57
	$_GET['action']=$GLOBALS['_GEN_commun']['info_application']->action;
58
}
59
 
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
 
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
 
71
//parametre voir_menu pour afficher le menu ou pas (par défaut, il l'affiche)
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;
76
 
77
//parametre categorie_nature pour préciser quels types de fiches sont montrees (par défaut, il affiche les id_menu=0)
78
if (isset($GLOBALS['_GEN_commun']['info_application']->categorie_nature)) {
79
	$GLOBALS['_BAZAR_']['categorie_nature']=$GLOBALS['_GEN_commun']['info_application']->categorie_nature;
80
}
81
elseif (isset($_REQUEST['categorie_nature'])) {
82
	$GLOBALS['_BAZAR_']['categorie_nature']=$_REQUEST['categorie_nature'];
83
}
84
else $GLOBALS['_BAZAR_']['categorie_nature']=0;
85
 
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)) {
88
	$GLOBALS['_BAZAR_']['id_typeannonce']=$GLOBALS['_GEN_commun']['info_application']->id_nature;
89
}
90
elseif (!isset($GLOBALS['_BAZAR_']['typeannonce'])) $GLOBALS['_BAZAR_']['typeannonce']='toutes';
91
 
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
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
}
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')) {
320 alexandre_ 115
	$requete = 'SELECT bn_label_nature, bn_condition, bn_template, bn_commentaire, bn_appropriation, bn_image_titre, bn_image_logo';
116
	$requete .= ' FROM bazar_nature WHERE bn_id_nature = '.$GLOBALS['_BAZAR_']['id_typeannonce'];
117
	if (isset($GLOBALS['_BAZAR_']['langue'])) {
118
		$requete .= ' and bn_ce_i18n like "'.$GLOBALS['_BAZAR_']['langue'].'%"';
119
	}
314 alexandre_ 120
	$resultat = $GLOBALS['_BAZAR_']['db']->query($requete) ;
121
	if (DB::isError($resultat)) {
122
		die ($resultat->getMessage().$resultat->getDebugInfo()) ;
123
	}
124
	$ligne = $resultat->fetchRow(DB_FETCHMODE_ASSOC);
125
	$GLOBALS['_BAZAR_']['typeannonce']=$ligne['bn_label_nature'];
126
	$GLOBALS['_BAZAR_']['condition']=$ligne['bn_condition'];
127
    $GLOBALS['_BAZAR_']['template']=$ligne['bn_template'];
128
	$GLOBALS['_BAZAR_']['commentaire']=$ligne['bn_commentaire'];
129
	$GLOBALS['_BAZAR_']['appropriation']=$ligne['bn_appropriation'];
130
	$GLOBALS['_BAZAR_']['image_titre']=$ligne['bn_image_titre'];
131
	$GLOBALS['_BAZAR_']['image_logo']=$ligne['bn_image_logo'];
132
}
133
if (!isset($GLOBALS['_BAZAR_']['id_typeannonce'])) $GLOBALS['_BAZAR_']['id_typeannonce'] = 'toutes' ;
134
// +------------------------------------------------------------------------------------------------------+
135
// |                                           LISTE de FONCTIONS                                         |
136
// +------------------------------------------------------------------------------------------------------+
137
if ($GLOBALS['_BAZAR_']['affiche_menu']) {
138
	//---------------le menu de l'appli-----------
139
	function afficherContenuNavigation () {
140
		$res ='<ul id="BAZ_menu">'."\n";
141
 
142
		// Gestion de la vue par défaut
143
		if (!isset($_GET[BAZ_VARIABLE_VOIR])) {
144
			$_GET[BAZ_VARIABLE_VOIR] = BAZ_VOIR_DEFAUT;
145
		}
146
 
147
		//partie consultation d'annonces
148
		if (strstr(BAZ_VOIR_AFFICHER, strval(BAZ_VOIR_CONSULTER))) {
149
			$GLOBALS['_BAZAR_']['url']->addQueryString(BAZ_VARIABLE_VOIR, BAZ_VOIR_CONSULTER);
150
			$res .= '<li id="consulter"';
151
			if ((isset($_GET[BAZ_VARIABLE_VOIR]) && $_GET[BAZ_VARIABLE_VOIR] == BAZ_VOIR_CONSULTER)) $res .=' class="onglet_actif" ';
152
			$res .='><a href="'.$GLOBALS['_BAZAR_']['url']->getURL().'">'.BAZ_CONSULTER.'</a>'."\n".'</li>'."\n";
153
			//$GLOBALS['_BAZAR_']['url']->removeQueryString(BAZ_VARIABLE_VOIR);
154
		}
155
 
156
		// Mes fiches
157
		if (strstr(BAZ_VOIR_AFFICHER, strval(BAZ_VOIR_MES_FICHES))) {
158
			$GLOBALS['_BAZAR_']['url']->addQueryString(BAZ_VARIABLE_VOIR, BAZ_VOIR_MES_FICHES);
159
			$res .= '<li id="consulter"';
160
			if (isset($_GET[BAZ_VARIABLE_VOIR]) && $_GET[BAZ_VARIABLE_VOIR] == BAZ_VOIR_MES_FICHES) $res .=' class="onglet_actif" ';
161
			$res .= '><a href="'.$GLOBALS['_BAZAR_']['url']->getURL().'">'.BAZ_VOIR_VOS_ANNONCES.'</a>'."\n".'</li>'."\n";
162
			//$GLOBALS['_BAZAR_']['url']->removeQueryString(BAZ_VARIABLE_VOIR);
163
		}
164
 
165
		//partie abonnement aux annonces
166
		if (strstr(BAZ_VOIR_AFFICHER, strval(BAZ_VOIR_S_ABONNER))) {
167
			$GLOBALS['_BAZAR_']['url']->addQueryString(BAZ_VARIABLE_VOIR, BAZ_VOIR_S_ABONNER);
168
			$res .= '<li id="inscrire"';
169
			if (isset($_GET[BAZ_VARIABLE_VOIR]) && $_GET[BAZ_VARIABLE_VOIR]==BAZ_VOIR_S_ABONNER) $res .=' class="onglet_actif" ';
170
			$res .= '><a href="'.$GLOBALS['_BAZAR_']['url']->getURL().'">'.BAZ_S_ABONNER.'</a></li>'."\n" ;
171
			//$GLOBALS['_BAZAR_']['url']->removeQueryString(BAZ_VARIABLE_VOIR);
172
		}
173
 
174
		//partie saisie d'annonces
175
		if (strstr(BAZ_VOIR_AFFICHER, strval(BAZ_VOIR_SAISIR))) {
176
			$GLOBALS['_BAZAR_']['url']->addQueryString(BAZ_VARIABLE_VOIR, BAZ_VOIR_SAISIR);
177
			$res .= '<li id="deposer"';
178
			if (isset($_GET[BAZ_VARIABLE_VOIR]) && ($_GET[BAZ_VARIABLE_VOIR]==BAZ_VOIR_SAISIR )) $res .=' class="onglet_actif" ';
179
			$res .='><a href="'.$GLOBALS['_BAZAR_']['url']->getURL().'">'.BAZ_SAISIR.'</a>'."\n".'</li>'."\n";
180
			//$GLOBALS['_BAZAR_']['url']->removeQueryString(BAZ_VARIABLE_VOIR);
181
		}
182
 
183
		//choix des administrateurs
184
		$utilisateur = new Administrateur_bazar($GLOBALS['AUTH']) ;
185
		$est_admin=0;
186
		if ($GLOBALS['AUTH']->getAuth()) {
187
			$requete='SELECT bn_id_nature FROM bazar_nature';
188
			$resultat = $GLOBALS['_BAZAR_']['db']->query($requete) ;
189
			if (DB::isError($resultat)) {
190
				die ($resultat->getMessage().$resultat->getDebugInfo()) ;
191
			}
192
			while ($ligne = $resultat->fetchRow(DB_FETCHMODE_ASSOC)) {
193
				if ($utilisateur->isAdmin ($ligne['bn_id_nature'])) {
194
					$est_admin=1;
195
			    }
196
			}
197
			if ($est_admin || $utilisateur->isSuperAdmin()) {
198
				//partie administrer
199
				if (strstr(BAZ_VOIR_AFFICHER, strval(BAZ_VOIR_ADMIN))) {
200
					$GLOBALS['_BAZAR_']['url']->addQueryString(BAZ_VARIABLE_VOIR, BAZ_VOIR_ADMIN);
201
					$res .= '<li id="administrer"';
202
					if (isset($_GET[BAZ_VARIABLE_VOIR]) && $_GET[BAZ_VARIABLE_VOIR]==BAZ_VOIR_ADMIN) $res .=' class="onglet_actif" ';
203
					$res .='><a href="'.$GLOBALS['_BAZAR_']['url']->getURL().'">'.BAZ_ADMINISTRER.'</a></li>'."\n";
204
					//$GLOBALS['_BAZAR_']['url']->removeQueryString(BAZ_VARIABLE_VOIR);
205
				}
206
 
207
				if ($utilisateur->isSuperAdmin()) {
208
					if (strstr(BAZ_VOIR_AFFICHER, strval(BAZ_VOIR_GESTION_DROITS))) {
209
						$GLOBALS['_BAZAR_']['url']->addQueryString(BAZ_VARIABLE_VOIR, BAZ_VOIR_GESTION_DROITS);
210
						$res .= '<li id="gerer"';
211
						if (isset($_GET[BAZ_VARIABLE_VOIR]) && $_GET[BAZ_VARIABLE_VOIR]==BAZ_VOIR_GESTION_DROITS) $res .=' class="onglet_actif" ';
212
						$res .='><a href="'.$GLOBALS['_BAZAR_']['url']->getURL().'">'.BAZ_GESTION_DES_DROITS.'</a></li>'."\n" ;
213
						//$GLOBALS['_BAZAR_']['url']->removeQueryString(BAZ_VARIABLE_VOIR);
214
					}
215
				}
216
			}
217
		}
218
		// Au final, on place dans l url, l action courante
219
		if (isset($_GET[BAZ_VARIABLE_VOIR])) $GLOBALS['_BAZAR_']['url']->addQueryString(BAZ_VARIABLE_VOIR, $_GET[BAZ_VARIABLE_VOIR]);
220
		$res.= '</ul>'."\n";
221
	    return $res ;
222
	}
223
}
224
 
225
function afficherContenuCorps() {
226
	$res = '';
227
	$res.='<h1 id="titre_bazar">'.$GLOBALS['_GEN_commun']['info_menu']->gm_titre.'</h1>'."\n";
228
 
229
	// La resolution des actions ci-dessous AVANT l afichage des vues afin
230
	// d afficher des vues correctes
231
 
232
	if (isset($_GET['action'])) {
233
		if (($_GET['action']!=BAZ_ACTION_NOUVEAU_V)and($_GET['action']!=BAZ_ACTION_MODIFIER_V)) unset($_SESSION['formulaire_annonce_valide']);
234
		switch ($_GET['action']) {
235
			case BAZ_ACTION_VOIR_VOS_ANNONCES : $res .= mes_fiches(); break;
236
			//case BAZ_VOIR_TOUTES_ANNONCES : $res .= baz_liste($GLOBALS['_BAZAR_']['id_typeannonce']); break;
237
			//case BAZ_DEPOSER_ANNONCE : $res .= baz_formulaire(BAZ_DEPOSER_ANNONCE); break;
238
			case BAZ_ANNONCES_A_VALIDER : $res .= fiches_a_valider(); break;
239
			case BAZ_ADMINISTRER_ANNONCES : $res .= baz_administrer_annonces(); break;
240
			//case BAZ_MODIFIER_FICHE : $res .= baz_formulaire(BAZ_ACTION_MODIFIER); break;
241
			case BAZ_SUPPRIMER_FICHE : $res .= baz_suppression().baz_liste('',$GLOBALS['id_user'],''); break;
242
			case BAZ_VOIR_FICHE : $res .= baz_voir_fiche(1); break;
243
			//case BAZ_ACTION_NOUVEAU : $res .= baz_formulaire(BAZ_ACTION_NOUVEAU); break;
244
			case BAZ_ACTION_NOUVEAU_V : $res .= baz_formulaire(BAZ_ACTION_NOUVEAU_V).mes_fiches(); break;
245
			//case BAZ_ACTION_MODIFIER : $res .= baz_formulaire(BAZ_ACTION_MODIFIER); break;
327 alexandre_ 246
			//case BAZ_ACTION_MODIFIER_V : $res .= baz_formulaire(BAZ_ACTION_MODIFIER_V).baz_voir_fiche(1); break;
314 alexandre_ 247
			case BAZ_ACTION_SUPPRESSION : $res .= baz_suppression(); unset ($_GET['action']); break;
248
			case BAZ_ACTION_PUBLIER : publier_fiche(1) ; break;
249
			case BAZ_ACTION_PAS_PUBLIER : publier_fiche(0) ;$res .= fiches_a_valider(); break;
250
			//case BAZ_GERER_DROITS : $res .= baz_gestion_droits(); break;
251
			case BAZ_S_INSCRIRE : $res .= baz_s_inscrire(); break;
252
			case BAZ_VOIR_FLUX_RSS : header('Content-type: text/xml; charset=UTF-8');include("bazarRSS.php");exit(0);break;
253
			//default : $res .= baz_liste($GLOBALS['_BAZAR_']['id_typeannonce']) ;
254
		}
255
 
256
	}
257
	if (isset ($_GET[BAZ_VARIABLE_VOIR])) {
258
			switch ($_GET[BAZ_VARIABLE_VOIR]) {
259
				case BAZ_VOIR_CONSULTER:
327 alexandre_ 260
				if (isset ($_GET['action']) && $_GET['action'] != BAZ_VOIR_TOUTES_ANNONCES) {
261
					$res .= baz_formulaire($_GET['action']) ;
262
					if ($_GET['action'] == BAZ_ACTION_MODIFIER_V) $res .= baz_voir_fiche(1);
263
				} else $res .= baz_liste($GLOBALS['_BAZAR_']['id_typeannonce']);
314 alexandre_ 264
				break;
265
				case BAZ_VOIR_MES_FICHES :
266
				if (isset ($_GET['action'])) $res .= baz_formulaire($_GET['action']) ; else $res .= mes_fiches();
267
				break;
268
				case BAZ_VOIR_S_ABONNER : $res .= baz_s_inscrire();
269
				break;
270
				case BAZ_VOIR_SAISIR :
271
				if (isset ($_GET['action'])) $res .= baz_formulaire($_GET['action']) ; else $res .= baz_formulaire(BAZ_DEPOSER_ANNONCE);
272
				break;
273
				case BAZ_VOIR_ADMIN:
274
				if (isset($_GET['action'])) $res .= baz_formulaire($_GET['action']) ; else $res .= fiches_a_valider();
275
				break;
276
				case BAZ_VOIR_GESTION_DROITS: $res .= baz_gestion_droits();
277
				break;
278
				default :
279
				$res .= baz_liste($GLOBALS['_BAZAR_']['id_typeannonce']);
280
			}
281
	}
282
	return $res ;
283
}
284
 
285
 
286
/* +--Fin du code ----------------------------------------------------------------------------------------+
287
*
10 ddelon 288
* $Log: not supported by cvs2svn $
327 alexandre_ 289
* Revision 1.48  2007-10-17 08:24:59  alexandre_tb
290
* correction multilinguisme
291
*
320 alexandre_ 292
* Revision 1.47  2007-10-01 12:13:53  alexandre_tb
293
* bug, affichage vue / action pour la vue "administrer"
294
*
314 alexandre_ 295
* Revision 1.46  2007-09-28 14:29:13  jp_milcent
296
* Ajout de la gestion de l'affichage des vues ou pas.
297
*
305 jp_milcent 298
* Revision 1.45  2007-09-18 14:24:01  alexandre_tb
299
* onglet administrer
300
*
301 alexandre_ 301
* Revision 1.44  2007-09-06 15:39:28  alexandre_tb
302
* fixation d une valeur par defaut a la variable vue pour
303
* eviter un ecran vide si pas de parametres dans le menu
304
*
291 alexandre_ 305
* Revision 1.43  2007-08-27 12:26:04  alexandre_tb
306
* Mise en place de l action BAZ_VOIR_ADMIN
307
*
282 alexandre_ 308
* Revision 1.42  2007-07-05 08:29:24  alexandre_tb
309
* modification du charset iso-8859-1 vers utf8 lors l'envoie des entetes xml.
310
*
277 alexandre_ 311
* Revision 1.41  2007-07-04 10:05:12  alexandre_tb
312
* ajout d une variable $_GET['vue'] en complement de la variable action.
313
* Elle correspond aux 6 vues du bazar (consulter, mes fiches, s'abonner, saisir, administrer, gestion des droits)
314
*
272 alexandre_ 315
* Revision 1.40  2007/04/11 08:30:12  neiluj
316
* remise en état du CVS...
317
*
225 neiluj 318
* Revision 1.35.2.2  2007/03/07 16:53:17  jp_milcent
319
* Suppression du query string "action" et non pas "nature"
221 florian 320
*
185 jp_milcent 321
* Revision 1.35.2.1  2007/02/15 13:42:16  jp_milcent
322
* Utilisation de IN à la place du = dans les requêtes traitant les catégories de fiches.
323
* Permet d'utiliser la syntaxe 1,2,3 dans la configuration de categorie_nature.
324
*
325
* Revision 1.35  2006/10/05 08:53:50  florian
326
* amelioration moteur de recherche, correction de bugs
327
*
154 florian 328
* Revision 1.34  2006/09/04 15:25:12  alexandre_tb
329
* ajout d'un id dans la balise HTML du titre
330
*
145 alexandre_ 331
* Revision 1.33  2006/06/21 15:41:42  alexandre_tb
332
* rétablissement du menu mes fiches
333
*
133 alexandre_ 334
* Revision 1.32  2006/06/21 15:40:15  alexandre_tb
335
* rétablissement du menu mes fiches
336
*
132 alexandre_ 337
* Revision 1.31  2006/05/19 13:54:32  florian
338
* stabilisation du moteur de recherche, corrections bugs, lien recherche avancee
339
*
126 florian 340
* Revision 1.30  2006/04/28 12:46:14  florian
341
* integration des liens vers annuaire
342
*
118 florian 343
* Revision 1.29  2006/04/24 10:16:22  alexandre_tb
344
* ajout de la globale filtre.
345
* elle remplace (à terme) catégorie nature
346
*
117 alexandre_ 347
* Revision 1.28  2006/03/29 13:05:41  alexandre_tb
348
* utilisation de la classe Administrateur_bazar
349
*
111 alexandre_ 350
* Revision 1.27  2006/02/07 11:08:36  alexandre_tb
351
* utilisation de la classe Utilisateur_bazar pour la vérification des droits
352
*
92 alexandre_ 353
* Revision 1.26  2006/02/06 09:33:53  alexandre_tb
354
* modification de l'affichage lors de la saisie de fiche
355
*
90 alexandre_ 356
* Revision 1.25  2006/01/30 17:25:38  alexandre_tb
357
* correction de bugs
358
*
87 alexandre_ 359
* Revision 1.24  2006/01/26 11:06:43  alexandre_tb
360
* ajout d'une requete pour recupere l'id_nature si un id_fiche est passé dans l'url
361
*
84 alexandre_ 362
* Revision 1.23  2006/01/17 10:07:36  alexandre_tb
363
* en cours
364
*
72 alexandre_ 365
* Revision 1.22  2006/01/16 15:11:28  alexandre_tb
366
* simplification code
367
*
71 alexandre_ 368
* Revision 1.21  2006/01/13 14:12:52  florian
369
* utilisation des temlates dans la table bazar_nature
370
*
68 florian 371
* Revision 1.20  2006/01/05 16:28:25  alexandre_tb
372
* prise en chage des checkbox, reste la mise à jour à gérer
373
*
67 alexandre_ 374
* Revision 1.19  2006/01/03 10:19:31  florian
375
* 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...
376
*
64 florian 377
* Revision 1.18  2005/12/02 10:57:03  florian
378
* MAJ pour paramétrage dans gestion de menus papyrus
379
*
59 florian 380
* Revision 1.17  2005/12/01 16:05:41  florian
381
* changement des chemins pour appli Pear
382
*
57 florian 383
* Revision 1.16  2005/12/01 15:31:30  florian
384
* correction bug modifs et saisies
385
*
56 florian 386
* Revision 1.15  2005/11/30 13:58:45  florian
387
* ajouts graphisme (logos, boutons), changement structure SQL bazar_fiche
388
*
55 florian 389
* Revision 1.14  2005/11/24 16:17:13  florian
390
* corrections bugs, ajout des cases à cocher
391
*
54 florian 392
* Revision 1.13  2005/11/14 16:04:54  florian
393
* maj bug affichage flux
394
*
51 florian 395
* Revision 1.12  2005/11/07 17:05:46  florian
396
* amélioration validation conditions de saisie, ajout des règles spécifiques de saisie des formulaires
397
*
45 florian 398
* Revision 1.11  2005/10/21 16:15:04  florian
399
* mise a jour appropriation
400
*
39 florian 401
* Revision 1.10  2005/10/12 17:20:33  ddelon
402
* Reorganisation calendrier + applette
403
*
30 ddelon 404
* Revision 1.9  2005/10/12 13:35:07  florian
405
* amélioration de l'interface de bazar, de manière a simplifier les consultations, et à harmoniser par rapport aux Ressources
406
*
22 florian 407
* Revision 1.8  2005/09/30 13:00:05  ddelon
408
* Fiche bazar generique
409
*
11 ddelon 410
* Revision 1.7  2005/09/30 12:34:44  ddelon
411
* petite modification pour integration bazar dans papyrus
412
*
10 ddelon 413
* Revision 1.6  2005/09/30 12:22:54  florian
414
* Ajouts commentaires pour fiche, modifications graphiques, maj SQL
314 alexandre_ 415
*
416
* Revision 1.4  2005/07/21 19:03:12  florian
417
* nouveautés bazar: templates fiches, correction de bugs, ...
418
*
419
* Revision 1.2  2005/02/22 15:33:32  florian
420
* integration dans Papyrus
421
*
422
* Revision 1.1.1.1  2005/02/17 18:05:11  florian
423
* Import initial de Bazar
424
*
425
* Revision 1.1.1.1  2005/02/17 11:09:50  florian
426
* Import initial
427
*
428
* Revision 1.1.1.1  2005/02/16 18:06:35  florian
429
* import de la nouvelle version
430
*
431
* Revision 1.3  2004/07/05 15:10:14  florian
432
* changement interface de saisie
433
*
434
* Revision 1.2  2004/07/01 10:13:41  florian
435
* modif Florian
436
*
437
* Revision 1.1  2004/06/23 09:58:32  alex
438
* version initiale
439
*
440
* Revision 1.1  2004/06/18 09:00:07  alex
441
* version initiale
442
*
443
*
444
* +-- Fin du code ----------------------------------------------------------------------------------------+
445
*/
446
?>