Subversion Repositories Applications.bazar

Rev

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

Rev 129 Rev 131
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.fonct.php,v 1.49 2006-06-02 09:29:07 florian Exp $
22
// CVS : $Id: bazar.fonct.php,v 1.50 2006-06-21 08:37:59 alexandre_tb Exp $
23
/**
23
/**
24
*
24
*
25
* Fonctions du module bazar
25
* Fonctions du module bazar
26
* 
26
* 
27
*
27
*
Line 29... Line 29...
29
//Auteur original :
29
//Auteur original :
30
*@author        Alexandre Granier <alexandre@tela-botanica.org>
30
*@author        Alexandre Granier <alexandre@tela-botanica.org>
31
*@author        Florian Schmitt <florian@ecole-et-nature.org>
31
*@author        Florian Schmitt <florian@ecole-et-nature.org>
32
//Autres auteurs :
32
//Autres auteurs :
33
*@copyright     Tela-Botanica 2000-2004
33
*@copyright     Tela-Botanica 2000-2004
34
*@version       $Revision: 1.49 $ $Date: 2006-06-02 09:29:07 $
34
*@version       $Revision: 1.50 $ $Date: 2006-06-21 08:37:59 $
35
// +------------------------------------------------------------------------------------------------------+
35
// +------------------------------------------------------------------------------------------------------+
36
*/
36
*/
Line 37... Line 37...
37
 
37
 
38
// +------------------------------------------------------------------------------------------------------+
38
// +------------------------------------------------------------------------------------------------------+
Line 485... Line 485...
485
					$droitspers=niveau_droit($ligne["bn_id_nature"],$GLOBALS["id_user"]);
485
					$droitspers=niveau_droit($ligne["bn_id_nature"],$GLOBALS["id_user"]);
486
					if (($droitspers=='redacteur') or ($droitspers=='administrateur') 
486
					if (($droitspers=='redacteur') or ($droitspers=='administrateur') 
487
									or ($droitspers=='superadministrateur' or !BAZ_RESTREINDRE_DEPOT)) {
487
									or ($droitspers=='superadministrateur' or !BAZ_RESTREINDRE_DEPOT)) {
488
						if ($ligne['bn_image_titre']!='') {
488
						if ($ligne['bn_image_titre']!='') {
489
							$titre='&nbsp;<img src="client/bazar/images/'.$ligne['bn_image_titre'].'" alt="'.
489
							$titre='&nbsp;<img src="client/bazar/images/'.$ligne['bn_image_titre'].'" alt="'.
490
											constant($ligne['bn_label_nature']).'" />'.'<br />'."\n";
490
											$ligne['bn_label_nature'].'" />'.'<br />'."\n";
491
						} else {
491
						} else {
492
							$titre='<h3>'.$ligne['bn_label_nature'].' : </h3>'."\n";
492
							$titre='<h3>'.$ligne['bn_label_nature'].' : </h3>'."\n";
493
						}
493
						}
494
						$formtemplate->addElement('radio', 'typeannonce', '', 
494
						$formtemplate->addElement('radio', 'typeannonce', '', 
495
								$titre.$ligne['bn_description'].'<br /><br />'."\n", 
495
								$titre.$ligne['bn_description'].'<br /><br />'."\n", 
Line 1203... Line 1203...
1203
}
1203
}
Line 1204... Line 1204...
1204
 
1204
 
1205
/* +--Fin du code ----------------------------------------------------------------------------------------+
1205
/* +--Fin du code ----------------------------------------------------------------------------------------+
1206
*
1206
*
-
 
1207
* $Log: not supported by cvs2svn $
-
 
1208
* Revision 1.49  2006/06/02 09:29:07  florian
-
 
1209
* debut d'integration de wikini
1207
* $Log: not supported by cvs2svn $
1210
*
1208
* Revision 1.48  2006/05/19 13:54:11  florian
1211
* Revision 1.48  2006/05/19 13:54:11  florian
1209
* stabilisation du moteur de recherche, corrections bugs, lien recherche avancee
1212
* stabilisation du moteur de recherche, corrections bugs, lien recherche avancee
1210
*
1213
*
1211
* Revision 1.47  2006/04/28 12:46:14  florian
1214
* Revision 1.47  2006/04/28 12:46:14  florian