[Devel] r425 - trunk

svn at agendadulibre.org svn at agendadulibre.org
Lun 23 Fév 22:29:52 CET 2009


Author: thomas
Date: Mon Feb 23 22:29:52 2009
New Revision: 425

Log:
Petite icône Libre en Fête dans le calendrier

Modified:
   trunk/funcs.inc.php

Modified: trunk/funcs.inc.php
==============================================================================
--- trunk/funcs.inc.php	Mon Feb 23 22:27:41 2009	(r424)
+++ trunk/funcs.inc.php	Mon Feb 23 22:29:52 2009	(r425)
@@ -336,6 +336,13 @@
       echo "<img title=\"Libre en F&ecirc;te\" src=\"lef-2007-small.png\" style=\"float: right; border: 0;\" alt=\"Libre en Fête 2008\"/>";
       echo "</a>";
     }
+
+  if ($year == 2009 && $month == 3 && $day >= 14 && $day <= 29)
+    {
+      echo "<a href=\"http://www.libre-en-fete.net\">";
+      echo "<img title=\"Libre en F&ecirc;te\" src=\"lef-2007-small.png\" style=\"float: right; border: 0;\" alt=\"Libre en Fête 2009\"/>";
+      echo "</a>";
+    }
 }
 
 function calendar($db, $month, $year, $region)


Plus d'informations sur la liste de diffusion Devel