Merge pull request #143 from mikeage/exif_gps_via_https
Replace http:// links with protocol relative links.
This commit is contained in:
commit
321038bc4f
|
@ -1,5 +1,5 @@
|
|||
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
||||
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
|
||||
<script type="text/javascript" src="//www.google.com/jsapi"></script>
|
||||
<script type="text/javascript">
|
||||
<?
|
||||
if (module::get_var("exif_gps", "googlemap_api_key", "") != "") {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
||||
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
|
||||
<script type="text/javascript" src="//www.google.com/jsapi"></script>
|
||||
<script type="text/javascript">
|
||||
<?
|
||||
if (module::get_var("exif_gps", "googlemap_api_key", "") != "") {
|
||||
|
|
|
@ -5,4 +5,4 @@
|
|||
$map_api_key = "&key=" . module::get_var("exif_gps", "googlemap_api_key");
|
||||
}
|
||||
?>
|
||||
<img src="http://maps.google.com/maps/api/staticmap?center=<?=$latitude; ?>,<?=$longitude; ?>&zoom=<?= module::get_var("exif_gps", "sidebar_zoom"); ?>&size=205x214&maptype=<?=$sidebar_map_type ?>&markers=color:red|color:red|<?=$latitude; ?>,<?=$longitude; ?><?= $map_api_key; ?>&sensor=false">
|
||||
<img src="//maps.google.com/maps/api/staticmap?center=<?=$latitude; ?>,<?=$longitude; ?>&zoom=<?= module::get_var("exif_gps", "sidebar_zoom"); ?>&size=205x214&maptype=<?=$sidebar_map_type ?>&markers=color:red|color:red|<?=$latitude; ?>,<?=$longitude; ?><?= $map_api_key; ?>&sensor=false">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
||||
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
|
||||
<script type="text/javascript" src="//www.google.com/jsapi"></script>
|
||||
<script type="text/javascript">
|
||||
<?
|
||||
if (module::get_var("exif_gps", "googlemap_api_key", "") != "") {
|
||||
|
|
Reference in New Issue
Block a user