Accéder au contenu.
Menu Sympa

devel - [Devel] r409 - trunk

Objet : devel-adl

Archives de la liste

[Devel] r409 - trunk


Chronologique Discussions 
  • From: svn AT agendadulibre.org
  • To: devel AT agendadulibre.org
  • Subject: [Devel] r409 - trunk
  • Date: Tue, 2 Dec 2008 21:24:20 +0100 (CET)
  • List-archive: <http://agendadulibre.org/pipermail/devel>
  • List-id: Developpement de l'Agenda du Libre <devel.agendadulibre.org>

Author: thomas
Date: Tue Dec 2 21:24:18 2008
New Revision: 409

Log:
Amélioration cosmétique.


Modified:
trunk/map.php
trunk/moderation.php

Modified: trunk/map.php
==============================================================================
--- trunk/map.php (original)
+++ trunk/map.php Tue Dec 2 21:24:18 2008
@@ -55,11 +55,24 @@

map.setCenter (lonLat, zoom);

+/*
var newl = new OpenLayers.Layer.GeoRSS('AdL', '" .
calendar_absolute_url("rss.php?region=all&map=1&daylimit=0") . "');
map.addLayer(newl);

var newl = new OpenLayers.Layer.Text('LUGs', {location: '" .
calendar_absolute_url("lugtextlist.php") . "'});
map.addLayer(newl);
+*/
+
+ var popup = new OpenLayers.Popup('chicken',
+ new OpenLayers.LonLat(46.8, 1).transform(new
OpenLayers.Projection(\"EPSG:4326\"), new
OpenLayers.Projection(\"EPSG:900913\")),
+ new OpenLayers.Size(200, 200),
+ 'plop plop plop',
+ true);
+ map.addPopup(popup);
+
+ var markers = new OpenLayers.Layer.Markers('makers');
+ map.addLayer(markers);
+ markers.addMarker(new OpenLayers.Marker(lonLat));
}

</script>

Modified: trunk/moderation.php
==============================================================================
--- trunk/moderation.php (original)
+++ trunk/moderation.php Tue Dec 2 21:24:18 2008
@@ -82,7 +82,13 @@
echo "<td>" . $date . "</td>\n";
echo "<td>" . stripslashes($row->city) . "</td>\n";
echo "<td>" . stripslashes(region_find($db, $row->region)) . "</td>\n";
- echo "<td>" . $row->waiting_time . " jours</td>\n";
+
+ if ($row->waiting_time == 0)
+ echo "<td>Aujourd'hui</td>\n";
+ else if ($row->waiting_time == 1)
+ echo "<td>Hier</td>\n";
+ else
+ echo "<td>" . $row->waiting_time . " jours</td>\n";
echo "<td>";
echo "<a href=\"editevent.php?id=" . $row->id .
"\">Éditer</a>&nbsp;-&nbsp;";
echo "<a href=\"validateevent.php?id=" . $row->id .
"\">Valider</a>&nbsp;-&nbsp;";




  • [Devel] r409 - trunk, svn, 02/12/2008

Archives gérées par MHonArc 2.6.16.

Haut de le page