Project

General

Profile

« Previous | Next » 

Revision f5988fd1

IDf5988fd1b36de5f3f4b15e0a4836c72d649e03cd
Parent f576f563

Added by Jocelyn Dealande almost 6 years ago

made resources URLs protocol-agnostic, to avoid failure on loading HTTP resources on HTTPS web page

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences

Changesets

show_capline.php
1
<?php 
1
<?php
2 2
require_once('class/FormValidator.class.php');
3 3

  
4 4
$fields_spec = array(
......
33 33
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
34 34
  <link type="image/x-icon" rel="shortcut icon" href="images/tsf.png"/>
35 35
  <link rel="stylesheet" type="text/css" href="css/layers.css" />
36
  <link rel="stylesheet" type="text/css" href="http://dev.openlayers.org/releases/OpenLayers-2.13.1/theme/default/style.css" />
36
  <link rel="stylesheet" type="text/css" href="//dev.openlayers.org/releases/OpenLayers-2.13.1/theme/default/style.css" />
37 37
  <link rel="stylesheet" type="text/css" href="css/olmap.css" />
38 38

  
39 39
<?php
......
57 57
}
58 58
if ($complete) {
59 59
  echo <<< EOS
60
<script src="http://maps.google.com/maps/api/js?v=3&amp;sensor=false"></script>
61
<script src="http://openlayers.org/api/OpenLayers.js"></script>
60
<script src="//maps.google.com/maps/api/js?v=3&amp;sensor=false"></script>
61
<script src="//openlayers.org/api/OpenLayers.js"></script>
62 62
<script>
63 63
  var get_lon_lat = false;
64 64
  var scale_line = true;