Browse Source

http -> https

master
AmarOk 10 years ago
parent
commit
6bb97818f4
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      event.php

+ 2
- 2
event.php View File

@ -40,7 +40,7 @@ $dtend = strtotime($event['event_dtend']);
$obj = json_decode(file_get_contents($url), true); $obj = json_decode(file_get_contents($url), true);
$lat = $obj[0]["lat"]; $lat = $obj[0]["lat"];
$lng = $obj[0]["lon"]; $lng = $obj[0]["lon"];
$urlFrame = 'http://www.openstreetmap.org/export/embed.html?bbox='.$lng.','.$lat.','.$lng.','.$lat.'&layer=mapnik&floor';
$urlFrame = 'https://www.openstreetmap.org/export/embed.html?bbox='.$lng.','.$lat.','.$lng.','.$lat.'&layer=mapnik&floor';
echo '<iframe frameborder="0" scrolling="no" echo '<iframe frameborder="0" scrolling="no"
marginheight="0" marginwidth="0" marginheight="0" marginwidth="0"
src="'.$urlFrame.'" style="width:100%;height:500px;margin-bottom:-30px;"></iframe>'; src="'.$urlFrame.'" style="width:100%;height:500px;margin-bottom:-30px;"></iframe>';
@ -62,7 +62,7 @@ $dtend = strtotime($event['event_dtend']);
</div> </div>
<!-- bring in the google maps library --> <!-- bring in the google maps library -->
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
<script type="text/javascript" src="https://maps.google.com/maps/api/js?sensor=false"></script>
</body> </body>
</html> </html>

Loading…
Cancel
Save