From 1b0734382a946dd91bd3dbfd2c4b42beab77a96c Mon Sep 17 00:00:00 2001 From: Jan-Tarek Butt Date: Sat, 4 Aug 2018 21:53:19 +0200 Subject: [PATCH] gluon-config-mode-geo-location-with-map: add copyright link and use SSL links --- docs/package/gluon-config-mode-geo-location.rst | 2 +- .../src/0400-geo-location.lua.in | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/package/gluon-config-mode-geo-location.rst b/docs/package/gluon-config-mode-geo-location.rst index 6ca99850..ea55e1f7 100644 --- a/docs/package/gluon-config-mode-geo-location.rst +++ b/docs/package/gluon-config-mode-geo-location.rst @@ -55,7 +55,7 @@ config_mode.geo_location.map.zoom \: optional config_mode.geo_location.map.openlayers_js_url \: optional - ``url`` set an URL for OpenStreetMap layers. - - defaults to ``http://dev.openlayers.org/OpenLayers.js`` + - defaults to ``https://openlayers.org/api/OpenLayers.js`` Example:: diff --git a/package/gluon-config-mode-geo-location/src/0400-geo-location.lua.in b/package/gluon-config-mode-geo-location/src/0400-geo-location.lua.in index 9163a77c..65e1c41c 100644 --- a/package/gluon-config-mode-geo-location/src/0400-geo-location.lua.in +++ b/package/gluon-config-mode-geo-location/src/0400-geo-location.lua.in @@ -32,7 +32,7 @@ return function(form, uci) end local function show_olurl() - return site.config_mode.geo_location.map.openlayers_js_url('http://dev.openlayers.org/OpenLayers.js') + return site.config_mode.geo_location.map.openlayers_js_url('https://openlayers.org/api/OpenLayers.js') end #endif @@ -63,7 +63,11 @@ return function(form, uci) text = text .. [[ - +