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.25 2007-11-20 10:27:28 alexandre_tb Exp $
|
22 |
// CVS : $Id: bazar.fonct.cal.php,v 1.26 2008-03-13 17:42:10 jp_milcent 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.25 $ $Date: 2007-11-20 10:27:28 $
|
32 |
*@version $Revision: 1.26 $ $Date: 2008-03-13 17:42:10 $
|
33 |
// +------------------------------------------------------------------------------------------------------+
|
33 |
// +------------------------------------------------------------------------------------------------------+
|
34 |
*/
|
34 |
*/
|
Line 35... |
Line 35... |
35 |
|
35 |
|
36 |
// +------------------------------------------------------------------------------------------------------+
|
36 |
// +------------------------------------------------------------------------------------------------------+
|
Line 274... |
Line 274... |
274 |
$naviguer = false;
|
274 |
$naviguer = false;
|
275 |
}
|
275 |
}
|
276 |
}
|
276 |
}
|
277 |
} else {
|
277 |
} else {
|
278 |
$curday_ymd = $annee.$mois.$ligne_evenements->bf_jour_debut_evenement;
|
278 |
$curday_ymd = $annee.$mois.$ligne_evenements->bf_jour_debut_evenement;
|
279 |
$cle_j = $annee.'-'.$mois.'-'.$ligne_evenements->bf_jour_debut_evenement;
|
279 |
$cle_j = $annee.'-'.$mois.'-'.sprintf('%02s', $ligne_evenements->bf_jour_debut_evenement);
|
280 |
if (!isset($tablo_jours[$cle_j])) {
|
280 |
if (!isset($tablo_jours[$cle_j])) {
|
281 |
$tablo_jours[$cle_j]['Calendar_Day'] = new Calendar_Day($annee, $mois, $ligne_evenements->bf_jour_debut_evenement);
|
281 |
$tablo_jours[$cle_j]['Calendar_Day'] = new Calendar_Day($annee, $mois, $ligne_evenements->bf_jour_debut_evenement);
|
282 |
$tablo_jours[$cle_j]['Diary_Event'] = new DiaryEvent($tablo_jours[$cle_j]['Calendar_Day']);
|
282 |
$tablo_jours[$cle_j]['Diary_Event'] = new DiaryEvent($tablo_jours[$cle_j]['Calendar_Day']);
|
283 |
}
|
283 |
}
|
284 |
$tablo_jours[$cle_j]['Diary_Event']->setEntry($ligne_evenements);
|
284 |
$tablo_jours[$cle_j]['Diary_Event']->setEntry($ligne_evenements);
|