Subversion Repositories Applications.bazar

Rev

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

Rev 290 Rev 297
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.23 2007-09-06 12:49:51 alexandre_tb Exp $
22
// CVS : $Id: bazar.fonct.cal.php,v 1.24 2007-09-18 07:36:32 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.23 $ $Date: 2007-09-06 12:49:51 $
32
*@version       $Revision: 1.24 $ $Date: 2007-09-18 07:36:32 $
33
// +------------------------------------------------------------------------------------------------------+
33
// +------------------------------------------------------------------------------------------------------+
34
*/
34
*/
Line 35... Line 35...
35
 
35
 
36
// +------------------------------------------------------------------------------------------------------+
36
// +------------------------------------------------------------------------------------------------------+
Line 391... Line 391...
391
						$retour .= $evenemt_xhtml;
391
						$retour .= $evenemt_xhtml;
392
						$retour .= '</ul>';
392
						$retour .= '</ul>';
393
					}
393
					}
394
				}
394
				}
395
			} else {
395
			} else {
396
				$lien_date= "<td class=\"".$class."\">".$day->thisDay()."\n";
396
				$lien_date= "<td class=\"".$class."\">".$day->thisDay();
397
				if ($day->isSelected() ) {
397
				if ($day->isSelected() ) {
398
					$evenements=$day->getEntry();
398
					$evenements=$day->getEntry();
399
					$id_fiches=array();
399
					$id_fiches=array();
400
					while ($ligne_evenement=array_pop($evenements)) {
400
					while ($ligne_evenement=array_pop($evenements)) {
401
						$id_fiches[]=$ligne_evenement->bf_id_fiche;
401
						$id_fiches[]=$ligne_evenement->bf_id_fiche;
Line 429... Line 429...
429
		$GLOBALS['_PAPYRUS_']['rendu']['CONTENU_NAVIGATION'] = '';
429
		$GLOBALS['_PAPYRUS_']['rendu']['CONTENU_NAVIGATION'] = '';
430
		$GLOBALS['_PAPYRUS_']['rendu']['CONTENU_TETE'] = '';
430
		$GLOBALS['_PAPYRUS_']['rendu']['CONTENU_TETE'] = '';
431
		$GLOBALS['_PAPYRUS_']['rendu']['CONTENU_CORPS'] = '<h1>'.$jours[date('w', $timestamp)].
431
		$GLOBALS['_PAPYRUS_']['rendu']['CONTENU_CORPS'] = '<h1>'.$jours[date('w', $timestamp)].
432
						' '.$_GET['d'].' '.$mois[$_GET['m']-1].' '.$_GET['y'].'</h1>' ;
432
						' '.$_GET['d'].' '.$mois[$_GET['m']-1].' '.$_GET['y'].'</h1>' ;
433
		$GLOBALS['_PAPYRUS_']['rendu']['CONTENU_CORPS'] .= baz_voir_fiches(0,$_GET['id_fiches'] );
433
		$GLOBALS['_PAPYRUS_']['rendu']['CONTENU_CORPS'] .= baz_voir_fiches(0,$_GET['id_fiches'] );
434
		$GLOBALS['_PAPYRUS_']['rendu']['CONTENU_PIED'] = '';
-
 
-
 
434
 
435
		$GLOBALS['_GEN_commun']['info_menu'] = '';
435
		$GLOBALS['_GEN_commun']['info_menu'] = '';
-
 
436
		
-
 
437
		// Un lien pour retourner au calendrier
-
 
438
		$url->removeQueryString('id_fiches');
-
 
439
		$url->removeQueryString('y');
-
 
440
		$url->removeQueryString('m');
-
 
441
		$url->removeQueryString('d');
-
 
442
		$GLOBALS['_PAPYRUS_']['rendu']['CONTENU_PIED'] = '<div class="retour"><a href="'.$url->getURL().'">Retour au calendrier</a></div>';
436
	}
443
	}
Line 437... Line 444...
437
 
444
 
438
	// Nettoyage de l'url
445
	// Nettoyage de l'url
439
	$url->removeQueryString('id_fiches');
446
	$url->removeQueryString('id_fiches');
440
	$url->removeQueryString('y');
447
	$url->removeQueryString('y');
441
	$url->removeQueryString('m');
448
	$url->removeQueryString('m');
-
 
449
	$url->removeQueryString('d');
442
	$url->removeQueryString('d');
450
	
443
		
451
	
444
	return $retour;
452
	return $retour;
445
}
453
}
446
?>
454
?>