Accéder au contenu.
Menu Sympa

devel - [Devel] r459 - trunk

Objet : devel-adl

Archives de la liste

[Devel] r459 - trunk


Chronologique Discussions 
  • From: svn AT agendadulibre.org
  • To: devel AT agendadulibre.org
  • Subject: [Devel] r459 - trunk
  • Date: Sun, 21 Feb 2010 11:28:56 +0100 (CET)
  • List-archive: <http://agendadulibre.org/pipermail/devel>
  • List-id: Developpement de l'Agenda du Libre <devel.agendadulibre.org>

Author: thomas
Date: Sun Feb 21 11:28:53 2010
New Revision: 459

Log:
Libre en Fête 2010

Modified:
trunk/funcs.inc.php
trunk/showevent.php

Modified: trunk/funcs.inc.php
==============================================================================
--- trunk/funcs.inc.php Thu Feb 11 23:28:20 2010 (r458)
+++ trunk/funcs.inc.php Sun Feb 21 11:28:53 2010 (r459)
@@ -339,19 +339,26 @@
echo "</a>";
}

- if ($year == 2008 && $month == 3 && $day >= 16 && $day <= 31)
+ else if ($year == 2008 && $month == 3 && $day >= 16 && $day <= 31)
{
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 2008\"/>";
echo "</a>";
}

- if ($year == 2009 && $month == 3 && $day >= 14 && $day <= 29)
+ else 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>";
}
+
+ else if ($year == 2010 && $month == 3 && $day >= 13 && $day <= 28)
+ {
+ 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 2010\"/>";
+ echo "</a>";
+ }
}

function calendar($db, $month, $year, $region)

Modified: trunk/showevent.php
==============================================================================
--- trunk/showevent.php Thu Feb 11 23:28:20 2010 (r458)
+++ trunk/showevent.php Sun Feb 21 11:28:53 2010 (r459)
@@ -81,7 +81,7 @@
echo "</p>";
}

-if (in_array("libre-en-fete-2008", split(" ", $event->tags)))
+else if (in_array("libre-en-fete-2008", split(" ", $event->tags)))
{
echo "<hr/>";
echo "<h1>Libre en Fête 2008</h1>";
@@ -93,7 +93,7 @@
echo "</p>";
}

-if (in_array("libre-en-fete-2009", split(" ", $event->tags)))
+else if (in_array("libre-en-fete-2009", split(" ", $event->tags)))
{
echo "<h1>Libre en Fête 2009</h1>";
echo "<p>";
@@ -101,6 +101,14 @@
echo "</p>";
}

+else if (in_array("libre-en-fete-2010", split(" ", $event->tags)))
+{
+ echo "<h1>Libre en Fête 2010</h1>";
+ echo "<p>";
+ echo "Cet évènement s'inscrit dans le cadre de la dixième édition du <a
href=\"http://www.libre-en-fete.net\";>Libre en Fête</a>.";
+ echo "</p>";
+}
+
echo "<h1>Actions</h1>";
echo "<a href=\"icalevent.php?id=" . $event_id . "\">Ajouter à mon
calendrier</a><br/>";





  • [Devel] r459 - trunk, svn, 21/02/2010

Archives gérées par MHonArc 2.6.16.

Haut de le page