19,7 → 19,7 |
// | License along with this library; if not, write to the Free Software | |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
// +------------------------------------------------------------------------------------------------------+ |
// CVS : $Id: bazar.fonct.cal.php,v 1.23 2007-09-06 12:49:51 alexandre_tb Exp $ |
// CVS : $Id: bazar.fonct.cal.php,v 1.24 2007-09-18 07:36:32 alexandre_tb Exp $ |
/** |
* |
* Fonctions calendrier du module bazar |
29,7 → 29,7 |
*@author David Delon <david.delon@clapas.net> |
//Autres auteurs : |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.23 $ $Date: 2007-09-06 12:49:51 $ |
*@version $Revision: 1.24 $ $Date: 2007-09-18 07:36:32 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
393,7 → 393,7 |
} |
} |
} else { |
$lien_date= "<td class=\"".$class."\">".$day->thisDay()."\n"; |
$lien_date= "<td class=\"".$class."\">".$day->thisDay(); |
if ($day->isSelected() ) { |
$evenements=$day->getEntry(); |
$id_fiches=array(); |
431,8 → 431,15 |
$GLOBALS['_PAPYRUS_']['rendu']['CONTENU_CORPS'] = '<h1>'.$jours[date('w', $timestamp)]. |
' '.$_GET['d'].' '.$mois[$_GET['m']-1].' '.$_GET['y'].'</h1>' ; |
$GLOBALS['_PAPYRUS_']['rendu']['CONTENU_CORPS'] .= baz_voir_fiches(0,$_GET['id_fiches'] ); |
$GLOBALS['_PAPYRUS_']['rendu']['CONTENU_PIED'] = ''; |
|
$GLOBALS['_GEN_commun']['info_menu'] = ''; |
|
// Un lien pour retourner au calendrier |
$url->removeQueryString('id_fiches'); |
$url->removeQueryString('y'); |
$url->removeQueryString('m'); |
$url->removeQueryString('d'); |
$GLOBALS['_PAPYRUS_']['rendu']['CONTENU_PIED'] = '<div class="retour"><a href="'.$url->getURL().'">Retour au calendrier</a></div>'; |
} |
|
// Nettoyage de l'url |
440,7 → 447,8 |
$url->removeQueryString('y'); |
$url->removeQueryString('m'); |
$url->removeQueryString('d'); |
|
|
|
return $retour; |
} |
?> |