Subversion Repositories Applications.bazar

Rev

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

Rev 78 Rev 85
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.cal.php,v 1.6 2006-01-18 16:02:21 alexandre_tb Exp $
22
// CVS : $Id: bazar.fonct.cal.php,v 1.7 2006-01-26 17:29:44 alexandre_tb Exp $
23
/**
23
/**
24
*
24
*
25
* Fonctions calendrier du module bazar
25
* Fonctions calendrier du module bazar
26
*
26
*
27
*@package bazar
27
*@package bazar
28
//Auteur original :
28
//Auteur original :
29
*@author        David Delon <david.delon@clapas.net>
29
*@author        David Delon <david.delon@clapas.net>
30
//Autres auteurs :
30
//Autres auteurs :
31
*@copyright     Tela-Botanica 2000-2004
31
*@copyright     Tela-Botanica 2000-2004
32
*@version       $Revision: 1.6 $ $Date: 2006-01-18 16:02:21 $
32
*@version       $Revision: 1.7 $ $Date: 2006-01-26 17:29:44 $
33
// +------------------------------------------------------------------------------------------------------+
33
// +------------------------------------------------------------------------------------------------------+
34
*/
34
*/
Line 35... Line 35...
35
 
35
 
36
// +------------------------------------------------------------------------------------------------------+
36
// +------------------------------------------------------------------------------------------------------+
Line 286... Line 286...
286
		}
286
		}
Line 287... Line 287...
287
		
287
		
Line 288... Line 288...
288
		// Vue detail
288
		// Vue detail
-
 
289
		
-
 
290
		if ((isset($_GET['id_fiches']))) {
-
 
291
				// Ajout des styles du bazar
-
 
292
				if (defined('PAP_VERSION')) { //si on est dans Papyrus
-
 
293
					GEN_stockerStyleExterne( 'bazar_interne', 'client/bazar/bazar.interne.css');
-
 
294
				}
-
 
295
			
-
 
296
				// Ajout d'un titre pour la page avec la date
-
 
297
				$jours = array ('lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi', 'dimanche') ;
-
 
298
				$mois = array ('janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre',
-
 
299
								'octobre', 'novembre', 'décembre') ;
-
 
300
				$timestamp = strtotime ($_GET['y'].'/'.$_GET['m'].'/'.$_GET['d']) ;
289
		
301
				$GLOBALS['_PAPYRUS_']['rendu']['CONTENU_CORPS'] = '<h1>'.$jours[date('w', $timestamp)].
290
		if ((isset($_GET['id_fiches']))) {
302
								' '.$_GET['d'].' '.$mois[$_GET['m']].' '.$_GET['y'].'</h1>' ;
Line 291... Line 303...
291
				$GLOBALS['_PAPYRUS_']['rendu']['CONTENU_CORPS'] = baz_voir_fiches(0,$_GET['id_fiches'] );
303
				$GLOBALS['_PAPYRUS_']['rendu']['CONTENU_CORPS'] .= baz_voir_fiches(0,$_GET['id_fiches'] );
Line 292... Line 304...
292
		}
304
		}