Update of /home/spip-cvs/spip/ecrire
In directory alan:/tmp/cvs-serv14623/ecrire
Modified Files:
inc_presentation.php3
Log Message:
réécriture pour conformité avec les nouvelles interfaces des calendriers
Index: inc_presentation.php3
RCS file: /home/spip-cvs/spip/ecrire/inc_presentation.php3,v
retrieving revision 1.403
retrieving revision 1.404
diff -u -d -r1.403 -r1.404
--- inc_presentation.php3 12 Jul 2004 13:29:10 -0000 1.403
+++ inc_presentation.php3 13 Jul 2004 12:35:59 -0000 1.404
@@ -7,6 +7,9 @@
include_ecrire ("inc_lang.php3");
utiliser_langue_visiteur();
+include_ecrire ("Include/PHP4/calendrier.php");
+include_ecrire ("Include/MySQL3/calendrier.php");
+include_ecrire ("Include/HTML4/calendrier.php");
//
@@ -2411,12 +2414,11 @@
echo "<div id='bandeauagenda' class='bandeau_couleur_sous' style='width: $largeur; $spip_lang_left: 100px;'>";
echo _T('icone_agenda');
- include_ecrire("inc_agenda.php3");
echo "<table><tr>";
echo "<td valign='top' width='200'>";
echo "<div>";
- agenda ($mois_today, $annee_today, $jour_today, $mois_today, $annee_today);
+ echo http_calendrier_agenda($mois_today, $annee_today, $jour_today, $mois_today, $annee_today);
echo "</div>";
echo "</td>";
if ($afficher_cal) {
@@ -2424,7 +2426,9 @@
echo "<td valign='top' width='200'>";
echo "<div> </div>";
echo "<div style='color: black;'>";
- afficher_taches();
+ echo http_calendrier_rv(sql_calendrier_taches_annonces(),"annonces");
+ echo http_calendrier_rv(sql_calendrier_taches_pb(),"pb");
+ echo http_calendrier_rv(sql_calendrier_taches_rv(), "rv");
echo "</div>";
echo "</td>";
}