Subversion Repositories Applications.bazar

Rev

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

Rev 321 Rev 323
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.rss.php,v 1.95 2007-10-22 09:22:02 alexandre_tb Exp $
22
// CVS : $Id: bazar.fonct.rss.php,v 1.96 2007-10-22 10:09:21 florian 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-2006
30
*@copyright     Tela-Botanica 2000-2006
31
*@version       $Revision: 1.95 $
31
*@version       $Revision: 1.96 $
32
// +------------------------------------------------------------------------------------------------------+
32
// +------------------------------------------------------------------------------------------------------+
33
*/
33
*/
Line 34... Line 34...
34
 
34
 
35
// +------------------------------------------------------------------------------------------------------+
35
// +------------------------------------------------------------------------------------------------------+
Line 365... Line 365...
365
				$res .= '<span class="BAZ_rubrique BAZ_rubrique_'.$GLOBALS['_BAZAR_']['class'].'" id="date_mise_a_jour">'.BAZ_DATE_MAJ.'</span> '.strftime('%d.%m.%Y %H:%M',strtotime($ligne['bf_date_maj_fiche']))."\n";
365
				$res .= '<span class="BAZ_rubrique BAZ_rubrique_'.$GLOBALS['_BAZAR_']['class'].'" id="date_mise_a_jour">'.BAZ_DATE_MAJ.'</span> '.strftime('%d.%m.%Y %H:%M',strtotime($ligne['bf_date_maj_fiche']))."\n";
366
			}
366
			}
367
			$res .= '</div>'."\n";
367
			$res .= '</div>'."\n";
Line 368... Line 368...
368
			
368
			
369
			if ( $est_admin || $GLOBALS['_BAZAR_']['annonceur']==$GLOBALS['AUTH']->getAuthData(BAZ_CHAMPS_ID) ) {
369
			if ( $est_admin || $GLOBALS['_BAZAR_']['annonceur']==$GLOBALS['AUTH']->getAuthData(BAZ_CHAMPS_ID) ) {
370
				$res .='<div class="BAZ_actions_fiche BAZ_actions_fiche_'.$GLOBALS['_BAZAR_']['class'].'">'."\n";
370
				$res .= '<div class="BAZ_actions_fiche BAZ_actions_fiche_'.$GLOBALS['_BAZAR_']['class'].'">'."\n";
371
				if ( $est_admin ) {
371
				$res .= '<ul>'."\n";
372
					$res .= '<ul>'."\n";
372
				if ( $est_admin ) {					
373
					$lien_publie = &$GLOBALS['_BAZAR_']['url'];
373
					$lien_publie = &$GLOBALS['_BAZAR_']['url'];
374
					$lien_publie->addQueryString('action', BAZ_VOIR_FICHE);
374
					$lien_publie->addQueryString('action', BAZ_VOIR_FICHE);
375
					$lien_publie->addQueryString('id_fiche', $GLOBALS['_BAZAR_']['id_fiche']);
375
					$lien_publie->addQueryString('id_fiche', $GLOBALS['_BAZAR_']['id_fiche']);
376
					$lien_publie->addQueryString('typeannonce', $ligne['bf_ce_nature']);
376
					$lien_publie->addQueryString('typeannonce', $ligne['bf_ce_nature']);
Line 1238... Line 1238...
1238
}
1238
}
Line 1239... Line 1239...
1239
 
1239
 
1240
/* +--Fin du code ----------------------------------------------------------------------------------------+
1240
/* +--Fin du code ----------------------------------------------------------------------------------------+
1241
*
1241
*
-
 
1242
* $Log: not supported by cvs2svn $
-
 
1243
* Revision 1.95  2007-10-22 09:22:02  alexandre_tb
-
 
1244
* prise en compte de la langue dans les requetes sur bazar_nature
1242
* $Log: not supported by cvs2svn $
1245
*
1243
* Revision 1.94  2007-10-10 13:26:00  alexandre_tb
1246
* Revision 1.94  2007-10-10 13:26:00  alexandre_tb
1244
* utilisation de la classe Administrateur_bazar a la place de niveau_droit
1247
* utilisation de la classe Administrateur_bazar a la place de niveau_droit
1245
*
1248
*
1246
* Revision 1.93  2007-10-01 11:59:51  alexandre_tb
1249
* Revision 1.93  2007-10-01 11:59:51  alexandre_tb