Objet : devel-adl
Archives de la liste
- From: thomas AT lolut.utbm.info
- To: devel AT agendadulibre.org
- Subject: [Devel] r83 - trunk
- Date: Sun, 7 Aug 2005 15:12:02 +0200 (CEST)
- List-archive: <http://lolut.utbm.info/pipermail/devel>
- List-id: Developpement de l'Agenda du Libre <devel.agendadulibre.org>
Author: thomas
Date: 2005-08-07 15:12:00 +0200 (Sun, 07 Aug 2005)
New Revision: 83
Modified:
trunk/calendar.css
trunk/funcs.inc.php
Log:
Patch de Maxime Petazzoni qui met en valeur le jour courant.
Modified: trunk/calendar.css
===================================================================
--- trunk/calendar.css 2005-08-05 11:29:10 UTC (rev 82)
+++ trunk/calendar.css 2005-08-07 13:12:00 UTC (rev 83)
@@ -128,6 +128,13 @@
}
/*
+ * These attributes apply to the cell corresponding to the current day
+ */
+td.today {
+ border: 1px #888 solid;
+}
+
+/*
* These attributes apply to the cells that correspond to days in the
* previous or next month of the current month
*/
Modified: trunk/funcs.inc.php
===================================================================
--- trunk/funcs.inc.php 2005-08-05 11:29:10 UTC (rev 82)
+++ trunk/funcs.inc.php 2005-08-07 13:12:00 UTC (rev 83)
@@ -245,13 +245,11 @@
$curtime = mktime (0, 0, 0, $month, $day, $year);
if ($curtime < mktime(0,0,0))
- {
- echo " <td class=\"past_month\"><h1>";
- }
+ echo " <td class=\"past_month\"><h1>";
+ else if($curtime == mktime(0,0,0))
+ echo " <td class=\"current_month today\"><h1>";
else
- {
- echo " <td class=\"current_month\"><h1>";
- }
+ echo " <td class=\"current_month\"><h1>";
echo $day;
echo "</h1>\n";
show_day_events ($db, $day, $month, $year);
- [Devel] r83 - trunk, thomas, 07/08/2005
- Re: [Devel] r83 - trunk, David MENTRE, 09/08/2005
- Re: [Devel] r83 - trunk, Thomas Petazzoni, 09/08/2005
- Re: [Devel] r83 - trunk, David MENTRE, 09/08/2005
- Re: [Devel] r83 - trunk, Thomas Petazzoni, 09/08/2005
- Re: [Devel] r83 - trunk, David MENTRE, 09/08/2005
Archives gérées par MHonArc 2.6.16.