Subversion Repositories Applications.bazar

Compare Revisions

Regard whitespace Rev 467 → Rev 468

/trunk/bibliotheque/bazar.fonct.cal.php
112,7 → 112,8
}
foreach ($tab_params as $param) {
$tab_parametre = explode('=', $param);
$url->removeQueryString($tab_parametre[0]);
// note d'Aurélien, si on nettoie l'URL on perd la vue en cours
//$url->removeQueryString($tab_parametre[0]);
}
 
if (!isset($_GET['y'])) {
328,8 → 329,6
}
}
}
 
 
// Add the decorator to the selection
foreach ($tablo_jours as $jour) {
$selection[] = $jour['Diary_Event'];
422,11 → 421,17
$evenements_nbre = count($evenements);
$evenemt_xhtml = '';
while ($ligne_evenement = array_pop($evenements)) {
 
$id_fiches = array();
$id_fiches[] = $ligne_evenement->bf_id_fiche;
$url->addQueryString ('id_fiches',$id_fiches);
$link = $url->getUrl();
 
$lien_voir = new Net_Url(BAZ_URL_BASE_APPLI);
$lien_voir->addQueryString(BAZ_VARIABLE_ACTION, BAZ_VOIR_FICHE);
$lien_voir->addQueryString('id_fiche', $ligne_evenement->bf_id_fiche);
$lien_voir->addQueryString('typeannonce', $ligne_evenement->bn_id_nature);
$link=$lien_voir->getURL();
if (!isset($_GET['tt']) || (isset($_GET['tt']) && $_GET['tt'] == '1')) {
$titre_taille = strlen($ligne_evenement->bf_titre);
$titre = ($titre_taille > 20)?substr($ligne_evenement->bf_titre, 0, 20).'...':$ligne_evenement->bf_titre;
482,7 → 487,7
$GLOBALS['_PAPYRUS_']['rendu']['CONTENU_TETE'] = '';
$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_CORPS'] .= baz_voir_fiches(1,$_GET['id_fiches'] );
 
$GLOBALS['_GEN_commun']['info_menu'] = '';