Browse Source

changement dans l'affichage du lieu

master
n0m1s 10 years ago
parent
commit
51dcf8ae12
1 changed files with 3 additions and 4 deletions
  1. +3
    -4
      event.php

+ 3
- 4
event.php View File

@ -34,10 +34,9 @@ $dtend = strtotime($event['event_dtend']);
<h2>Date et lieu</h2>
<div id="dateheure">
<?php echo htmlentities(printableDateTime($dtstart, $dtend)); ?>
</div>
<div id="lieu"><?php echo $event['event_localisation']; ?></div>
<p>
<b><?php echo $event['event_localisation']; ?></b> - <?php echo htmlentities(printableDateTime($dtstart, $dtend)); ?>
</p>
<?php
$url = 'https://nominatim.openstreetmap.org/search?format=json&q='.urlencode($event["event_localisation"]);
$obj = json_decode(file_get_contents($url), true);


Loading…
Cancel
Save