* NGG gallery is working
* Getting HR, Cad and Temp working again (thanks to cyclinggeorgian) * Fix javascript errors * Fix multiple traks gpx
This commit is contained in:
parent
f6a747d503
commit
15ad51122d
|
@ -0,0 +1,27 @@
|
|||
.leaflet-marker-photo {
|
||||
border: 2px solid #fff;
|
||||
box-shadow: 3px 3px 10px #888;
|
||||
}
|
||||
|
||||
.leaflet-marker-photo div {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-size: cover;
|
||||
background-position: center center;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.leaflet-marker-photo b {
|
||||
position: absolute;
|
||||
top: -7px;
|
||||
right: -11px;
|
||||
color: #555;
|
||||
background-color: #fff;
|
||||
border-radius: 8px;
|
||||
height: 12px;
|
||||
min-width: 12px;
|
||||
line-height: 12px;
|
||||
text-align: center;
|
||||
padding: 3px;
|
||||
box-shadow: 0 3px 14px rgba(0,0,0,0.4);
|
||||
}
|
|
@ -0,0 +1,83 @@
|
|||
L.Photo = L.FeatureGroup.extend({
|
||||
options: {
|
||||
icon: {
|
||||
iconSize: [40, 40]
|
||||
}
|
||||
},
|
||||
|
||||
initialize: function (photos, options) {
|
||||
L.setOptions(this, options);
|
||||
L.FeatureGroup.prototype.initialize.call(this, photos);
|
||||
},
|
||||
|
||||
addLayers: function (photos) {
|
||||
if (photos) {
|
||||
for (var i = 0, len = photos.length; i < len; i++) {
|
||||
this.addLayer(photos[i]);
|
||||
}
|
||||
}
|
||||
return this;
|
||||
},
|
||||
|
||||
addLayer: function (photo) {
|
||||
L.FeatureGroup.prototype.addLayer.call(this, this.createMarker(photo));
|
||||
},
|
||||
|
||||
createMarker: function (photo) {
|
||||
var marker = L.marker(photo, {
|
||||
icon: L.divIcon(L.extend({
|
||||
html: '<div style="background-image: url(' + photo.thumbnail + ');"></div>',
|
||||
className: 'leaflet-marker-photo'
|
||||
}, photo, this.options.icon)),
|
||||
title: photo.caption || ''
|
||||
});
|
||||
marker.photo = photo;
|
||||
return marker;
|
||||
}
|
||||
});
|
||||
|
||||
L.photo = function (photos, options) {
|
||||
return new L.Photo(photos, options);
|
||||
};
|
||||
|
||||
if (L.MarkerClusterGroup) {
|
||||
|
||||
L.Photo.Cluster = L.MarkerClusterGroup.extend({
|
||||
options: {
|
||||
featureGroup: L.photo,
|
||||
maxClusterRadius: 100,
|
||||
showCoverageOnHover: false,
|
||||
iconCreateFunction: function(cluster) {
|
||||
return new L.DivIcon(L.extend({
|
||||
className: 'leaflet-marker-photo',
|
||||
html: '<div style="background-image: url(' + cluster.getAllChildMarkers()[0].photo.thumbnail + ');"></div><b>' + cluster.getChildCount() + '</b>'
|
||||
}, this.icon));
|
||||
},
|
||||
icon: {
|
||||
iconSize: [40, 40]
|
||||
}
|
||||
},
|
||||
|
||||
initialize: function (options) {
|
||||
options = L.Util.setOptions(this, options);
|
||||
L.MarkerClusterGroup.prototype.initialize.call(this);
|
||||
this._photos = options.featureGroup(null, options);
|
||||
},
|
||||
|
||||
add: function (photos) {
|
||||
this.addLayer(this._photos.addLayers(photos));
|
||||
return this;
|
||||
},
|
||||
|
||||
clear: function () {
|
||||
this._photos.clearLayers();
|
||||
this.clearLayers();
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
L.photo.cluster = function (options) {
|
||||
return new L.Photo.Cluster(options);
|
||||
};
|
||||
|
||||
}
|
|
@ -0,0 +1,60 @@
|
|||
.marker-cluster-small {
|
||||
background-color: rgba(181, 226, 140, 0.6);
|
||||
}
|
||||
.marker-cluster-small div {
|
||||
background-color: rgba(110, 204, 57, 0.6);
|
||||
}
|
||||
|
||||
.marker-cluster-medium {
|
||||
background-color: rgba(241, 211, 87, 0.6);
|
||||
}
|
||||
.marker-cluster-medium div {
|
||||
background-color: rgba(240, 194, 12, 0.6);
|
||||
}
|
||||
|
||||
.marker-cluster-large {
|
||||
background-color: rgba(253, 156, 115, 0.6);
|
||||
}
|
||||
.marker-cluster-large div {
|
||||
background-color: rgba(241, 128, 23, 0.6);
|
||||
}
|
||||
|
||||
/* IE 6-8 fallback colors */
|
||||
.leaflet-oldie .marker-cluster-small {
|
||||
background-color: rgb(181, 226, 140);
|
||||
}
|
||||
.leaflet-oldie .marker-cluster-small div {
|
||||
background-color: rgb(110, 204, 57);
|
||||
}
|
||||
|
||||
.leaflet-oldie .marker-cluster-medium {
|
||||
background-color: rgb(241, 211, 87);
|
||||
}
|
||||
.leaflet-oldie .marker-cluster-medium div {
|
||||
background-color: rgb(240, 194, 12);
|
||||
}
|
||||
|
||||
.leaflet-oldie .marker-cluster-large {
|
||||
background-color: rgb(253, 156, 115);
|
||||
}
|
||||
.leaflet-oldie .marker-cluster-large div {
|
||||
background-color: rgb(241, 128, 23);
|
||||
}
|
||||
|
||||
.marker-cluster {
|
||||
background-clip: padding-box;
|
||||
border-radius: 20px;
|
||||
}
|
||||
.marker-cluster div {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
margin-left: 5px;
|
||||
margin-top: 5px;
|
||||
|
||||
text-align: center;
|
||||
border-radius: 15px;
|
||||
font: 12px "Helvetica Neue", Arial, Helvetica, sans-serif;
|
||||
}
|
||||
.marker-cluster span {
|
||||
line-height: 30px;
|
||||
}
|
|
@ -0,0 +1,14 @@
|
|||
.leaflet-cluster-anim .leaflet-marker-icon, .leaflet-cluster-anim .leaflet-marker-shadow {
|
||||
-webkit-transition: -webkit-transform 0.3s ease-out, opacity 0.3s ease-in;
|
||||
-moz-transition: -moz-transform 0.3s ease-out, opacity 0.3s ease-in;
|
||||
-o-transition: -o-transform 0.3s ease-out, opacity 0.3s ease-in;
|
||||
transition: transform 0.3s ease-out, opacity 0.3s ease-in;
|
||||
}
|
||||
|
||||
.leaflet-cluster-spider-leg {
|
||||
/* stroke-dashoffset (duration and function) should match with leaflet-marker-icon transform in order to track it exactly */
|
||||
-webkit-transition: -webkit-stroke-dashoffset 0.3s ease-out, -webkit-stroke-opacity 0.3s ease-in;
|
||||
-moz-transition: -moz-stroke-dashoffset 0.3s ease-out, -moz-stroke-opacity 0.3s ease-in;
|
||||
-o-transition: -o-stroke-dashoffset 0.3s ease-out, -o-stroke-opacity 0.3s ease-in;
|
||||
transition: stroke-dashoffset 0.3s ease-out, stroke-opacity 0.3s ease-in;
|
||||
}
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"browser": true,
|
||||
"curly": true,
|
||||
"eqeqeq": true,
|
||||
"undef": true,
|
||||
"quotmark": "single",
|
||||
"trailing": true,
|
||||
"globals": {
|
||||
"L": true,
|
||||
"jQuery": true
|
||||
}
|
||||
{
|
||||
"browser": true,
|
||||
"curly": true,
|
||||
"eqeqeq": true,
|
||||
"undef": true,
|
||||
"quotmark": "single",
|
||||
"trailing": true,
|
||||
"globals": {
|
||||
"L": true,
|
||||
"jQuery": true
|
||||
}
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
.leaflet-control-zoom-fullscreen { background-image: url(icon-fullscreen.png); }
|
||||
.leaflet-retina .leaflet-control-zoom-fullscreen { background-image: url(icon-fullscreen-2x.png); background-size: 26px 26px; }
|
||||
.leaflet-container:-webkit-full-screen { width: 100% !important; height: 100% !important; z-index: 99999; }
|
||||
.leaflet-control-zoom-fullscreen { background-image: url(icon-fullscreen.png); }
|
||||
.leaflet-retina .leaflet-control-zoom-fullscreen { background-image: url(icon-fullscreen-2x.png); background-size: 26px 26px; }
|
||||
.leaflet-container:-webkit-full-screen { width: 100% !important; height: 100% !important; z-index: 99999; }
|
||||
.leaflet-pseudo-fullscreen { position: fixed !important; width: 100% !important; height: 100% !important; top: 0px !important; left: 0px !important; z-index: 99999; }
|
|
@ -1,164 +1,164 @@
|
|||
(function() {
|
||||
|
||||
L.Control.FullScreen = L.Control.extend({
|
||||
options: {
|
||||
position: 'topleft',
|
||||
title: 'Full Screen',
|
||||
forceSeparateButton: false,
|
||||
forcePseudoFullscreen: false
|
||||
},
|
||||
|
||||
onAdd: function (map) {
|
||||
var className = 'leaflet-control-zoom-fullscreen', container;
|
||||
|
||||
if (map.zoomControl && !this.options.forceSeparateButton) {
|
||||
container = map.zoomControl._container;
|
||||
} else {
|
||||
container = L.DomUtil.create('div', 'leaflet-bar');
|
||||
}
|
||||
|
||||
this._createButton(this.options.title, className, container, this.toggleFullScreen, this);
|
||||
|
||||
return container;
|
||||
},
|
||||
|
||||
_createButton: function (title, className, container, fn, context) {
|
||||
var link = L.DomUtil.create('a', className, container);
|
||||
link.href = '#';
|
||||
link.title = title;
|
||||
|
||||
L.DomEvent
|
||||
.addListener(link, 'click', L.DomEvent.stopPropagation)
|
||||
.addListener(link, 'click', L.DomEvent.preventDefault)
|
||||
.addListener(link, 'click', fn, context);
|
||||
|
||||
L.DomEvent
|
||||
.addListener(container, fullScreenApi.fullScreenEventName, L.DomEvent.stopPropagation)
|
||||
.addListener(container, fullScreenApi.fullScreenEventName, L.DomEvent.preventDefault)
|
||||
.addListener(container, fullScreenApi.fullScreenEventName, this._handleEscKey, context);
|
||||
|
||||
L.DomEvent
|
||||
.addListener(document, fullScreenApi.fullScreenEventName, L.DomEvent.stopPropagation)
|
||||
.addListener(document, fullScreenApi.fullScreenEventName, L.DomEvent.preventDefault)
|
||||
.addListener(document, fullScreenApi.fullScreenEventName, this._handleEscKey, context);
|
||||
|
||||
return link;
|
||||
},
|
||||
|
||||
toggleFullScreen: function () {
|
||||
var map = this._map;
|
||||
map._exitFired = false;
|
||||
if (map._isFullscreen) {
|
||||
if (fullScreenApi.supportsFullScreen && !this.options.forcePseudoFullscreen) {
|
||||
fullScreenApi.cancelFullScreen(map._container);
|
||||
} else {
|
||||
L.DomUtil.removeClass(map._container, 'leaflet-pseudo-fullscreen');
|
||||
}
|
||||
map.invalidateSize();
|
||||
map.fire('exitFullscreen');
|
||||
map._exitFired = true;
|
||||
map._isFullscreen = false;
|
||||
}
|
||||
else {
|
||||
if (fullScreenApi.supportsFullScreen && !this.options.forcePseudoFullscreen) {
|
||||
fullScreenApi.requestFullScreen(map._container);
|
||||
} else {
|
||||
L.DomUtil.addClass(map._container, 'leaflet-pseudo-fullscreen');
|
||||
}
|
||||
map.invalidateSize();
|
||||
map.fire('enterFullscreen');
|
||||
map._isFullscreen = true;
|
||||
}
|
||||
},
|
||||
|
||||
_handleEscKey: function () {
|
||||
var map = this._map;
|
||||
if (!fullScreenApi.isFullScreen(map) && !map._exitFired) {
|
||||
map.fire('exitFullscreen');
|
||||
map._exitFired = true;
|
||||
map._isFullscreen = false;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
L.Map.addInitHook(function () {
|
||||
if (this.options.fullscreenControl) {
|
||||
this.fullscreenControl = L.control.fullscreen(this.options.fullscreenControlOptions);
|
||||
this.addControl(this.fullscreenControl);
|
||||
}
|
||||
});
|
||||
|
||||
L.control.fullscreen = function (options) {
|
||||
return new L.Control.FullScreen(options);
|
||||
};
|
||||
|
||||
/*
|
||||
Native FullScreen JavaScript API
|
||||
-------------
|
||||
Assumes Mozilla naming conventions instead of W3C for now
|
||||
|
||||
source : http://johndyer.name/native-fullscreen-javascript-api-plus-jquery-plugin/
|
||||
|
||||
*/
|
||||
|
||||
var
|
||||
fullScreenApi = {
|
||||
supportsFullScreen: false,
|
||||
isFullScreen: function() { return false; },
|
||||
requestFullScreen: function() {},
|
||||
cancelFullScreen: function() {},
|
||||
fullScreenEventName: '',
|
||||
prefix: ''
|
||||
},
|
||||
browserPrefixes = 'webkit moz o ms khtml'.split(' ');
|
||||
|
||||
// check for native support
|
||||
if (typeof document.exitFullscreen !== 'undefined') {
|
||||
fullScreenApi.supportsFullScreen = true;
|
||||
} else {
|
||||
// check for fullscreen support by vendor prefix
|
||||
for (var i = 0, il = browserPrefixes.length; i < il; i++ ) {
|
||||
fullScreenApi.prefix = browserPrefixes[i];
|
||||
if (typeof document[fullScreenApi.prefix + 'CancelFullScreen' ] !== 'undefined' ) {
|
||||
fullScreenApi.supportsFullScreen = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// update methods to do something useful
|
||||
if (fullScreenApi.supportsFullScreen) {
|
||||
fullScreenApi.fullScreenEventName = fullScreenApi.prefix + 'fullscreenchange';
|
||||
fullScreenApi.isFullScreen = function() {
|
||||
switch (this.prefix) {
|
||||
case '':
|
||||
return document.fullScreen;
|
||||
case 'webkit':
|
||||
return document.webkitIsFullScreen;
|
||||
default:
|
||||
return document[this.prefix + 'FullScreen'];
|
||||
}
|
||||
};
|
||||
fullScreenApi.requestFullScreen = function(el) {
|
||||
return (this.prefix === '') ? el.requestFullscreen() : el[this.prefix + 'RequestFullScreen']();
|
||||
};
|
||||
fullScreenApi.cancelFullScreen = function(el) {
|
||||
return (this.prefix === '') ? document.exitFullscreen() : document[this.prefix + 'CancelFullScreen']();
|
||||
};
|
||||
}
|
||||
|
||||
// jQuery plugin
|
||||
if (typeof jQuery !== 'undefined') {
|
||||
jQuery.fn.requestFullScreen = function() {
|
||||
return this.each(function() {
|
||||
var el = jQuery(this);
|
||||
if (fullScreenApi.supportsFullScreen) {
|
||||
fullScreenApi.requestFullScreen(el);
|
||||
}
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
// export api
|
||||
window.fullScreenApi = fullScreenApi;
|
||||
})();
|
||||
(function() {
|
||||
|
||||
L.Control.FullScreen = L.Control.extend({
|
||||
options: {
|
||||
position: 'topleft',
|
||||
title: 'Full Screen',
|
||||
forceSeparateButton: false,
|
||||
forcePseudoFullscreen: false
|
||||
},
|
||||
|
||||
onAdd: function (map) {
|
||||
var className = 'leaflet-control-zoom-fullscreen', container;
|
||||
|
||||
if (map.zoomControl && !this.options.forceSeparateButton) {
|
||||
container = map.zoomControl._container;
|
||||
} else {
|
||||
container = L.DomUtil.create('div', 'leaflet-bar');
|
||||
}
|
||||
|
||||
this._createButton(this.options.title, className, container, this.toggleFullScreen, this);
|
||||
|
||||
return container;
|
||||
},
|
||||
|
||||
_createButton: function (title, className, container, fn, context) {
|
||||
var link = L.DomUtil.create('a', className, container);
|
||||
link.href = '#';
|
||||
link.title = title;
|
||||
|
||||
L.DomEvent
|
||||
.addListener(link, 'click', L.DomEvent.stopPropagation)
|
||||
.addListener(link, 'click', L.DomEvent.preventDefault)
|
||||
.addListener(link, 'click', fn, context);
|
||||
|
||||
L.DomEvent
|
||||
.addListener(container, fullScreenApi.fullScreenEventName, L.DomEvent.stopPropagation)
|
||||
.addListener(container, fullScreenApi.fullScreenEventName, L.DomEvent.preventDefault)
|
||||
.addListener(container, fullScreenApi.fullScreenEventName, this._handleEscKey, context);
|
||||
|
||||
L.DomEvent
|
||||
.addListener(document, fullScreenApi.fullScreenEventName, L.DomEvent.stopPropagation)
|
||||
.addListener(document, fullScreenApi.fullScreenEventName, L.DomEvent.preventDefault)
|
||||
.addListener(document, fullScreenApi.fullScreenEventName, this._handleEscKey, context);
|
||||
|
||||
return link;
|
||||
},
|
||||
|
||||
toggleFullScreen: function () {
|
||||
var map = this._map;
|
||||
map._exitFired = false;
|
||||
if (map._isFullscreen) {
|
||||
if (fullScreenApi.supportsFullScreen && !this.options.forcePseudoFullscreen) {
|
||||
fullScreenApi.cancelFullScreen(map._container);
|
||||
} else {
|
||||
L.DomUtil.removeClass(map._container, 'leaflet-pseudo-fullscreen');
|
||||
}
|
||||
map.invalidateSize();
|
||||
map.fire('exitFullscreen');
|
||||
map._exitFired = true;
|
||||
map._isFullscreen = false;
|
||||
}
|
||||
else {
|
||||
if (fullScreenApi.supportsFullScreen && !this.options.forcePseudoFullscreen) {
|
||||
fullScreenApi.requestFullScreen(map._container);
|
||||
} else {
|
||||
L.DomUtil.addClass(map._container, 'leaflet-pseudo-fullscreen');
|
||||
}
|
||||
map.invalidateSize();
|
||||
map.fire('enterFullscreen');
|
||||
map._isFullscreen = true;
|
||||
}
|
||||
},
|
||||
|
||||
_handleEscKey: function () {
|
||||
var map = this._map;
|
||||
if (!fullScreenApi.isFullScreen(map) && !map._exitFired) {
|
||||
map.fire('exitFullscreen');
|
||||
map._exitFired = true;
|
||||
map._isFullscreen = false;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
L.Map.addInitHook(function () {
|
||||
if (this.options.fullscreenControl) {
|
||||
this.fullscreenControl = L.control.fullscreen(this.options.fullscreenControlOptions);
|
||||
this.addControl(this.fullscreenControl);
|
||||
}
|
||||
});
|
||||
|
||||
L.control.fullscreen = function (options) {
|
||||
return new L.Control.FullScreen(options);
|
||||
};
|
||||
|
||||
/*
|
||||
Native FullScreen JavaScript API
|
||||
-------------
|
||||
Assumes Mozilla naming conventions instead of W3C for now
|
||||
|
||||
source : http://johndyer.name/native-fullscreen-javascript-api-plus-jquery-plugin/
|
||||
|
||||
*/
|
||||
|
||||
var
|
||||
fullScreenApi = {
|
||||
supportsFullScreen: false,
|
||||
isFullScreen: function() { return false; },
|
||||
requestFullScreen: function() {},
|
||||
cancelFullScreen: function() {},
|
||||
fullScreenEventName: '',
|
||||
prefix: ''
|
||||
},
|
||||
browserPrefixes = 'webkit moz o ms khtml'.split(' ');
|
||||
|
||||
// check for native support
|
||||
if (typeof document.exitFullscreen !== 'undefined') {
|
||||
fullScreenApi.supportsFullScreen = true;
|
||||
} else {
|
||||
// check for fullscreen support by vendor prefix
|
||||
for (var i = 0, il = browserPrefixes.length; i < il; i++ ) {
|
||||
fullScreenApi.prefix = browserPrefixes[i];
|
||||
if (typeof document[fullScreenApi.prefix + 'CancelFullScreen' ] !== 'undefined' ) {
|
||||
fullScreenApi.supportsFullScreen = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// update methods to do something useful
|
||||
if (fullScreenApi.supportsFullScreen) {
|
||||
fullScreenApi.fullScreenEventName = fullScreenApi.prefix + 'fullscreenchange';
|
||||
fullScreenApi.isFullScreen = function() {
|
||||
switch (this.prefix) {
|
||||
case '':
|
||||
return document.fullScreen;
|
||||
case 'webkit':
|
||||
return document.webkitIsFullScreen;
|
||||
default:
|
||||
return document[this.prefix + 'FullScreen'];
|
||||
}
|
||||
};
|
||||
fullScreenApi.requestFullScreen = function(el) {
|
||||
return (this.prefix === '') ? el.requestFullscreen() : el[this.prefix + 'RequestFullScreen']();
|
||||
};
|
||||
fullScreenApi.cancelFullScreen = function(el) {
|
||||
return (this.prefix === '') ? document.exitFullscreen() : document[this.prefix + 'CancelFullScreen']();
|
||||
};
|
||||
}
|
||||
|
||||
// jQuery plugin
|
||||
if (typeof jQuery !== 'undefined') {
|
||||
jQuery.fn.requestFullScreen = function() {
|
||||
return this.each(function() {
|
||||
var el = jQuery(this);
|
||||
if (fullScreenApi.supportsFullScreen) {
|
||||
fullScreenApi.requestFullScreen(el);
|
||||
}
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
// export api
|
||||
window.fullScreenApi = fullScreenApi;
|
||||
})();
|
||||
|
|
|
@ -1,22 +1,22 @@
|
|||
Copyright (c) 2013, Bruno Bergot
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification, are
|
||||
permitted provided that the following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright notice, this list of
|
||||
conditions and the following disclaimer.
|
||||
|
||||
2. Redistributions in binary form must reproduce the above copyright notice, this list
|
||||
of conditions and the following disclaimer in the documentation and/or other materials
|
||||
provided with the distribution.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
|
||||
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
||||
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
Copyright (c) 2013, Bruno Bergot
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification, are
|
||||
permitted provided that the following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright notice, this list of
|
||||
conditions and the following disclaimer.
|
||||
|
||||
2. Redistributions in binary form must reproduce the above copyright notice, this list
|
||||
of conditions and the following disclaimer in the documentation and/or other materials
|
||||
provided with the distribution.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
|
||||
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
||||
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
|
|
@ -1,48 +1,48 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset='utf-8'>
|
||||
<title>Leaflet.Control.FullScreen Demo</title>
|
||||
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7/leaflet.css" />
|
||||
<style type="text/css">
|
||||
#map { width: 700px; height: 433px; }
|
||||
.leaflet-control-zoom-fullscreen { background-image: url(icon-fullscreen.png); }
|
||||
/* on selector per rule as explained here : http://www.sitepoint.com/html5-full-screen-api/ */
|
||||
#map:-webkit-full-screen { width: 100% !important; height: 100% !important; z-index: 99999; }
|
||||
#map:-moz-full-screen { width: 100% !important; height: 100% !important; z-index: 99999; }
|
||||
#map:full-screen { width: 100% !important; height: 100% !important; z-index: 99999; }
|
||||
.leaflet-pseudo-fullscreen { position: fixed !important; width: 100% !important; height: 100% !important; top: 0px !important; left: 0px !important; z-index: 99999; }
|
||||
</style>
|
||||
<script src="http://cdn.leafletjs.com/leaflet-0.7/leaflet.js"></script>
|
||||
<script src="Control.FullScreen.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id="map"></div>
|
||||
|
||||
<script>
|
||||
var base = new L.TileLayer('http://{s}.www.toolserver.org/tiles/bw-mapnik/{z}/{x}/{y}.png', {
|
||||
maxZoom: 18,
|
||||
attribution: '© <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>'
|
||||
});
|
||||
|
||||
var map = new L.Map('map', {
|
||||
layers: [base],
|
||||
center: new L.LatLng(48.5, -4.5),
|
||||
zoom: 5,
|
||||
fullscreenControl: true,
|
||||
fullscreenControlOptions: { // optional
|
||||
title:"Show me the fullscreen !"
|
||||
}
|
||||
});
|
||||
|
||||
// detect fullscreen toggling
|
||||
map.on('enterFullscreen', function(){
|
||||
if(window.console) window.console.log('enterFullscreen');
|
||||
});
|
||||
map.on('exitFullscreen', function(){
|
||||
if(window.console) window.console.log('exitFullscreen');
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset='utf-8'>
|
||||
<title>Leaflet.Control.FullScreen Demo</title>
|
||||
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7/leaflet.css" />
|
||||
<style type="text/css">
|
||||
#map { width: 700px; height: 433px; }
|
||||
.leaflet-control-zoom-fullscreen { background-image: url(icon-fullscreen.png); }
|
||||
/* on selector per rule as explained here : http://www.sitepoint.com/html5-full-screen-api/ */
|
||||
#map:-webkit-full-screen { width: 100% !important; height: 100% !important; z-index: 99999; }
|
||||
#map:-moz-full-screen { width: 100% !important; height: 100% !important; z-index: 99999; }
|
||||
#map:full-screen { width: 100% !important; height: 100% !important; z-index: 99999; }
|
||||
.leaflet-pseudo-fullscreen { position: fixed !important; width: 100% !important; height: 100% !important; top: 0px !important; left: 0px !important; z-index: 99999; }
|
||||
</style>
|
||||
<script src="http://cdn.leafletjs.com/leaflet-0.7/leaflet.js"></script>
|
||||
<script src="Control.FullScreen.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id="map"></div>
|
||||
|
||||
<script>
|
||||
var base = new L.TileLayer('http://{s}.www.toolserver.org/tiles/bw-mapnik/{z}/{x}/{y}.png', {
|
||||
maxZoom: 18,
|
||||
attribution: '© <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>'
|
||||
});
|
||||
|
||||
var map = new L.Map('map', {
|
||||
layers: [base],
|
||||
center: new L.LatLng(48.5, -4.5),
|
||||
zoom: 5,
|
||||
fullscreenControl: true,
|
||||
fullscreenControlOptions: { // optional
|
||||
title:"Show me the fullscreen !"
|
||||
}
|
||||
});
|
||||
|
||||
// detect fullscreen toggling
|
||||
map.on('enterFullscreen', function(){
|
||||
if(window.console) window.console.log('enterFullscreen');
|
||||
});
|
||||
map.on('exitFullscreen', function(){
|
||||
if(window.console) window.console.log('exitFullscreen');
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -17,8 +17,10 @@ var WPGPXMAPS = {
|
|||
var lastCut = 0;
|
||||
|
||||
var result = [];
|
||||
|
||||
var _len = mapData.length;
|
||||
|
||||
for (i=0; i < mapData.length; i++)
|
||||
for (i=0; i < _len; i++)
|
||||
{
|
||||
if (mapData[i] == null)
|
||||
{
|
||||
|
@ -27,7 +29,7 @@ var WPGPXMAPS = {
|
|||
}
|
||||
}
|
||||
|
||||
if (mapData.length != lastCut)
|
||||
if ( (_len - 1 ) != lastCut)
|
||||
{
|
||||
result.push( mapData.slice(lastCut) );
|
||||
}
|
||||
|
@ -885,7 +887,7 @@ var WPGPXMAPS = {
|
|||
|
||||
|
||||
// Print WayPoints
|
||||
if (!jQuery.isEmptyObject(waypoints))
|
||||
if (!jQuery.isEmptyObject(waypoints) && waypoints.length > 0)
|
||||
{
|
||||
map.AddWaypoints(waypoints, waypointIcon);
|
||||
}
|
||||
|
@ -893,50 +895,108 @@ var WPGPXMAPS = {
|
|||
// Print Images
|
||||
|
||||
jQuery("#ngimages_" + targetId).attr("style","display:block;position:absolute;left:-50000px");
|
||||
jQuery("#ngimages_" + targetId + " span").each(function(){
|
||||
|
||||
var imageLat = jQuery(this).attr("lat");
|
||||
var imageLon = jQuery(this).attr("lon");
|
||||
var nggImages = jQuery("#ngimages_" + targetId + " span").toArray();
|
||||
|
||||
if (nggImages !== undefined && nggImages.length > 0)
|
||||
{
|
||||
var photos = [];
|
||||
|
||||
jQuery("img",this).each(function() {
|
||||
|
||||
jQuery(this).load(function(){
|
||||
|
||||
var imageUrl = jQuery(this).attr("src");
|
||||
var img_w = jQuery(this).width();
|
||||
var img_h = jQuery(this).height();
|
||||
|
||||
imageLat = imageLat.replace(",", ".");
|
||||
imageLon = imageLon.replace(",", ".");
|
||||
|
||||
//var p = new google.maps.LatLng(imageLat, imageLon);
|
||||
//bounds.extend(p);
|
||||
|
||||
var mc = new CustomMarker(map, p, imageUrl, img_w, img_h );
|
||||
|
||||
ngImageMarkers.push(mc);
|
||||
|
||||
google.maps.event.addListener(mc, "click", function(div) {
|
||||
var lat = div.getAttribute("lat");
|
||||
var lon = div.getAttribute("lon");
|
||||
var a = getClosestImage(lat,lon,targetId).childNodes[0];
|
||||
if (a)
|
||||
{
|
||||
a.click();
|
||||
}
|
||||
});
|
||||
|
||||
for (var i = 0; i < nggImages.length; i++) {
|
||||
|
||||
var ngg_span = nggImages[i];
|
||||
var ngg_span_a = ngg_span.children[0];
|
||||
|
||||
var pos = [
|
||||
Number(ngg_span.getAttribute("lat")),
|
||||
Number(ngg_span.getAttribute("lon"))
|
||||
];
|
||||
|
||||
map.Bounds.push(pos);
|
||||
|
||||
photos.push({
|
||||
"lat": pos[0],
|
||||
"lng": pos[1],
|
||||
"name": ngg_span_a.getAttribute("data-title"),
|
||||
"url": ngg_span_a.getAttribute("data-src"),
|
||||
"thumbnail": ngg_span_a.getAttribute("data-thumbnail")
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
if (photos.length > 0)
|
||||
{
|
||||
var photoLayer = L.photo.cluster().on('click', function(evt) {
|
||||
var photo = evt.layer.photo;
|
||||
var template = '<img src="{url}" /></a><p>{name}</p>';
|
||||
evt.layer.bindPopup(L.Util.template(template, photo), {
|
||||
minWidth: 'auto',
|
||||
}).openPopup();
|
||||
});
|
||||
|
||||
if (jQuery(this).width() + jQuery(this).height() > 0)
|
||||
{
|
||||
jQuery(this).trigger("load");
|
||||
}
|
||||
|
||||
photoLayer.add(photos).addTo(map.map);
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
map.CenterMap();
|
||||
|
||||
|
||||
/*
|
||||
var showHideImagesCustomControl = L.Control.extend({
|
||||
|
||||
options: {
|
||||
position: 'topleft'
|
||||
//control position - allowed: 'topleft', 'topright', 'bottomleft', 'bottomright'
|
||||
},
|
||||
|
||||
onAdd: function (map) {
|
||||
|
||||
var container = document.createElement('img');
|
||||
container.class= "leaflet-bar leaflet-control leaflet-control-custom"
|
||||
container.style.backgroundColor = 'white';
|
||||
container.style.width = '30px';
|
||||
container.style.height = '30px';
|
||||
container.src = pluginUrl + "/wp-gpx-maps/img/hideImages.png";
|
||||
container.style.cursor = 'pointer';
|
||||
container.title = lng.hideImages;
|
||||
|
||||
container.onclick = function(){
|
||||
|
||||
var isImagesHidden = (controlUIhi.isImagesHidden == true);
|
||||
var mapDiv = map.getDiv();
|
||||
var center = map.getCenter();
|
||||
|
||||
if (isImagesHidden)
|
||||
{
|
||||
for (var i=0; i<ngImageMarkers.length; i++) {
|
||||
ngImageMarkers[i].setMap(map);
|
||||
}
|
||||
controlUIhi.src = pluginUrl + "/wp-gpx-maps/img/hideImages.png";
|
||||
controlUIhi.title = lng.hideImages;
|
||||
}
|
||||
else
|
||||
{
|
||||
for (var i=0; i<ngImageMarkers.length; i++) {
|
||||
ngImageMarkers[i].setMap(null);
|
||||
}
|
||||
controlUIhi.src = pluginUrl + "/wp-gpx-maps/img/showImages.png";
|
||||
controlUIhi.title = lng.showImages;
|
||||
}
|
||||
controlUIhi.isImagesHidden = !isImagesHidden;
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
return container;
|
||||
},
|
||||
|
||||
});
|
||||
|
||||
map.map.addControl(new showHideImagesCustomControl());
|
||||
*/
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
// Nextgen Pro Lightbox FIX
|
||||
|
@ -971,44 +1031,7 @@ var WPGPXMAPS = {
|
|||
}
|
||||
}
|
||||
*/
|
||||
|
||||
if ( jQuery("#ngimages_" + targetId + " span").length > 0 )
|
||||
{
|
||||
|
||||
// Set CSS for the control border
|
||||
var controlUIhi = document.createElement('img');
|
||||
controlUIhi.src = pluginUrl + "/wp-gpx-maps/img/hideImages.png";
|
||||
controlUIhi.style.cursor = 'pointer';
|
||||
controlUIhi.title = lng.hideImages;
|
||||
controlDiv.appendChild(controlUIhi);
|
||||
|
||||
// Setup the click event listeners
|
||||
google.maps.event.addDomListener(controlUIhi, 'click', function(event) {
|
||||
var isImagesHidden = (controlUIhi.isImagesHidden == true);
|
||||
var mapDiv = map.getDiv();
|
||||
var center = map.getCenter();
|
||||
|
||||
if (isImagesHidden)
|
||||
{
|
||||
for (var i=0; i<ngImageMarkers.length; i++) {
|
||||
ngImageMarkers[i].setMap(map);
|
||||
}
|
||||
controlUIhi.src = pluginUrl + "/wp-gpx-maps/img/hideImages.png";
|
||||
controlUIhi.title = lng.hideImages;
|
||||
}
|
||||
else
|
||||
{
|
||||
for (var i=0; i<ngImageMarkers.length; i++) {
|
||||
ngImageMarkers[i].setMap(null);
|
||||
}
|
||||
controlUIhi.src = pluginUrl + "/wp-gpx-maps/img/showImages.png";
|
||||
controlUIhi.title = lng.showImages;
|
||||
}
|
||||
controlUIhi.isImagesHidden = !isImagesHidden;
|
||||
return false;
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
// Print Track
|
||||
if (mapData != '')
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,93 +1,93 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wp-gpx-maps\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-10-30 14:41+0100\n"
|
||||
"PO-Revision-Date: 2013-11-16 23:13+0200\n"
|
||||
"Last-Translator: Svilen Savov <svilen@svilen.org>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Poedit-KeywordsList: __;_e\n"
|
||||
"X-Poedit-Basepath: .\n"
|
||||
"X-Generator: Poedit 1.5.7\n"
|
||||
"X-Poedit-SearchPath-0: ..\n"
|
||||
|
||||
#: ../wp-gpx-maps.php:467
|
||||
msgid "Altitude"
|
||||
msgstr "Височина"
|
||||
|
||||
#: ../wp-gpx-maps.php:468
|
||||
msgid "Current Position"
|
||||
msgstr "Текуща Позиция"
|
||||
|
||||
#: ../wp-gpx-maps.php:469
|
||||
msgid "Speed"
|
||||
msgstr "Скорост"
|
||||
|
||||
#: ../wp-gpx-maps.php:470
|
||||
msgid "Heart rate"
|
||||
msgstr "Пулс"
|
||||
|
||||
#: ../wp-gpx-maps.php:471
|
||||
msgid "Cadence"
|
||||
msgstr "Ритъм"
|
||||
|
||||
#: ../wp-gpx-maps.php:472
|
||||
msgid "Go Full Screen"
|
||||
msgstr "Покажи на цял екран"
|
||||
|
||||
#: ../wp-gpx-maps.php:473
|
||||
msgid "Exit Full Screen"
|
||||
msgstr "Изход от цял екран"
|
||||
|
||||
#: ../wp-gpx-maps.php:474
|
||||
msgid "Hide Images"
|
||||
msgstr "Скрий Снимките"
|
||||
|
||||
#: ../wp-gpx-maps.php:475
|
||||
msgid "Show Images"
|
||||
msgstr "Покажи Снкмките"
|
||||
|
||||
#: ../wp-gpx-maps.php:476
|
||||
msgid "Back to center"
|
||||
msgstr "Центрирай"
|
||||
|
||||
#: ../wp-gpx-maps.php:489
|
||||
msgid "Total distance"
|
||||
msgstr "Обща дистанция"
|
||||
|
||||
#: ../wp-gpx-maps.php:494
|
||||
msgid "Max elevation"
|
||||
msgstr "Максимална височина"
|
||||
|
||||
#: ../wp-gpx-maps.php:496
|
||||
msgid "Min elevation"
|
||||
msgstr "Минимална височина"
|
||||
|
||||
#: ../wp-gpx-maps.php:498
|
||||
msgid "Total climbing"
|
||||
msgstr "Общо изкачване"
|
||||
|
||||
#: ../wp-gpx-maps.php:500
|
||||
msgid "Total descent"
|
||||
msgstr "Общо спускане"
|
||||
|
||||
#: ../wp-gpx-maps.php:504
|
||||
msgid "Average speed"
|
||||
msgstr "Средна скорост"
|
||||
|
||||
#: ../wp-gpx-maps.php:509
|
||||
msgid "Total Time"
|
||||
msgstr "Общо Време"
|
||||
|
||||
#: ../wp-gpx-maps.php:525
|
||||
msgid "Download"
|
||||
msgstr "Свали"
|
||||
|
||||
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
|
||||
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
|
||||
#: ../wp-gpx-maps_admin_settings.php:364
|
||||
msgid "Save Changes"
|
||||
msgstr "Запази Промените"
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wp-gpx-maps\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-10-30 14:41+0100\n"
|
||||
"PO-Revision-Date: 2013-11-16 23:13+0200\n"
|
||||
"Last-Translator: Svilen Savov <svilen@svilen.org>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Poedit-KeywordsList: __;_e\n"
|
||||
"X-Poedit-Basepath: .\n"
|
||||
"X-Generator: Poedit 1.5.7\n"
|
||||
"X-Poedit-SearchPath-0: ..\n"
|
||||
|
||||
#: ../wp-gpx-maps.php:467
|
||||
msgid "Altitude"
|
||||
msgstr "Височина"
|
||||
|
||||
#: ../wp-gpx-maps.php:468
|
||||
msgid "Current Position"
|
||||
msgstr "Текуща Позиция"
|
||||
|
||||
#: ../wp-gpx-maps.php:469
|
||||
msgid "Speed"
|
||||
msgstr "Скорост"
|
||||
|
||||
#: ../wp-gpx-maps.php:470
|
||||
msgid "Heart rate"
|
||||
msgstr "Пулс"
|
||||
|
||||
#: ../wp-gpx-maps.php:471
|
||||
msgid "Cadence"
|
||||
msgstr "Ритъм"
|
||||
|
||||
#: ../wp-gpx-maps.php:472
|
||||
msgid "Go Full Screen"
|
||||
msgstr "Покажи на цял екран"
|
||||
|
||||
#: ../wp-gpx-maps.php:473
|
||||
msgid "Exit Full Screen"
|
||||
msgstr "Изход от цял екран"
|
||||
|
||||
#: ../wp-gpx-maps.php:474
|
||||
msgid "Hide Images"
|
||||
msgstr "Скрий Снимките"
|
||||
|
||||
#: ../wp-gpx-maps.php:475
|
||||
msgid "Show Images"
|
||||
msgstr "Покажи Снкмките"
|
||||
|
||||
#: ../wp-gpx-maps.php:476
|
||||
msgid "Back to center"
|
||||
msgstr "Центрирай"
|
||||
|
||||
#: ../wp-gpx-maps.php:489
|
||||
msgid "Total distance"
|
||||
msgstr "Обща дистанция"
|
||||
|
||||
#: ../wp-gpx-maps.php:494
|
||||
msgid "Max elevation"
|
||||
msgstr "Максимална височина"
|
||||
|
||||
#: ../wp-gpx-maps.php:496
|
||||
msgid "Min elevation"
|
||||
msgstr "Минимална височина"
|
||||
|
||||
#: ../wp-gpx-maps.php:498
|
||||
msgid "Total climbing"
|
||||
msgstr "Общо изкачване"
|
||||
|
||||
#: ../wp-gpx-maps.php:500
|
||||
msgid "Total descent"
|
||||
msgstr "Общо спускане"
|
||||
|
||||
#: ../wp-gpx-maps.php:504
|
||||
msgid "Average speed"
|
||||
msgstr "Средна скорост"
|
||||
|
||||
#: ../wp-gpx-maps.php:509
|
||||
msgid "Total Time"
|
||||
msgstr "Общо Време"
|
||||
|
||||
#: ../wp-gpx-maps.php:525
|
||||
msgid "Download"
|
||||
msgstr "Свали"
|
||||
|
||||
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
|
||||
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
|
||||
#: ../wp-gpx-maps_admin_settings.php:364
|
||||
msgid "Save Changes"
|
||||
msgstr "Запази Промените"
|
||||
|
|
|
@ -1,93 +1,93 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wp-gpx-maps\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-10-30 14:41+0100\n"
|
||||
"PO-Revision-Date: 2013-12-14 21:43+0100\n"
|
||||
"Last-Translator: edgar <forced_to_confess@yahoo.com>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Poedit-KeywordsList: __;_e\n"
|
||||
"X-Poedit-Basepath: .\n"
|
||||
"X-Generator: Poedit 1.5.5\n"
|
||||
"X-Poedit-SearchPath-0: ..\n"
|
||||
|
||||
#: ../wp-gpx-maps.php:467
|
||||
msgid "Altitude"
|
||||
msgstr "Altitud"
|
||||
|
||||
#: ../wp-gpx-maps.php:468
|
||||
msgid "Current Position"
|
||||
msgstr "Posició actual"
|
||||
|
||||
#: ../wp-gpx-maps.php:469
|
||||
msgid "Speed"
|
||||
msgstr "Velocitat"
|
||||
|
||||
#: ../wp-gpx-maps.php:470
|
||||
msgid "Heart rate"
|
||||
msgstr "Ritme cardíac"
|
||||
|
||||
#: ../wp-gpx-maps.php:471
|
||||
msgid "Cadence"
|
||||
msgstr "Cadència"
|
||||
|
||||
#: ../wp-gpx-maps.php:472
|
||||
msgid "Go Full Screen"
|
||||
msgstr "Anar a pantalla completa"
|
||||
|
||||
#: ../wp-gpx-maps.php:473
|
||||
msgid "Exit Full Screen"
|
||||
msgstr "Sortir de pantalla completa"
|
||||
|
||||
#: ../wp-gpx-maps.php:474
|
||||
msgid "Hide Images"
|
||||
msgstr "Amagar imatges"
|
||||
|
||||
#: ../wp-gpx-maps.php:475
|
||||
msgid "Show Images"
|
||||
msgstr "Mostrar imatges"
|
||||
|
||||
#: ../wp-gpx-maps.php:476
|
||||
msgid "Back to center"
|
||||
msgstr "Centrar"
|
||||
|
||||
#: ../wp-gpx-maps.php:489
|
||||
msgid "Total distance"
|
||||
msgstr "Distància total"
|
||||
|
||||
#: ../wp-gpx-maps.php:494
|
||||
msgid "Max elevation"
|
||||
msgstr "Altitud màxima"
|
||||
|
||||
#: ../wp-gpx-maps.php:496
|
||||
msgid "Min elevation"
|
||||
msgstr "Altitud mínima"
|
||||
|
||||
#: ../wp-gpx-maps.php:498
|
||||
msgid "Total climbing"
|
||||
msgstr "Ascensió total"
|
||||
|
||||
#: ../wp-gpx-maps.php:500
|
||||
msgid "Total descent"
|
||||
msgstr "Descens total"
|
||||
|
||||
#: ../wp-gpx-maps.php:504
|
||||
msgid "Average speed"
|
||||
msgstr "Velocitat mitjana"
|
||||
|
||||
#: ../wp-gpx-maps.php:509
|
||||
msgid "Total Time"
|
||||
msgstr "Temps total"
|
||||
|
||||
#: ../wp-gpx-maps.php:525
|
||||
msgid "Download"
|
||||
msgstr "Descarregar"
|
||||
|
||||
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
|
||||
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
|
||||
#: ../wp-gpx-maps_admin_settings.php:364
|
||||
msgid "Save Changes"
|
||||
msgstr "Desar canvis"
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wp-gpx-maps\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-10-30 14:41+0100\n"
|
||||
"PO-Revision-Date: 2013-12-14 21:43+0100\n"
|
||||
"Last-Translator: edgar <forced_to_confess@yahoo.com>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Poedit-KeywordsList: __;_e\n"
|
||||
"X-Poedit-Basepath: .\n"
|
||||
"X-Generator: Poedit 1.5.5\n"
|
||||
"X-Poedit-SearchPath-0: ..\n"
|
||||
|
||||
#: ../wp-gpx-maps.php:467
|
||||
msgid "Altitude"
|
||||
msgstr "Altitud"
|
||||
|
||||
#: ../wp-gpx-maps.php:468
|
||||
msgid "Current Position"
|
||||
msgstr "Posició actual"
|
||||
|
||||
#: ../wp-gpx-maps.php:469
|
||||
msgid "Speed"
|
||||
msgstr "Velocitat"
|
||||
|
||||
#: ../wp-gpx-maps.php:470
|
||||
msgid "Heart rate"
|
||||
msgstr "Ritme cardíac"
|
||||
|
||||
#: ../wp-gpx-maps.php:471
|
||||
msgid "Cadence"
|
||||
msgstr "Cadència"
|
||||
|
||||
#: ../wp-gpx-maps.php:472
|
||||
msgid "Go Full Screen"
|
||||
msgstr "Anar a pantalla completa"
|
||||
|
||||
#: ../wp-gpx-maps.php:473
|
||||
msgid "Exit Full Screen"
|
||||
msgstr "Sortir de pantalla completa"
|
||||
|
||||
#: ../wp-gpx-maps.php:474
|
||||
msgid "Hide Images"
|
||||
msgstr "Amagar imatges"
|
||||
|
||||
#: ../wp-gpx-maps.php:475
|
||||
msgid "Show Images"
|
||||
msgstr "Mostrar imatges"
|
||||
|
||||
#: ../wp-gpx-maps.php:476
|
||||
msgid "Back to center"
|
||||
msgstr "Centrar"
|
||||
|
||||
#: ../wp-gpx-maps.php:489
|
||||
msgid "Total distance"
|
||||
msgstr "Distància total"
|
||||
|
||||
#: ../wp-gpx-maps.php:494
|
||||
msgid "Max elevation"
|
||||
msgstr "Altitud màxima"
|
||||
|
||||
#: ../wp-gpx-maps.php:496
|
||||
msgid "Min elevation"
|
||||
msgstr "Altitud mínima"
|
||||
|
||||
#: ../wp-gpx-maps.php:498
|
||||
msgid "Total climbing"
|
||||
msgstr "Ascensió total"
|
||||
|
||||
#: ../wp-gpx-maps.php:500
|
||||
msgid "Total descent"
|
||||
msgstr "Descens total"
|
||||
|
||||
#: ../wp-gpx-maps.php:504
|
||||
msgid "Average speed"
|
||||
msgstr "Velocitat mitjana"
|
||||
|
||||
#: ../wp-gpx-maps.php:509
|
||||
msgid "Total Time"
|
||||
msgstr "Temps total"
|
||||
|
||||
#: ../wp-gpx-maps.php:525
|
||||
msgid "Download"
|
||||
msgstr "Descarregar"
|
||||
|
||||
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
|
||||
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
|
||||
#: ../wp-gpx-maps_admin_settings.php:364
|
||||
msgid "Save Changes"
|
||||
msgstr "Desar canvis"
|
||||
|
|
|
@ -1,95 +1,95 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wp-gpx-maps\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-11-21 11:14+0100\n"
|
||||
"PO-Revision-Date: 2015-11-21 11:18+0100\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Poedit-KeywordsList: __;_e\n"
|
||||
"X-Poedit-Basepath: .\n"
|
||||
"X-Generator: Poedit 1.8.6\n"
|
||||
"Last-Translator: \n"
|
||||
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
|
||||
"Language: cs_CZ\n"
|
||||
"X-Poedit-SearchPath-0: ..\n"
|
||||
|
||||
#: ../wp-gpx-maps.php:467
|
||||
msgid "Altitude"
|
||||
msgstr "Nadmořská výška"
|
||||
|
||||
#: ../wp-gpx-maps.php:468
|
||||
msgid "Current Position"
|
||||
msgstr "Aktuální pozice"
|
||||
|
||||
#: ../wp-gpx-maps.php:469
|
||||
msgid "Speed"
|
||||
msgstr "Rychlost"
|
||||
|
||||
#: ../wp-gpx-maps.php:470
|
||||
msgid "Heart rate"
|
||||
msgstr "Srdeční tep"
|
||||
|
||||
#: ../wp-gpx-maps.php:471
|
||||
msgid "Cadence"
|
||||
msgstr "Kadence"
|
||||
|
||||
#: ../wp-gpx-maps.php:472
|
||||
msgid "Go Full Screen"
|
||||
msgstr "Zvětšit"
|
||||
|
||||
#: ../wp-gpx-maps.php:473
|
||||
msgid "Exit Full Screen"
|
||||
msgstr "Zmenšit"
|
||||
|
||||
#: ../wp-gpx-maps.php:474
|
||||
msgid "Hide Images"
|
||||
msgstr "Skrýt obrázky"
|
||||
|
||||
#: ../wp-gpx-maps.php:475
|
||||
msgid "Show Images"
|
||||
msgstr "Zobrazit obrázky"
|
||||
|
||||
#: ../wp-gpx-maps.php:476
|
||||
msgid "Back to center"
|
||||
msgstr "Vycentrovat"
|
||||
|
||||
#: ../wp-gpx-maps.php:489
|
||||
msgid "Total distance"
|
||||
msgstr "Celková vzdálenost"
|
||||
|
||||
#: ../wp-gpx-maps.php:494
|
||||
msgid "Max elevation"
|
||||
msgstr "Max. výška"
|
||||
|
||||
#: ../wp-gpx-maps.php:496
|
||||
msgid "Min elevation"
|
||||
msgstr "Min. výška"
|
||||
|
||||
#: ../wp-gpx-maps.php:498
|
||||
msgid "Total climbing"
|
||||
msgstr "Celkem nastoupáno"
|
||||
|
||||
#: ../wp-gpx-maps.php:500
|
||||
msgid "Total descent"
|
||||
msgstr "Celkem naklesáno"
|
||||
|
||||
#: ../wp-gpx-maps.php:504
|
||||
msgid "Average speed"
|
||||
msgstr "Průměrná rychlost"
|
||||
|
||||
#: ../wp-gpx-maps.php:509
|
||||
msgid "Total Time"
|
||||
msgstr "Celkový čas"
|
||||
|
||||
#: ../wp-gpx-maps.php:525
|
||||
msgid "Download"
|
||||
msgstr "Stáhnout"
|
||||
|
||||
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
|
||||
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
|
||||
#: ../wp-gpx-maps_admin_settings.php:364
|
||||
msgid "Save Changes"
|
||||
msgstr "Uložit změny"
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wp-gpx-maps\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-11-21 11:14+0100\n"
|
||||
"PO-Revision-Date: 2015-11-21 11:18+0100\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Poedit-KeywordsList: __;_e\n"
|
||||
"X-Poedit-Basepath: .\n"
|
||||
"X-Generator: Poedit 1.8.6\n"
|
||||
"Last-Translator: \n"
|
||||
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
|
||||
"Language: cs_CZ\n"
|
||||
"X-Poedit-SearchPath-0: ..\n"
|
||||
|
||||
#: ../wp-gpx-maps.php:467
|
||||
msgid "Altitude"
|
||||
msgstr "Nadmořská výška"
|
||||
|
||||
#: ../wp-gpx-maps.php:468
|
||||
msgid "Current Position"
|
||||
msgstr "Aktuální pozice"
|
||||
|
||||
#: ../wp-gpx-maps.php:469
|
||||
msgid "Speed"
|
||||
msgstr "Rychlost"
|
||||
|
||||
#: ../wp-gpx-maps.php:470
|
||||
msgid "Heart rate"
|
||||
msgstr "Srdeční tep"
|
||||
|
||||
#: ../wp-gpx-maps.php:471
|
||||
msgid "Cadence"
|
||||
msgstr "Kadence"
|
||||
|
||||
#: ../wp-gpx-maps.php:472
|
||||
msgid "Go Full Screen"
|
||||
msgstr "Zvětšit"
|
||||
|
||||
#: ../wp-gpx-maps.php:473
|
||||
msgid "Exit Full Screen"
|
||||
msgstr "Zmenšit"
|
||||
|
||||
#: ../wp-gpx-maps.php:474
|
||||
msgid "Hide Images"
|
||||
msgstr "Skrýt obrázky"
|
||||
|
||||
#: ../wp-gpx-maps.php:475
|
||||
msgid "Show Images"
|
||||
msgstr "Zobrazit obrázky"
|
||||
|
||||
#: ../wp-gpx-maps.php:476
|
||||
msgid "Back to center"
|
||||
msgstr "Vycentrovat"
|
||||
|
||||
#: ../wp-gpx-maps.php:489
|
||||
msgid "Total distance"
|
||||
msgstr "Celková vzdálenost"
|
||||
|
||||
#: ../wp-gpx-maps.php:494
|
||||
msgid "Max elevation"
|
||||
msgstr "Max. výška"
|
||||
|
||||
#: ../wp-gpx-maps.php:496
|
||||
msgid "Min elevation"
|
||||
msgstr "Min. výška"
|
||||
|
||||
#: ../wp-gpx-maps.php:498
|
||||
msgid "Total climbing"
|
||||
msgstr "Celkem nastoupáno"
|
||||
|
||||
#: ../wp-gpx-maps.php:500
|
||||
msgid "Total descent"
|
||||
msgstr "Celkem naklesáno"
|
||||
|
||||
#: ../wp-gpx-maps.php:504
|
||||
msgid "Average speed"
|
||||
msgstr "Průměrná rychlost"
|
||||
|
||||
#: ../wp-gpx-maps.php:509
|
||||
msgid "Total Time"
|
||||
msgstr "Celkový čas"
|
||||
|
||||
#: ../wp-gpx-maps.php:525
|
||||
msgid "Download"
|
||||
msgstr "Stáhnout"
|
||||
|
||||
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
|
||||
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
|
||||
#: ../wp-gpx-maps_admin_settings.php:364
|
||||
msgid "Save Changes"
|
||||
msgstr "Uložit změny"
|
||||
|
|
|
@ -1,95 +1,95 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wp-gpx-maps\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-10-30 14:41+0100\n"
|
||||
"PO-Revision-Date: 2016-01-18 10:44+0100\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Poedit-KeywordsList: __;_e\n"
|
||||
"X-Poedit-Basepath: .\n"
|
||||
"Language: de_DE\n"
|
||||
"X-Generator: Poedit 1.7.5\n"
|
||||
"X-Poedit-SearchPath-0: ..\n"
|
||||
"X-Poedit-SearchPath-1: ..\n"
|
||||
|
||||
#: ../wp-gpx-maps.php:467
|
||||
msgid "Altitude"
|
||||
msgstr "Höhe"
|
||||
|
||||
#: ../wp-gpx-maps.php:468
|
||||
msgid "Current Position"
|
||||
msgstr "Aktuelle Position"
|
||||
|
||||
#: ../wp-gpx-maps.php:469
|
||||
msgid "Speed"
|
||||
msgstr "Geschwindigkeit"
|
||||
|
||||
#: ../wp-gpx-maps.php:470
|
||||
msgid "Heart rate"
|
||||
msgstr "Herzfrequenz"
|
||||
|
||||
#: ../wp-gpx-maps.php:471
|
||||
msgid "Cadence"
|
||||
msgstr "Trittfrequenz"
|
||||
|
||||
#: ../wp-gpx-maps.php:472
|
||||
msgid "Go Full Screen"
|
||||
msgstr "Vollbildansicht"
|
||||
|
||||
#: ../wp-gpx-maps.php:473
|
||||
msgid "Exit Full Screen"
|
||||
msgstr "Vollbildansicht beenden"
|
||||
|
||||
#: ../wp-gpx-maps.php:474
|
||||
msgid "Hide Images"
|
||||
msgstr "Bilder verbergen"
|
||||
|
||||
#: ../wp-gpx-maps.php:475
|
||||
msgid "Show Images"
|
||||
msgstr "Bilder anzeigen"
|
||||
|
||||
#: ../wp-gpx-maps.php:476
|
||||
msgid "Back to center"
|
||||
msgstr "Zurück zur Mitte"
|
||||
|
||||
#: ../wp-gpx-maps.php:489
|
||||
msgid "Total distance"
|
||||
msgstr "volle Distanz"
|
||||
|
||||
#: ../wp-gpx-maps.php:494
|
||||
msgid "Max elevation"
|
||||
msgstr "Maximale Höhe"
|
||||
|
||||
#: ../wp-gpx-maps.php:496
|
||||
msgid "Min elevation"
|
||||
msgstr "Minimale Höhe"
|
||||
|
||||
#: ../wp-gpx-maps.php:498
|
||||
msgid "Total climbing"
|
||||
msgstr "Gesamtanstieg"
|
||||
|
||||
#: ../wp-gpx-maps.php:500
|
||||
msgid "Total descent"
|
||||
msgstr "Gesamtabstieg"
|
||||
|
||||
#: ../wp-gpx-maps.php:504
|
||||
msgid "Average speed"
|
||||
msgstr "Durchschnittsgeschwindigkeit"
|
||||
|
||||
#: ../wp-gpx-maps.php:509
|
||||
msgid "Total Time"
|
||||
msgstr "Gesamtzeit"
|
||||
|
||||
#: ../wp-gpx-maps.php:525
|
||||
msgid "Download"
|
||||
msgstr "Download"
|
||||
|
||||
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
|
||||
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
|
||||
#: ../wp-gpx-maps_admin_settings.php:364
|
||||
msgid "Save Changes"
|
||||
msgstr "Änderungen speichern"
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wp-gpx-maps\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-10-30 14:41+0100\n"
|
||||
"PO-Revision-Date: 2016-01-18 10:44+0100\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Poedit-KeywordsList: __;_e\n"
|
||||
"X-Poedit-Basepath: .\n"
|
||||
"Language: de_DE\n"
|
||||
"X-Generator: Poedit 1.7.5\n"
|
||||
"X-Poedit-SearchPath-0: ..\n"
|
||||
"X-Poedit-SearchPath-1: ..\n"
|
||||
|
||||
#: ../wp-gpx-maps.php:467
|
||||
msgid "Altitude"
|
||||
msgstr "Höhe"
|
||||
|
||||
#: ../wp-gpx-maps.php:468
|
||||
msgid "Current Position"
|
||||
msgstr "Aktuelle Position"
|
||||
|
||||
#: ../wp-gpx-maps.php:469
|
||||
msgid "Speed"
|
||||
msgstr "Geschwindigkeit"
|
||||
|
||||
#: ../wp-gpx-maps.php:470
|
||||
msgid "Heart rate"
|
||||
msgstr "Herzfrequenz"
|
||||
|
||||
#: ../wp-gpx-maps.php:471
|
||||
msgid "Cadence"
|
||||
msgstr "Trittfrequenz"
|
||||
|
||||
#: ../wp-gpx-maps.php:472
|
||||
msgid "Go Full Screen"
|
||||
msgstr "Vollbildansicht"
|
||||
|
||||
#: ../wp-gpx-maps.php:473
|
||||
msgid "Exit Full Screen"
|
||||
msgstr "Vollbildansicht beenden"
|
||||
|
||||
#: ../wp-gpx-maps.php:474
|
||||
msgid "Hide Images"
|
||||
msgstr "Bilder verbergen"
|
||||
|
||||
#: ../wp-gpx-maps.php:475
|
||||
msgid "Show Images"
|
||||
msgstr "Bilder anzeigen"
|
||||
|
||||
#: ../wp-gpx-maps.php:476
|
||||
msgid "Back to center"
|
||||
msgstr "Zurück zur Mitte"
|
||||
|
||||
#: ../wp-gpx-maps.php:489
|
||||
msgid "Total distance"
|
||||
msgstr "volle Distanz"
|
||||
|
||||
#: ../wp-gpx-maps.php:494
|
||||
msgid "Max elevation"
|
||||
msgstr "Maximale Höhe"
|
||||
|
||||
#: ../wp-gpx-maps.php:496
|
||||
msgid "Min elevation"
|
||||
msgstr "Minimale Höhe"
|
||||
|
||||
#: ../wp-gpx-maps.php:498
|
||||
msgid "Total climbing"
|
||||
msgstr "Gesamtanstieg"
|
||||
|
||||
#: ../wp-gpx-maps.php:500
|
||||
msgid "Total descent"
|
||||
msgstr "Gesamtabstieg"
|
||||
|
||||
#: ../wp-gpx-maps.php:504
|
||||
msgid "Average speed"
|
||||
msgstr "Durchschnittsgeschwindigkeit"
|
||||
|
||||
#: ../wp-gpx-maps.php:509
|
||||
msgid "Total Time"
|
||||
msgstr "Gesamtzeit"
|
||||
|
||||
#: ../wp-gpx-maps.php:525
|
||||
msgid "Download"
|
||||
msgstr "Download"
|
||||
|
||||
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
|
||||
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
|
||||
#: ../wp-gpx-maps_admin_settings.php:364
|
||||
msgid "Save Changes"
|
||||
msgstr "Änderungen speichern"
|
||||
|
|
|
@ -1,93 +1,93 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wp-gpx-maps\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-10-30 14:42+0100\n"
|
||||
"PO-Revision-Date: 2013-12-14 21:43+0100\n"
|
||||
"Last-Translator: edgar <forced_to_confess@yahoo.com>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Poedit-KeywordsList: __;_e\n"
|
||||
"X-Poedit-Basepath: .\n"
|
||||
"X-Generator: Poedit 1.5.5\n"
|
||||
"X-Poedit-SearchPath-0: ..\n"
|
||||
|
||||
#: ../wp-gpx-maps.php:467
|
||||
msgid "Altitude"
|
||||
msgstr "Altitud"
|
||||
|
||||
#: ../wp-gpx-maps.php:468
|
||||
msgid "Current Position"
|
||||
msgstr "Posición actual"
|
||||
|
||||
#: ../wp-gpx-maps.php:469
|
||||
msgid "Speed"
|
||||
msgstr "Velocidad"
|
||||
|
||||
#: ../wp-gpx-maps.php:470
|
||||
msgid "Heart rate"
|
||||
msgstr "Ritmo cardíaco"
|
||||
|
||||
#: ../wp-gpx-maps.php:471
|
||||
msgid "Cadence"
|
||||
msgstr "Cadencia"
|
||||
|
||||
#: ../wp-gpx-maps.php:472
|
||||
msgid "Go Full Screen"
|
||||
msgstr "Ir a pantalla completa"
|
||||
|
||||
#: ../wp-gpx-maps.php:473
|
||||
msgid "Exit Full Screen"
|
||||
msgstr "Salir de pantalla completa"
|
||||
|
||||
#: ../wp-gpx-maps.php:474
|
||||
msgid "Hide Images"
|
||||
msgstr "Ocultar Imágenes"
|
||||
|
||||
#: ../wp-gpx-maps.php:475
|
||||
msgid "Show Images"
|
||||
msgstr "Mostrar Imágenes"
|
||||
|
||||
#: ../wp-gpx-maps.php:476
|
||||
msgid "Back to center"
|
||||
msgstr "Centrar"
|
||||
|
||||
#: ../wp-gpx-maps.php:489
|
||||
msgid "Total distance"
|
||||
msgstr "Distancia total"
|
||||
|
||||
#: ../wp-gpx-maps.php:494
|
||||
msgid "Max elevation"
|
||||
msgstr "Elevación máxima"
|
||||
|
||||
#: ../wp-gpx-maps.php:496
|
||||
msgid "Min elevation"
|
||||
msgstr "Elevación mínima"
|
||||
|
||||
#: ../wp-gpx-maps.php:498
|
||||
msgid "Total climbing"
|
||||
msgstr "Total ascendido"
|
||||
|
||||
#: ../wp-gpx-maps.php:500
|
||||
msgid "Total descent"
|
||||
msgstr "Total descendido"
|
||||
|
||||
#: ../wp-gpx-maps.php:504
|
||||
msgid "Average speed"
|
||||
msgstr "Velocidad media"
|
||||
|
||||
#: ../wp-gpx-maps.php:509
|
||||
msgid "Total Time"
|
||||
msgstr "Tiempo total"
|
||||
|
||||
#: ../wp-gpx-maps.php:525
|
||||
msgid "Download"
|
||||
msgstr "Descargar"
|
||||
|
||||
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
|
||||
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
|
||||
#: ../wp-gpx-maps_admin_settings.php:364
|
||||
msgid "Save Changes"
|
||||
msgstr "Salvar cambios"
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wp-gpx-maps\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-10-30 14:42+0100\n"
|
||||
"PO-Revision-Date: 2013-12-14 21:43+0100\n"
|
||||
"Last-Translator: edgar <forced_to_confess@yahoo.com>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Poedit-KeywordsList: __;_e\n"
|
||||
"X-Poedit-Basepath: .\n"
|
||||
"X-Generator: Poedit 1.5.5\n"
|
||||
"X-Poedit-SearchPath-0: ..\n"
|
||||
|
||||
#: ../wp-gpx-maps.php:467
|
||||
msgid "Altitude"
|
||||
msgstr "Altitud"
|
||||
|
||||
#: ../wp-gpx-maps.php:468
|
||||
msgid "Current Position"
|
||||
msgstr "Posición actual"
|
||||
|
||||
#: ../wp-gpx-maps.php:469
|
||||
msgid "Speed"
|
||||
msgstr "Velocidad"
|
||||
|
||||
#: ../wp-gpx-maps.php:470
|
||||
msgid "Heart rate"
|
||||
msgstr "Ritmo cardíaco"
|
||||
|
||||
#: ../wp-gpx-maps.php:471
|
||||
msgid "Cadence"
|
||||
msgstr "Cadencia"
|
||||
|
||||
#: ../wp-gpx-maps.php:472
|
||||
msgid "Go Full Screen"
|
||||
msgstr "Ir a pantalla completa"
|
||||
|
||||
#: ../wp-gpx-maps.php:473
|
||||
msgid "Exit Full Screen"
|
||||
msgstr "Salir de pantalla completa"
|
||||
|
||||
#: ../wp-gpx-maps.php:474
|
||||
msgid "Hide Images"
|
||||
msgstr "Ocultar Imágenes"
|
||||
|
||||
#: ../wp-gpx-maps.php:475
|
||||
msgid "Show Images"
|
||||
msgstr "Mostrar Imágenes"
|
||||
|
||||
#: ../wp-gpx-maps.php:476
|
||||
msgid "Back to center"
|
||||
msgstr "Centrar"
|
||||
|
||||
#: ../wp-gpx-maps.php:489
|
||||
msgid "Total distance"
|
||||
msgstr "Distancia total"
|
||||
|
||||
#: ../wp-gpx-maps.php:494
|
||||
msgid "Max elevation"
|
||||
msgstr "Elevación máxima"
|
||||
|
||||
#: ../wp-gpx-maps.php:496
|
||||
msgid "Min elevation"
|
||||
msgstr "Elevación mínima"
|
||||
|
||||
#: ../wp-gpx-maps.php:498
|
||||
msgid "Total climbing"
|
||||
msgstr "Total ascendido"
|
||||
|
||||
#: ../wp-gpx-maps.php:500
|
||||
msgid "Total descent"
|
||||
msgstr "Total descendido"
|
||||
|
||||
#: ../wp-gpx-maps.php:504
|
||||
msgid "Average speed"
|
||||
msgstr "Velocidad media"
|
||||
|
||||
#: ../wp-gpx-maps.php:509
|
||||
msgid "Total Time"
|
||||
msgstr "Tiempo total"
|
||||
|
||||
#: ../wp-gpx-maps.php:525
|
||||
msgid "Download"
|
||||
msgstr "Descargar"
|
||||
|
||||
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
|
||||
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
|
||||
#: ../wp-gpx-maps_admin_settings.php:364
|
||||
msgid "Save Changes"
|
||||
msgstr "Salvar cambios"
|
||||
|
|
|
@ -1,81 +1,81 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wp-gpx-maps\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-08-01 13:41+0100\n"
|
||||
"PO-Revision-Date: 2012-11-01 22:02+0100\n"
|
||||
"Last-Translator: Hervé <herve.rieu@free.fr>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Poedit-KeywordsList: __;_e\n"
|
||||
"X-Poedit-Basepath: .\n"
|
||||
"X-Generator: Poedit 1.5.4\n"
|
||||
"X-Poedit-SearchPath-0: ..\n"
|
||||
|
||||
#: ../wp-gpx-maps.php:473
|
||||
msgid "Altitude"
|
||||
msgstr "Altitude"
|
||||
|
||||
#: ../wp-gpx-maps.php:474
|
||||
msgid "Current Position"
|
||||
msgstr "Position actuelle"
|
||||
|
||||
#: ../wp-gpx-maps.php:475
|
||||
msgid "Speed"
|
||||
msgstr "Vitesse"
|
||||
|
||||
#: ../wp-gpx-maps.php:476
|
||||
msgid "Heart rate"
|
||||
msgstr "Fréquence cardiaque"
|
||||
|
||||
#: ../wp-gpx-maps.php:477
|
||||
msgid "Cadence"
|
||||
msgstr "Cadence"
|
||||
|
||||
#: ../wp-gpx-maps.php:478
|
||||
msgid "Go Full Screen"
|
||||
msgstr "Plein écran"
|
||||
|
||||
#: ../wp-gpx-maps.php:479
|
||||
msgid "Exit Full Screen"
|
||||
msgstr "Sortir du plein écran"
|
||||
|
||||
#: ../wp-gpx-maps.php:492
|
||||
msgid "Total distance"
|
||||
msgstr "Distance totale"
|
||||
|
||||
#: ../wp-gpx-maps.php:497
|
||||
msgid "Max elevation"
|
||||
msgstr "Altitude maximum"
|
||||
|
||||
#: ../wp-gpx-maps.php:499
|
||||
msgid "Min elevation"
|
||||
msgstr "Altitude minimum"
|
||||
|
||||
#: ../wp-gpx-maps.php:501
|
||||
msgid "Total climbing"
|
||||
msgstr "Denivelé total positif "
|
||||
|
||||
#: ../wp-gpx-maps.php:503
|
||||
msgid "Total descent"
|
||||
msgstr "Denivelé total négatif"
|
||||
|
||||
#: ../wp-gpx-maps.php:507
|
||||
msgid "Average speed"
|
||||
msgstr "Vitesse moyenne"
|
||||
|
||||
#: ../wp-gpx-maps.php:512
|
||||
msgid "Total Time"
|
||||
msgstr "Durée totale"
|
||||
|
||||
#: ../wp-gpx-maps.php:528
|
||||
msgid "Download"
|
||||
msgstr "Télécharger"
|
||||
|
||||
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
|
||||
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
|
||||
#: ../wp-gpx-maps_admin_settings.php:364
|
||||
msgid "Save Changes"
|
||||
msgstr "Enregistrer"
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wp-gpx-maps\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-08-01 13:41+0100\n"
|
||||
"PO-Revision-Date: 2012-11-01 22:02+0100\n"
|
||||
"Last-Translator: Hervé <herve.rieu@free.fr>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Poedit-KeywordsList: __;_e\n"
|
||||
"X-Poedit-Basepath: .\n"
|
||||
"X-Generator: Poedit 1.5.4\n"
|
||||
"X-Poedit-SearchPath-0: ..\n"
|
||||
|
||||
#: ../wp-gpx-maps.php:473
|
||||
msgid "Altitude"
|
||||
msgstr "Altitude"
|
||||
|
||||
#: ../wp-gpx-maps.php:474
|
||||
msgid "Current Position"
|
||||
msgstr "Position actuelle"
|
||||
|
||||
#: ../wp-gpx-maps.php:475
|
||||
msgid "Speed"
|
||||
msgstr "Vitesse"
|
||||
|
||||
#: ../wp-gpx-maps.php:476
|
||||
msgid "Heart rate"
|
||||
msgstr "Fréquence cardiaque"
|
||||
|
||||
#: ../wp-gpx-maps.php:477
|
||||
msgid "Cadence"
|
||||
msgstr "Cadence"
|
||||
|
||||
#: ../wp-gpx-maps.php:478
|
||||
msgid "Go Full Screen"
|
||||
msgstr "Plein écran"
|
||||
|
||||
#: ../wp-gpx-maps.php:479
|
||||
msgid "Exit Full Screen"
|
||||
msgstr "Sortir du plein écran"
|
||||
|
||||
#: ../wp-gpx-maps.php:492
|
||||
msgid "Total distance"
|
||||
msgstr "Distance totale"
|
||||
|
||||
#: ../wp-gpx-maps.php:497
|
||||
msgid "Max elevation"
|
||||
msgstr "Altitude maximum"
|
||||
|
||||
#: ../wp-gpx-maps.php:499
|
||||
msgid "Min elevation"
|
||||
msgstr "Altitude minimum"
|
||||
|
||||
#: ../wp-gpx-maps.php:501
|
||||
msgid "Total climbing"
|
||||
msgstr "Denivelé total positif "
|
||||
|
||||
#: ../wp-gpx-maps.php:503
|
||||
msgid "Total descent"
|
||||
msgstr "Denivelé total négatif"
|
||||
|
||||
#: ../wp-gpx-maps.php:507
|
||||
msgid "Average speed"
|
||||
msgstr "Vitesse moyenne"
|
||||
|
||||
#: ../wp-gpx-maps.php:512
|
||||
msgid "Total Time"
|
||||
msgstr "Durée totale"
|
||||
|
||||
#: ../wp-gpx-maps.php:528
|
||||
msgid "Download"
|
||||
msgstr "Télécharger"
|
||||
|
||||
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
|
||||
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
|
||||
#: ../wp-gpx-maps_admin_settings.php:364
|
||||
msgid "Save Changes"
|
||||
msgstr "Enregistrer"
|
||||
|
|
|
@ -1,92 +1,92 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wp-gpx-maps\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-10-30 14:42+0100\n"
|
||||
"PO-Revision-Date: 2012-10-30 14:43+0100\n"
|
||||
"Last-Translator: Biró Tamás <tami@freemail.hu>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Poedit-KeywordsList: __;_e\n"
|
||||
"X-Poedit-Basepath: .\n"
|
||||
"X-Poedit-SearchPath-0: ..\n"
|
||||
|
||||
#: ../wp-gpx-maps.php:467
|
||||
msgid "Altitude"
|
||||
msgstr "Magasság"
|
||||
|
||||
#: ../wp-gpx-maps.php:468
|
||||
msgid "Current Position"
|
||||
msgstr "Aktuális pozíció"
|
||||
|
||||
#: ../wp-gpx-maps.php:469
|
||||
msgid "Speed"
|
||||
msgstr "Sebesség"
|
||||
|
||||
#: ../wp-gpx-maps.php:470
|
||||
msgid "Heart rate"
|
||||
msgstr "Szívritmus"
|
||||
|
||||
#: ../wp-gpx-maps.php:471
|
||||
msgid "Cadence"
|
||||
msgstr "Kadencia"
|
||||
|
||||
#: ../wp-gpx-maps.php:472
|
||||
msgid "Go Full Screen"
|
||||
msgstr "Teljes képernyő BE"
|
||||
|
||||
#: ../wp-gpx-maps.php:473
|
||||
msgid "Exit Full Screen"
|
||||
msgstr "Teljes képernyő KI"
|
||||
|
||||
#: ../wp-gpx-maps.php:474
|
||||
msgid "Hide Images"
|
||||
msgstr ""
|
||||
|
||||
#: ../wp-gpx-maps.php:475
|
||||
msgid "Show Images"
|
||||
msgstr ""
|
||||
|
||||
#: ../wp-gpx-maps.php:476
|
||||
msgid "Back to center"
|
||||
msgstr ""
|
||||
|
||||
#: ../wp-gpx-maps.php:489
|
||||
msgid "Total distance"
|
||||
msgstr "Teljes távolság"
|
||||
|
||||
#: ../wp-gpx-maps.php:494
|
||||
msgid "Max elevation"
|
||||
msgstr "Max magasság"
|
||||
|
||||
#: ../wp-gpx-maps.php:496
|
||||
msgid "Min elevation"
|
||||
msgstr "Min magasság"
|
||||
|
||||
#: ../wp-gpx-maps.php:498
|
||||
msgid "Total climbing"
|
||||
msgstr "Össz. emelkedés"
|
||||
|
||||
#: ../wp-gpx-maps.php:500
|
||||
msgid "Total descent"
|
||||
msgstr "Össz. ereszkedés"
|
||||
|
||||
#: ../wp-gpx-maps.php:504
|
||||
msgid "Average speed"
|
||||
msgstr "Átlagsebesség"
|
||||
|
||||
#: ../wp-gpx-maps.php:509
|
||||
msgid "Total Time"
|
||||
msgstr "Teljes Idő"
|
||||
|
||||
#: ../wp-gpx-maps.php:525
|
||||
msgid "Download"
|
||||
msgstr "Letöltés"
|
||||
|
||||
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
|
||||
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
|
||||
#: ../wp-gpx-maps_admin_settings.php:364
|
||||
msgid "Save Changes"
|
||||
msgstr "Beállítások mentése"
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wp-gpx-maps\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-10-30 14:42+0100\n"
|
||||
"PO-Revision-Date: 2012-10-30 14:43+0100\n"
|
||||
"Last-Translator: Biró Tamás <tami@freemail.hu>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Poedit-KeywordsList: __;_e\n"
|
||||
"X-Poedit-Basepath: .\n"
|
||||
"X-Poedit-SearchPath-0: ..\n"
|
||||
|
||||
#: ../wp-gpx-maps.php:467
|
||||
msgid "Altitude"
|
||||
msgstr "Magasság"
|
||||
|
||||
#: ../wp-gpx-maps.php:468
|
||||
msgid "Current Position"
|
||||
msgstr "Aktuális pozíció"
|
||||
|
||||
#: ../wp-gpx-maps.php:469
|
||||
msgid "Speed"
|
||||
msgstr "Sebesség"
|
||||
|
||||
#: ../wp-gpx-maps.php:470
|
||||
msgid "Heart rate"
|
||||
msgstr "Szívritmus"
|
||||
|
||||
#: ../wp-gpx-maps.php:471
|
||||
msgid "Cadence"
|
||||
msgstr "Kadencia"
|
||||
|
||||
#: ../wp-gpx-maps.php:472
|
||||
msgid "Go Full Screen"
|
||||
msgstr "Teljes képernyő BE"
|
||||
|
||||
#: ../wp-gpx-maps.php:473
|
||||
msgid "Exit Full Screen"
|
||||
msgstr "Teljes képernyő KI"
|
||||
|
||||
#: ../wp-gpx-maps.php:474
|
||||
msgid "Hide Images"
|
||||
msgstr ""
|
||||
|
||||
#: ../wp-gpx-maps.php:475
|
||||
msgid "Show Images"
|
||||
msgstr ""
|
||||
|
||||
#: ../wp-gpx-maps.php:476
|
||||
msgid "Back to center"
|
||||
msgstr ""
|
||||
|
||||
#: ../wp-gpx-maps.php:489
|
||||
msgid "Total distance"
|
||||
msgstr "Teljes távolság"
|
||||
|
||||
#: ../wp-gpx-maps.php:494
|
||||
msgid "Max elevation"
|
||||
msgstr "Max magasság"
|
||||
|
||||
#: ../wp-gpx-maps.php:496
|
||||
msgid "Min elevation"
|
||||
msgstr "Min magasság"
|
||||
|
||||
#: ../wp-gpx-maps.php:498
|
||||
msgid "Total climbing"
|
||||
msgstr "Össz. emelkedés"
|
||||
|
||||
#: ../wp-gpx-maps.php:500
|
||||
msgid "Total descent"
|
||||
msgstr "Össz. ereszkedés"
|
||||
|
||||
#: ../wp-gpx-maps.php:504
|
||||
msgid "Average speed"
|
||||
msgstr "Átlagsebesség"
|
||||
|
||||
#: ../wp-gpx-maps.php:509
|
||||
msgid "Total Time"
|
||||
msgstr "Teljes Idő"
|
||||
|
||||
#: ../wp-gpx-maps.php:525
|
||||
msgid "Download"
|
||||
msgstr "Letöltés"
|
||||
|
||||
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
|
||||
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
|
||||
#: ../wp-gpx-maps_admin_settings.php:364
|
||||
msgid "Save Changes"
|
||||
msgstr "Beállítások mentése"
|
||||
|
|
|
@ -1,94 +1,94 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wp-gpx-maps\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-10-30 14:48+0100\n"
|
||||
"PO-Revision-Date: 2013-02-04 09:22+0100\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"Language: it_IT\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Poedit-KeywordsList: __;_e\n"
|
||||
"X-Poedit-Basepath: .\n"
|
||||
"X-Generator: Poedit 1.5.4\n"
|
||||
"X-Poedit-SearchPath-0: ..\n"
|
||||
|
||||
#: ../wp-gpx-maps.php:467
|
||||
msgid "Altitude"
|
||||
msgstr "Altitudine"
|
||||
|
||||
#: ../wp-gpx-maps.php:468
|
||||
msgid "Current Position"
|
||||
msgstr "Posizione Corrente"
|
||||
|
||||
#: ../wp-gpx-maps.php:469
|
||||
msgid "Speed"
|
||||
msgstr "Velocità"
|
||||
|
||||
#: ../wp-gpx-maps.php:470
|
||||
msgid "Heart rate"
|
||||
msgstr "Battito Cardiaco"
|
||||
|
||||
#: ../wp-gpx-maps.php:471
|
||||
msgid "Cadence"
|
||||
msgstr "Cadenza"
|
||||
|
||||
#: ../wp-gpx-maps.php:472
|
||||
msgid "Go Full Screen"
|
||||
msgstr "Schermo intero"
|
||||
|
||||
#: ../wp-gpx-maps.php:473
|
||||
msgid "Exit Full Screen"
|
||||
msgstr "Torna a dimensioni originali"
|
||||
|
||||
#: ../wp-gpx-maps.php:474
|
||||
msgid "Hide Images"
|
||||
msgstr "Nascondi immagini"
|
||||
|
||||
#: ../wp-gpx-maps.php:475
|
||||
msgid "Show Images"
|
||||
msgstr "Mostra immagini"
|
||||
|
||||
#: ../wp-gpx-maps.php:476
|
||||
msgid "Back to center"
|
||||
msgstr "Ritorna al centro della mappa"
|
||||
|
||||
#: ../wp-gpx-maps.php:489
|
||||
msgid "Total distance"
|
||||
msgstr "Distanza totale"
|
||||
|
||||
#: ../wp-gpx-maps.php:494
|
||||
msgid "Max elevation"
|
||||
msgstr "Altitudine massima"
|
||||
|
||||
#: ../wp-gpx-maps.php:496
|
||||
msgid "Min elevation"
|
||||
msgstr "Altitudine minima"
|
||||
|
||||
#: ../wp-gpx-maps.php:498
|
||||
msgid "Total climbing"
|
||||
msgstr "Totale salita"
|
||||
|
||||
#: ../wp-gpx-maps.php:500
|
||||
msgid "Total descent"
|
||||
msgstr "Totale discesa"
|
||||
|
||||
#: ../wp-gpx-maps.php:504
|
||||
msgid "Average speed"
|
||||
msgstr "Velocità media"
|
||||
|
||||
#: ../wp-gpx-maps.php:509
|
||||
msgid "Total Time"
|
||||
msgstr "Tempo totale"
|
||||
|
||||
#: ../wp-gpx-maps.php:525
|
||||
msgid "Download"
|
||||
msgstr "Scarica"
|
||||
|
||||
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
|
||||
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
|
||||
#: ../wp-gpx-maps_admin_settings.php:364
|
||||
msgid "Save Changes"
|
||||
msgstr "Salva"
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wp-gpx-maps\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-10-30 14:48+0100\n"
|
||||
"PO-Revision-Date: 2013-02-04 09:22+0100\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"Language: it_IT\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Poedit-KeywordsList: __;_e\n"
|
||||
"X-Poedit-Basepath: .\n"
|
||||
"X-Generator: Poedit 1.5.4\n"
|
||||
"X-Poedit-SearchPath-0: ..\n"
|
||||
|
||||
#: ../wp-gpx-maps.php:467
|
||||
msgid "Altitude"
|
||||
msgstr "Altitudine"
|
||||
|
||||
#: ../wp-gpx-maps.php:468
|
||||
msgid "Current Position"
|
||||
msgstr "Posizione Corrente"
|
||||
|
||||
#: ../wp-gpx-maps.php:469
|
||||
msgid "Speed"
|
||||
msgstr "Velocità"
|
||||
|
||||
#: ../wp-gpx-maps.php:470
|
||||
msgid "Heart rate"
|
||||
msgstr "Battito Cardiaco"
|
||||
|
||||
#: ../wp-gpx-maps.php:471
|
||||
msgid "Cadence"
|
||||
msgstr "Cadenza"
|
||||
|
||||
#: ../wp-gpx-maps.php:472
|
||||
msgid "Go Full Screen"
|
||||
msgstr "Schermo intero"
|
||||
|
||||
#: ../wp-gpx-maps.php:473
|
||||
msgid "Exit Full Screen"
|
||||
msgstr "Torna a dimensioni originali"
|
||||
|
||||
#: ../wp-gpx-maps.php:474
|
||||
msgid "Hide Images"
|
||||
msgstr "Nascondi immagini"
|
||||
|
||||
#: ../wp-gpx-maps.php:475
|
||||
msgid "Show Images"
|
||||
msgstr "Mostra immagini"
|
||||
|
||||
#: ../wp-gpx-maps.php:476
|
||||
msgid "Back to center"
|
||||
msgstr "Ritorna al centro della mappa"
|
||||
|
||||
#: ../wp-gpx-maps.php:489
|
||||
msgid "Total distance"
|
||||
msgstr "Distanza totale"
|
||||
|
||||
#: ../wp-gpx-maps.php:494
|
||||
msgid "Max elevation"
|
||||
msgstr "Altitudine massima"
|
||||
|
||||
#: ../wp-gpx-maps.php:496
|
||||
msgid "Min elevation"
|
||||
msgstr "Altitudine minima"
|
||||
|
||||
#: ../wp-gpx-maps.php:498
|
||||
msgid "Total climbing"
|
||||
msgstr "Totale salita"
|
||||
|
||||
#: ../wp-gpx-maps.php:500
|
||||
msgid "Total descent"
|
||||
msgstr "Totale discesa"
|
||||
|
||||
#: ../wp-gpx-maps.php:504
|
||||
msgid "Average speed"
|
||||
msgstr "Velocità media"
|
||||
|
||||
#: ../wp-gpx-maps.php:509
|
||||
msgid "Total Time"
|
||||
msgstr "Tempo totale"
|
||||
|
||||
#: ../wp-gpx-maps.php:525
|
||||
msgid "Download"
|
||||
msgstr "Scarica"
|
||||
|
||||
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
|
||||
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
|
||||
#: ../wp-gpx-maps_admin_settings.php:364
|
||||
msgid "Save Changes"
|
||||
msgstr "Salva"
|
||||
|
|
|
@ -1,94 +1,94 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wp-gpx-maps\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-10-30 14:41+0100\n"
|
||||
"PO-Revision-Date: 2017-10-26 11:18+0900\n"
|
||||
"Last-Translator: Taisuke Shimamoto <dentostar@gmail.com>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x;_ex;_nx\n"
|
||||
"X-Poedit-Basepath: .\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
"X-Generator: Poedit 1.5.7\n"
|
||||
"X-Poedit-SearchPath-0: ..\n"
|
||||
|
||||
#: ../wp-gpx-maps.php:467
|
||||
msgid "Altitude"
|
||||
msgstr "標高"
|
||||
|
||||
#: ../wp-gpx-maps.php:468
|
||||
msgid "Current Position"
|
||||
msgstr "現在位置"
|
||||
|
||||
#: ../wp-gpx-maps.php:469
|
||||
msgid "Speed"
|
||||
msgstr "速度"
|
||||
|
||||
#: ../wp-gpx-maps.php:470
|
||||
msgid "Heart rate"
|
||||
msgstr "心拍数"
|
||||
|
||||
#: ../wp-gpx-maps.php:471
|
||||
msgid "Cadence"
|
||||
msgstr "ケイデンス"
|
||||
|
||||
#: ../wp-gpx-maps.php:472
|
||||
msgid "Go Full Screen"
|
||||
msgstr "全画面表示"
|
||||
|
||||
#: ../wp-gpx-maps.php:473
|
||||
msgid "Exit Full Screen"
|
||||
msgstr "全画面を閉じる"
|
||||
|
||||
#: ../wp-gpx-maps.php:474
|
||||
msgid "Hide Images"
|
||||
msgstr "画像を非表示"
|
||||
|
||||
#: ../wp-gpx-maps.php:475
|
||||
msgid "Show Images"
|
||||
msgstr "画像を表示"
|
||||
|
||||
#: ../wp-gpx-maps.php:476
|
||||
msgid "Back to center"
|
||||
msgstr "中心に戻る"
|
||||
|
||||
#: ../wp-gpx-maps.php:489
|
||||
msgid "Total distance"
|
||||
msgstr "走行距離"
|
||||
|
||||
#: ../wp-gpx-maps.php:494
|
||||
msgid "Max elevation"
|
||||
msgstr "最大標高"
|
||||
|
||||
#: ../wp-gpx-maps.php:496
|
||||
msgid "Min elevation"
|
||||
msgstr "最小標高"
|
||||
|
||||
#: ../wp-gpx-maps.php:498
|
||||
msgid "Total climbing"
|
||||
msgstr "累積上昇"
|
||||
|
||||
#: ../wp-gpx-maps.php:500
|
||||
msgid "Total descent"
|
||||
msgstr "累積下降"
|
||||
|
||||
#: ../wp-gpx-maps.php:504
|
||||
msgid "Average speed"
|
||||
msgstr "平均速度"
|
||||
|
||||
#: ../wp-gpx-maps.php:509
|
||||
msgid "Total Time"
|
||||
msgstr "総走行時間"
|
||||
|
||||
#: ../wp-gpx-maps.php:525
|
||||
msgid "Download"
|
||||
msgstr "ダウンロード"
|
||||
|
||||
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
|
||||
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
|
||||
#: ../wp-gpx-maps_admin_settings.php:364
|
||||
msgid "Save Changes"
|
||||
msgstr "変更を保存"
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wp-gpx-maps\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-10-30 14:41+0100\n"
|
||||
"PO-Revision-Date: 2017-10-26 11:18+0900\n"
|
||||
"Last-Translator: Taisuke Shimamoto <dentostar@gmail.com>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x;_ex;_nx\n"
|
||||
"X-Poedit-Basepath: .\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
"X-Generator: Poedit 1.5.7\n"
|
||||
"X-Poedit-SearchPath-0: ..\n"
|
||||
|
||||
#: ../wp-gpx-maps.php:467
|
||||
msgid "Altitude"
|
||||
msgstr "標高"
|
||||
|
||||
#: ../wp-gpx-maps.php:468
|
||||
msgid "Current Position"
|
||||
msgstr "現在位置"
|
||||
|
||||
#: ../wp-gpx-maps.php:469
|
||||
msgid "Speed"
|
||||
msgstr "速度"
|
||||
|
||||
#: ../wp-gpx-maps.php:470
|
||||
msgid "Heart rate"
|
||||
msgstr "心拍数"
|
||||
|
||||
#: ../wp-gpx-maps.php:471
|
||||
msgid "Cadence"
|
||||
msgstr "ケイデンス"
|
||||
|
||||
#: ../wp-gpx-maps.php:472
|
||||
msgid "Go Full Screen"
|
||||
msgstr "全画面表示"
|
||||
|
||||
#: ../wp-gpx-maps.php:473
|
||||
msgid "Exit Full Screen"
|
||||
msgstr "全画面を閉じる"
|
||||
|
||||
#: ../wp-gpx-maps.php:474
|
||||
msgid "Hide Images"
|
||||
msgstr "画像を非表示"
|
||||
|
||||
#: ../wp-gpx-maps.php:475
|
||||
msgid "Show Images"
|
||||
msgstr "画像を表示"
|
||||
|
||||
#: ../wp-gpx-maps.php:476
|
||||
msgid "Back to center"
|
||||
msgstr "中心に戻る"
|
||||
|
||||
#: ../wp-gpx-maps.php:489
|
||||
msgid "Total distance"
|
||||
msgstr "走行距離"
|
||||
|
||||
#: ../wp-gpx-maps.php:494
|
||||
msgid "Max elevation"
|
||||
msgstr "最大標高"
|
||||
|
||||
#: ../wp-gpx-maps.php:496
|
||||
msgid "Min elevation"
|
||||
msgstr "最小標高"
|
||||
|
||||
#: ../wp-gpx-maps.php:498
|
||||
msgid "Total climbing"
|
||||
msgstr "累積上昇"
|
||||
|
||||
#: ../wp-gpx-maps.php:500
|
||||
msgid "Total descent"
|
||||
msgstr "累積下降"
|
||||
|
||||
#: ../wp-gpx-maps.php:504
|
||||
msgid "Average speed"
|
||||
msgstr "平均速度"
|
||||
|
||||
#: ../wp-gpx-maps.php:509
|
||||
msgid "Total Time"
|
||||
msgstr "総走行時間"
|
||||
|
||||
#: ../wp-gpx-maps.php:525
|
||||
msgid "Download"
|
||||
msgstr "ダウンロード"
|
||||
|
||||
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
|
||||
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
|
||||
#: ../wp-gpx-maps_admin_settings.php:364
|
||||
msgid "Save Changes"
|
||||
msgstr "変更を保存"
|
||||
|
|
|
@ -1,95 +1,95 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wp-gpx-maps\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-10-30 14:41+0100\n"
|
||||
"PO-Revision-Date: 2017-09-21 20:50+0000\n"
|
||||
"Last-Translator: Thor Fredrik Eie <thordivel@gmail.com>\n"
|
||||
"Language-Team: Norwegian (Bokmål)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Poedit-KeywordsList: __;_e\n"
|
||||
"X-Poedit-Basepath: .\n"
|
||||
"X-Poedit-SearchPath-0: ..\n"
|
||||
"Language: nb-NO\n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1\n"
|
||||
"X-Generator: Loco - https://localise.biz/"
|
||||
|
||||
#: ../wp-gpx-maps.php:471
|
||||
msgid "Cadence"
|
||||
msgstr "Kadens"
|
||||
|
||||
#: ../wp-gpx-maps.php:467
|
||||
msgid "Altitude"
|
||||
msgstr "Høyde"
|
||||
|
||||
#: ../wp-gpx-maps.php:468
|
||||
msgid "Current Position"
|
||||
msgstr "Nåværende posisjon"
|
||||
|
||||
#: ../wp-gpx-maps.php:469
|
||||
msgid "Speed"
|
||||
msgstr "Fart"
|
||||
|
||||
#: ../wp-gpx-maps.php:470
|
||||
msgid "Heart rate"
|
||||
msgstr "Hjerterate"
|
||||
|
||||
#: ../wp-gpx-maps.php:472
|
||||
msgid "Go Full Screen"
|
||||
msgstr "Fullskjerm"
|
||||
|
||||
#: ../wp-gpx-maps.php:473
|
||||
msgid "Exit Full Screen"
|
||||
msgstr "Avslutt fullskjerm"
|
||||
|
||||
#: ../wp-gpx-maps.php:474
|
||||
msgid "Hide Images"
|
||||
msgstr "Skjul bilder"
|
||||
|
||||
#: ../wp-gpx-maps.php:475
|
||||
msgid "Show Images"
|
||||
msgstr "Vis bilder"
|
||||
|
||||
#: ../wp-gpx-maps.php:476
|
||||
msgid "Back to center"
|
||||
msgstr "Sentrer"
|
||||
|
||||
#: ../wp-gpx-maps.php:489
|
||||
msgid "Total distance"
|
||||
msgstr "Total distanse"
|
||||
|
||||
#: ../wp-gpx-maps.php:494
|
||||
msgid "Max elevation"
|
||||
msgstr "Maksimum høyde"
|
||||
|
||||
#: ../wp-gpx-maps.php:496
|
||||
msgid "Min elevation"
|
||||
msgstr "Minimum høyde"
|
||||
|
||||
#: ../wp-gpx-maps.php:498
|
||||
msgid "Total climbing"
|
||||
msgstr "Total klatring"
|
||||
|
||||
#: ../wp-gpx-maps.php:500
|
||||
msgid "Total descent"
|
||||
msgstr "Total nedstigning"
|
||||
|
||||
#: ../wp-gpx-maps.php:504
|
||||
msgid "Average speed"
|
||||
msgstr "Gjennomsnittsfart"
|
||||
|
||||
#: ../wp-gpx-maps.php:509
|
||||
msgid "Total Time"
|
||||
msgstr "Total tid"
|
||||
|
||||
#: ../wp-gpx-maps.php:525
|
||||
msgid "Download"
|
||||
msgstr "Last ned"
|
||||
|
||||
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
|
||||
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
|
||||
#: ../wp-gpx-maps_admin_settings.php:364
|
||||
msgid "Save Changes"
|
||||
msgstr "Lagre endringer"
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wp-gpx-maps\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-10-30 14:41+0100\n"
|
||||
"PO-Revision-Date: 2017-09-21 20:50+0000\n"
|
||||
"Last-Translator: Thor Fredrik Eie <thordivel@gmail.com>\n"
|
||||
"Language-Team: Norwegian (Bokmål)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Poedit-KeywordsList: __;_e\n"
|
||||
"X-Poedit-Basepath: .\n"
|
||||
"X-Poedit-SearchPath-0: ..\n"
|
||||
"Language: nb-NO\n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1\n"
|
||||
"X-Generator: Loco - https://localise.biz/"
|
||||
|
||||
#: ../wp-gpx-maps.php:471
|
||||
msgid "Cadence"
|
||||
msgstr "Kadens"
|
||||
|
||||
#: ../wp-gpx-maps.php:467
|
||||
msgid "Altitude"
|
||||
msgstr "Høyde"
|
||||
|
||||
#: ../wp-gpx-maps.php:468
|
||||
msgid "Current Position"
|
||||
msgstr "Nåværende posisjon"
|
||||
|
||||
#: ../wp-gpx-maps.php:469
|
||||
msgid "Speed"
|
||||
msgstr "Fart"
|
||||
|
||||
#: ../wp-gpx-maps.php:470
|
||||
msgid "Heart rate"
|
||||
msgstr "Hjerterate"
|
||||
|
||||
#: ../wp-gpx-maps.php:472
|
||||
msgid "Go Full Screen"
|
||||
msgstr "Fullskjerm"
|
||||
|
||||
#: ../wp-gpx-maps.php:473
|
||||
msgid "Exit Full Screen"
|
||||
msgstr "Avslutt fullskjerm"
|
||||
|
||||
#: ../wp-gpx-maps.php:474
|
||||
msgid "Hide Images"
|
||||
msgstr "Skjul bilder"
|
||||
|
||||
#: ../wp-gpx-maps.php:475
|
||||
msgid "Show Images"
|
||||
msgstr "Vis bilder"
|
||||
|
||||
#: ../wp-gpx-maps.php:476
|
||||
msgid "Back to center"
|
||||
msgstr "Sentrer"
|
||||
|
||||
#: ../wp-gpx-maps.php:489
|
||||
msgid "Total distance"
|
||||
msgstr "Total distanse"
|
||||
|
||||
#: ../wp-gpx-maps.php:494
|
||||
msgid "Max elevation"
|
||||
msgstr "Maksimum høyde"
|
||||
|
||||
#: ../wp-gpx-maps.php:496
|
||||
msgid "Min elevation"
|
||||
msgstr "Minimum høyde"
|
||||
|
||||
#: ../wp-gpx-maps.php:498
|
||||
msgid "Total climbing"
|
||||
msgstr "Total klatring"
|
||||
|
||||
#: ../wp-gpx-maps.php:500
|
||||
msgid "Total descent"
|
||||
msgstr "Total nedstigning"
|
||||
|
||||
#: ../wp-gpx-maps.php:504
|
||||
msgid "Average speed"
|
||||
msgstr "Gjennomsnittsfart"
|
||||
|
||||
#: ../wp-gpx-maps.php:509
|
||||
msgid "Total Time"
|
||||
msgstr "Total tid"
|
||||
|
||||
#: ../wp-gpx-maps.php:525
|
||||
msgid "Download"
|
||||
msgstr "Last ned"
|
||||
|
||||
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
|
||||
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
|
||||
#: ../wp-gpx-maps_admin_settings.php:364
|
||||
msgid "Save Changes"
|
||||
msgstr "Lagre endringer"
|
||||
|
|
|
@ -1,93 +1,93 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wp-gpx-maps\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-10-30 14:41+0100\n"
|
||||
"PO-Revision-Date: 2012-10-30 14:41+0100\n"
|
||||
"Last-Translator: Simon Koelewijn\n"
|
||||
"Language-Team: \n"
|
||||
"Language: nl_NL\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Poedit-KeywordsList: __;_e\n"
|
||||
"X-Poedit-Basepath: .\n"
|
||||
"X-Poedit-SearchPath-0: ..\n"
|
||||
|
||||
#: ../wp-gpx-maps.php:467
|
||||
msgid "Altitude"
|
||||
msgstr "Hoogte"
|
||||
|
||||
#: ../wp-gpx-maps.php:468
|
||||
msgid "Current Position"
|
||||
msgstr "Huidige Positie"
|
||||
|
||||
#: ../wp-gpx-maps.php:469
|
||||
msgid "Speed"
|
||||
msgstr "Snelheid"
|
||||
|
||||
#: ../wp-gpx-maps.php:470
|
||||
msgid "Heart rate"
|
||||
msgstr "Hartslag"
|
||||
|
||||
#: ../wp-gpx-maps.php:471
|
||||
msgid "Cadence"
|
||||
msgstr "Cadans"
|
||||
|
||||
#: ../wp-gpx-maps.php:472
|
||||
msgid "Go Full Screen"
|
||||
msgstr "Volledige Scherm"
|
||||
|
||||
#: ../wp-gpx-maps.php:473
|
||||
msgid "Exit Full Screen"
|
||||
msgstr "Verlaat Volledige Scherm"
|
||||
|
||||
#: ../wp-gpx-maps.php:474
|
||||
msgid "Hide Images"
|
||||
msgstr ""
|
||||
|
||||
#: ../wp-gpx-maps.php:475
|
||||
msgid "Show Images"
|
||||
msgstr ""
|
||||
|
||||
#: ../wp-gpx-maps.php:476
|
||||
msgid "Back to center"
|
||||
msgstr ""
|
||||
|
||||
#: ../wp-gpx-maps.php:489
|
||||
msgid "Total distance"
|
||||
msgstr ""
|
||||
|
||||
#: ../wp-gpx-maps.php:494
|
||||
msgid "Max elevation"
|
||||
msgstr ""
|
||||
|
||||
#: ../wp-gpx-maps.php:496
|
||||
msgid "Min elevation"
|
||||
msgstr ""
|
||||
|
||||
#: ../wp-gpx-maps.php:498
|
||||
msgid "Total climbing"
|
||||
msgstr ""
|
||||
|
||||
#: ../wp-gpx-maps.php:500
|
||||
msgid "Total descent"
|
||||
msgstr ""
|
||||
|
||||
#: ../wp-gpx-maps.php:504
|
||||
msgid "Average speed"
|
||||
msgstr ""
|
||||
|
||||
#: ../wp-gpx-maps.php:509
|
||||
msgid "Total Time"
|
||||
msgstr ""
|
||||
|
||||
#: ../wp-gpx-maps.php:525
|
||||
msgid "Download"
|
||||
msgstr "Download"
|
||||
|
||||
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
|
||||
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
|
||||
#: ../wp-gpx-maps_admin_settings.php:364
|
||||
msgid "Save Changes"
|
||||
msgstr "Wijzigingen Opslaan"
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wp-gpx-maps\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-10-30 14:41+0100\n"
|
||||
"PO-Revision-Date: 2012-10-30 14:41+0100\n"
|
||||
"Last-Translator: Simon Koelewijn\n"
|
||||
"Language-Team: \n"
|
||||
"Language: nl_NL\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Poedit-KeywordsList: __;_e\n"
|
||||
"X-Poedit-Basepath: .\n"
|
||||
"X-Poedit-SearchPath-0: ..\n"
|
||||
|
||||
#: ../wp-gpx-maps.php:467
|
||||
msgid "Altitude"
|
||||
msgstr "Hoogte"
|
||||
|
||||
#: ../wp-gpx-maps.php:468
|
||||
msgid "Current Position"
|
||||
msgstr "Huidige Positie"
|
||||
|
||||
#: ../wp-gpx-maps.php:469
|
||||
msgid "Speed"
|
||||
msgstr "Snelheid"
|
||||
|
||||
#: ../wp-gpx-maps.php:470
|
||||
msgid "Heart rate"
|
||||
msgstr "Hartslag"
|
||||
|
||||
#: ../wp-gpx-maps.php:471
|
||||
msgid "Cadence"
|
||||
msgstr "Cadans"
|
||||
|
||||
#: ../wp-gpx-maps.php:472
|
||||
msgid "Go Full Screen"
|
||||
msgstr "Volledige Scherm"
|
||||
|
||||
#: ../wp-gpx-maps.php:473
|
||||
msgid "Exit Full Screen"
|
||||
msgstr "Verlaat Volledige Scherm"
|
||||
|
||||
#: ../wp-gpx-maps.php:474
|
||||
msgid "Hide Images"
|
||||
msgstr ""
|
||||
|
||||
#: ../wp-gpx-maps.php:475
|
||||
msgid "Show Images"
|
||||
msgstr ""
|
||||
|
||||
#: ../wp-gpx-maps.php:476
|
||||
msgid "Back to center"
|
||||
msgstr ""
|
||||
|
||||
#: ../wp-gpx-maps.php:489
|
||||
msgid "Total distance"
|
||||
msgstr ""
|
||||
|
||||
#: ../wp-gpx-maps.php:494
|
||||
msgid "Max elevation"
|
||||
msgstr ""
|
||||
|
||||
#: ../wp-gpx-maps.php:496
|
||||
msgid "Min elevation"
|
||||
msgstr ""
|
||||
|
||||
#: ../wp-gpx-maps.php:498
|
||||
msgid "Total climbing"
|
||||
msgstr ""
|
||||
|
||||
#: ../wp-gpx-maps.php:500
|
||||
msgid "Total descent"
|
||||
msgstr ""
|
||||
|
||||
#: ../wp-gpx-maps.php:504
|
||||
msgid "Average speed"
|
||||
msgstr ""
|
||||
|
||||
#: ../wp-gpx-maps.php:509
|
||||
msgid "Total Time"
|
||||
msgstr ""
|
||||
|
||||
#: ../wp-gpx-maps.php:525
|
||||
msgid "Download"
|
||||
msgstr "Download"
|
||||
|
||||
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
|
||||
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
|
||||
#: ../wp-gpx-maps_admin_settings.php:364
|
||||
msgid "Save Changes"
|
||||
msgstr "Wijzigingen Opslaan"
|
||||
|
|
|
@ -1,95 +1,95 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wp-gpx-maps\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-10-30 14:41+0100\n"
|
||||
"PO-Revision-Date: 2013-03-10 12:33+0100\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Poedit-KeywordsList: __;_e\n"
|
||||
"X-Poedit-Basepath: .\n"
|
||||
"X-Generator: Poedit 1.5.5\n"
|
||||
"Language: pl_PL\n"
|
||||
"X-Poedit-SourceCharset: UTF-8\n"
|
||||
"X-Poedit-SearchPath-0: ..\n"
|
||||
|
||||
#: ../wp-gpx-maps.php:467
|
||||
msgid "Altitude"
|
||||
msgstr "Wysokość"
|
||||
|
||||
#: ../wp-gpx-maps.php:468
|
||||
msgid "Current Position"
|
||||
msgstr "Aktualna pozycja"
|
||||
|
||||
#: ../wp-gpx-maps.php:469
|
||||
msgid "Speed"
|
||||
msgstr "Prędkość"
|
||||
|
||||
#: ../wp-gpx-maps.php:470
|
||||
msgid "Heart rate"
|
||||
msgstr "Tętno"
|
||||
|
||||
#: ../wp-gpx-maps.php:471
|
||||
msgid "Cadence"
|
||||
msgstr "Kadencja"
|
||||
|
||||
#: ../wp-gpx-maps.php:472
|
||||
msgid "Go Full Screen"
|
||||
msgstr "Pełny ekran"
|
||||
|
||||
#: ../wp-gpx-maps.php:473
|
||||
msgid "Exit Full Screen"
|
||||
msgstr "Zamknij pełny ekran"
|
||||
|
||||
#: ../wp-gpx-maps.php:474
|
||||
msgid "Hide Images"
|
||||
msgstr "Ukryj obrazy"
|
||||
|
||||
#: ../wp-gpx-maps.php:475
|
||||
msgid "Show Images"
|
||||
msgstr "Pokaż obrazy"
|
||||
|
||||
#: ../wp-gpx-maps.php:476
|
||||
msgid "Back to center"
|
||||
msgstr "Wyśrodkuj"
|
||||
|
||||
#: ../wp-gpx-maps.php:489
|
||||
msgid "Total distance"
|
||||
msgstr "Całkowity dystans"
|
||||
|
||||
#: ../wp-gpx-maps.php:494
|
||||
msgid "Max elevation"
|
||||
msgstr "Najwyższy punkt"
|
||||
|
||||
#: ../wp-gpx-maps.php:496
|
||||
msgid "Min elevation"
|
||||
msgstr "Najniższy punkt"
|
||||
|
||||
#: ../wp-gpx-maps.php:498
|
||||
msgid "Total climbing"
|
||||
msgstr "Wyskokość podjazdów"
|
||||
|
||||
#: ../wp-gpx-maps.php:500
|
||||
msgid "Total descent"
|
||||
msgstr "Wysokość zjazdów"
|
||||
|
||||
#: ../wp-gpx-maps.php:504
|
||||
msgid "Average speed"
|
||||
msgstr "Średnia prędkość"
|
||||
|
||||
#: ../wp-gpx-maps.php:509
|
||||
msgid "Total Time"
|
||||
msgstr "Łączny czas"
|
||||
|
||||
#: ../wp-gpx-maps.php:525
|
||||
msgid "Download"
|
||||
msgstr "Pobieranie"
|
||||
|
||||
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
|
||||
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
|
||||
#: ../wp-gpx-maps_admin_settings.php:364
|
||||
msgid "Save Changes"
|
||||
msgstr "Zapisz zmiany"
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wp-gpx-maps\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-10-30 14:41+0100\n"
|
||||
"PO-Revision-Date: 2013-03-10 12:33+0100\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Poedit-KeywordsList: __;_e\n"
|
||||
"X-Poedit-Basepath: .\n"
|
||||
"X-Generator: Poedit 1.5.5\n"
|
||||
"Language: pl_PL\n"
|
||||
"X-Poedit-SourceCharset: UTF-8\n"
|
||||
"X-Poedit-SearchPath-0: ..\n"
|
||||
|
||||
#: ../wp-gpx-maps.php:467
|
||||
msgid "Altitude"
|
||||
msgstr "Wysokość"
|
||||
|
||||
#: ../wp-gpx-maps.php:468
|
||||
msgid "Current Position"
|
||||
msgstr "Aktualna pozycja"
|
||||
|
||||
#: ../wp-gpx-maps.php:469
|
||||
msgid "Speed"
|
||||
msgstr "Prędkość"
|
||||
|
||||
#: ../wp-gpx-maps.php:470
|
||||
msgid "Heart rate"
|
||||
msgstr "Tętno"
|
||||
|
||||
#: ../wp-gpx-maps.php:471
|
||||
msgid "Cadence"
|
||||
msgstr "Kadencja"
|
||||
|
||||
#: ../wp-gpx-maps.php:472
|
||||
msgid "Go Full Screen"
|
||||
msgstr "Pełny ekran"
|
||||
|
||||
#: ../wp-gpx-maps.php:473
|
||||
msgid "Exit Full Screen"
|
||||
msgstr "Zamknij pełny ekran"
|
||||
|
||||
#: ../wp-gpx-maps.php:474
|
||||
msgid "Hide Images"
|
||||
msgstr "Ukryj obrazy"
|
||||
|
||||
#: ../wp-gpx-maps.php:475
|
||||
msgid "Show Images"
|
||||
msgstr "Pokaż obrazy"
|
||||
|
||||
#: ../wp-gpx-maps.php:476
|
||||
msgid "Back to center"
|
||||
msgstr "Wyśrodkuj"
|
||||
|
||||
#: ../wp-gpx-maps.php:489
|
||||
msgid "Total distance"
|
||||
msgstr "Całkowity dystans"
|
||||
|
||||
#: ../wp-gpx-maps.php:494
|
||||
msgid "Max elevation"
|
||||
msgstr "Najwyższy punkt"
|
||||
|
||||
#: ../wp-gpx-maps.php:496
|
||||
msgid "Min elevation"
|
||||
msgstr "Najniższy punkt"
|
||||
|
||||
#: ../wp-gpx-maps.php:498
|
||||
msgid "Total climbing"
|
||||
msgstr "Wyskokość podjazdów"
|
||||
|
||||
#: ../wp-gpx-maps.php:500
|
||||
msgid "Total descent"
|
||||
msgstr "Wysokość zjazdów"
|
||||
|
||||
#: ../wp-gpx-maps.php:504
|
||||
msgid "Average speed"
|
||||
msgstr "Średnia prędkość"
|
||||
|
||||
#: ../wp-gpx-maps.php:509
|
||||
msgid "Total Time"
|
||||
msgstr "Łączny czas"
|
||||
|
||||
#: ../wp-gpx-maps.php:525
|
||||
msgid "Download"
|
||||
msgstr "Pobieranie"
|
||||
|
||||
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
|
||||
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
|
||||
#: ../wp-gpx-maps_admin_settings.php:364
|
||||
msgid "Save Changes"
|
||||
msgstr "Zapisz zmiany"
|
||||
|
|
|
@ -1,93 +1,93 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wp-gpx-maps\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-10-30 14:42+0100\n"
|
||||
"PO-Revision-Date: 2013-04-23 18:36-0300\n"
|
||||
"Last-Translator: André Ramos <kurukuru@ig.com.br>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Poedit-KeywordsList: __;_e\n"
|
||||
"X-Poedit-Basepath: .\n"
|
||||
"X-Generator: Poedit 1.5.4\n"
|
||||
"X-Poedit-SearchPath-0: ..\n"
|
||||
|
||||
#: ../wp-gpx-maps.php:467
|
||||
msgid "Altitude"
|
||||
msgstr "Altitude"
|
||||
|
||||
#: ../wp-gpx-maps.php:468
|
||||
msgid "Current Position"
|
||||
msgstr "Posição atual"
|
||||
|
||||
#: ../wp-gpx-maps.php:469
|
||||
msgid "Speed"
|
||||
msgstr "Velocidade"
|
||||
|
||||
#: ../wp-gpx-maps.php:470
|
||||
msgid "Heart rate"
|
||||
msgstr "Ritmo cardíaco"
|
||||
|
||||
#: ../wp-gpx-maps.php:471
|
||||
msgid "Cadence"
|
||||
msgstr "Cadência"
|
||||
|
||||
#: ../wp-gpx-maps.php:472
|
||||
msgid "Go Full Screen"
|
||||
msgstr "Tela cheia"
|
||||
|
||||
#: ../wp-gpx-maps.php:473
|
||||
msgid "Exit Full Screen"
|
||||
msgstr "Restaura janela"
|
||||
|
||||
#: ../wp-gpx-maps.php:474
|
||||
msgid "Hide Images"
|
||||
msgstr "Ocultar imagens"
|
||||
|
||||
#: ../wp-gpx-maps.php:475
|
||||
msgid "Show Images"
|
||||
msgstr ""
|
||||
|
||||
#: ../wp-gpx-maps.php:476
|
||||
msgid "Back to center"
|
||||
msgstr "Centralizar"
|
||||
|
||||
#: ../wp-gpx-maps.php:489
|
||||
msgid "Total distance"
|
||||
msgstr "Distância total"
|
||||
|
||||
#: ../wp-gpx-maps.php:494
|
||||
msgid "Max elevation"
|
||||
msgstr "Elevação máxima"
|
||||
|
||||
#: ../wp-gpx-maps.php:496
|
||||
msgid "Min elevation"
|
||||
msgstr "Elevação mínima"
|
||||
|
||||
#: ../wp-gpx-maps.php:498
|
||||
msgid "Total climbing"
|
||||
msgstr "Total subida"
|
||||
|
||||
#: ../wp-gpx-maps.php:500
|
||||
msgid "Total descent"
|
||||
msgstr "Total descida"
|
||||
|
||||
#: ../wp-gpx-maps.php:504
|
||||
msgid "Average speed"
|
||||
msgstr "Velocidade média"
|
||||
|
||||
#: ../wp-gpx-maps.php:509
|
||||
msgid "Total Time"
|
||||
msgstr "Tempo total"
|
||||
|
||||
#: ../wp-gpx-maps.php:525
|
||||
msgid "Download"
|
||||
msgstr "Baixar arquivo"
|
||||
|
||||
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
|
||||
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
|
||||
#: ../wp-gpx-maps_admin_settings.php:364
|
||||
msgid "Save Changes"
|
||||
msgstr "Salvar alterações"
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wp-gpx-maps\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-10-30 14:42+0100\n"
|
||||
"PO-Revision-Date: 2013-04-23 18:36-0300\n"
|
||||
"Last-Translator: André Ramos <kurukuru@ig.com.br>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Poedit-KeywordsList: __;_e\n"
|
||||
"X-Poedit-Basepath: .\n"
|
||||
"X-Generator: Poedit 1.5.4\n"
|
||||
"X-Poedit-SearchPath-0: ..\n"
|
||||
|
||||
#: ../wp-gpx-maps.php:467
|
||||
msgid "Altitude"
|
||||
msgstr "Altitude"
|
||||
|
||||
#: ../wp-gpx-maps.php:468
|
||||
msgid "Current Position"
|
||||
msgstr "Posição atual"
|
||||
|
||||
#: ../wp-gpx-maps.php:469
|
||||
msgid "Speed"
|
||||
msgstr "Velocidade"
|
||||
|
||||
#: ../wp-gpx-maps.php:470
|
||||
msgid "Heart rate"
|
||||
msgstr "Ritmo cardíaco"
|
||||
|
||||
#: ../wp-gpx-maps.php:471
|
||||
msgid "Cadence"
|
||||
msgstr "Cadência"
|
||||
|
||||
#: ../wp-gpx-maps.php:472
|
||||
msgid "Go Full Screen"
|
||||
msgstr "Tela cheia"
|
||||
|
||||
#: ../wp-gpx-maps.php:473
|
||||
msgid "Exit Full Screen"
|
||||
msgstr "Restaura janela"
|
||||
|
||||
#: ../wp-gpx-maps.php:474
|
||||
msgid "Hide Images"
|
||||
msgstr "Ocultar imagens"
|
||||
|
||||
#: ../wp-gpx-maps.php:475
|
||||
msgid "Show Images"
|
||||
msgstr ""
|
||||
|
||||
#: ../wp-gpx-maps.php:476
|
||||
msgid "Back to center"
|
||||
msgstr "Centralizar"
|
||||
|
||||
#: ../wp-gpx-maps.php:489
|
||||
msgid "Total distance"
|
||||
msgstr "Distância total"
|
||||
|
||||
#: ../wp-gpx-maps.php:494
|
||||
msgid "Max elevation"
|
||||
msgstr "Elevação máxima"
|
||||
|
||||
#: ../wp-gpx-maps.php:496
|
||||
msgid "Min elevation"
|
||||
msgstr "Elevação mínima"
|
||||
|
||||
#: ../wp-gpx-maps.php:498
|
||||
msgid "Total climbing"
|
||||
msgstr "Total subida"
|
||||
|
||||
#: ../wp-gpx-maps.php:500
|
||||
msgid "Total descent"
|
||||
msgstr "Total descida"
|
||||
|
||||
#: ../wp-gpx-maps.php:504
|
||||
msgid "Average speed"
|
||||
msgstr "Velocidade média"
|
||||
|
||||
#: ../wp-gpx-maps.php:509
|
||||
msgid "Total Time"
|
||||
msgstr "Tempo total"
|
||||
|
||||
#: ../wp-gpx-maps.php:525
|
||||
msgid "Download"
|
||||
msgstr "Baixar arquivo"
|
||||
|
||||
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
|
||||
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
|
||||
#: ../wp-gpx-maps_admin_settings.php:364
|
||||
msgid "Save Changes"
|
||||
msgstr "Salvar alterações"
|
||||
|
|
|
@ -1,93 +1,93 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wp-gpx-maps\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-10-30 14:41+0100\n"
|
||||
"PO-Revision-Date: 2013-07-17 20:50+0400\n"
|
||||
"Last-Translator: G.A.P <g.a.p@mail.ru>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Poedit-KeywordsList: __;_e\n"
|
||||
"X-Poedit-Basepath: .\n"
|
||||
"X-Generator: Poedit 1.5.7\n"
|
||||
"X-Poedit-SearchPath-0: ..\n"
|
||||
|
||||
#: ../wp-gpx-maps.php:467
|
||||
msgid "Altitude"
|
||||
msgstr "Высота"
|
||||
|
||||
#: ../wp-gpx-maps.php:468
|
||||
msgid "Current Position"
|
||||
msgstr "Текущая позиция"
|
||||
|
||||
#: ../wp-gpx-maps.php:469
|
||||
msgid "Speed"
|
||||
msgstr "Скорость"
|
||||
|
||||
#: ../wp-gpx-maps.php:470
|
||||
msgid "Heart rate"
|
||||
msgstr "Пульс"
|
||||
|
||||
#: ../wp-gpx-maps.php:471
|
||||
msgid "Cadence"
|
||||
msgstr "Каденс"
|
||||
|
||||
#: ../wp-gpx-maps.php:472
|
||||
msgid "Go Full Screen"
|
||||
msgstr "На весь экран"
|
||||
|
||||
#: ../wp-gpx-maps.php:473
|
||||
msgid "Exit Full Screen"
|
||||
msgstr "Свернуть в окно"
|
||||
|
||||
#: ../wp-gpx-maps.php:474
|
||||
msgid "Hide Images"
|
||||
msgstr "Скрыть картинки"
|
||||
|
||||
#: ../wp-gpx-maps.php:475
|
||||
msgid "Show Images"
|
||||
msgstr "Показать картинки"
|
||||
|
||||
#: ../wp-gpx-maps.php:476
|
||||
msgid "Back to center"
|
||||
msgstr "По центру"
|
||||
|
||||
#: ../wp-gpx-maps.php:489
|
||||
msgid "Total distance"
|
||||
msgstr "Дистанция"
|
||||
|
||||
#: ../wp-gpx-maps.php:494
|
||||
msgid "Max elevation"
|
||||
msgstr "Максимальная высота"
|
||||
|
||||
#: ../wp-gpx-maps.php:496
|
||||
msgid "Min elevation"
|
||||
msgstr "Минимальная высота"
|
||||
|
||||
#: ../wp-gpx-maps.php:498
|
||||
msgid "Total climbing"
|
||||
msgstr "Подъём"
|
||||
|
||||
#: ../wp-gpx-maps.php:500
|
||||
msgid "Total descent"
|
||||
msgstr "Спуск"
|
||||
|
||||
#: ../wp-gpx-maps.php:504
|
||||
msgid "Average speed"
|
||||
msgstr "Средняя скорость"
|
||||
|
||||
#: ../wp-gpx-maps.php:509
|
||||
msgid "Total Time"
|
||||
msgstr "Время"
|
||||
|
||||
#: ../wp-gpx-maps.php:525
|
||||
msgid "Download"
|
||||
msgstr "Скачать"
|
||||
|
||||
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
|
||||
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
|
||||
#: ../wp-gpx-maps_admin_settings.php:364
|
||||
msgid "Save Changes"
|
||||
msgstr "Сохранить изменения"
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wp-gpx-maps\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-10-30 14:41+0100\n"
|
||||
"PO-Revision-Date: 2013-07-17 20:50+0400\n"
|
||||
"Last-Translator: G.A.P <g.a.p@mail.ru>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Poedit-KeywordsList: __;_e\n"
|
||||
"X-Poedit-Basepath: .\n"
|
||||
"X-Generator: Poedit 1.5.7\n"
|
||||
"X-Poedit-SearchPath-0: ..\n"
|
||||
|
||||
#: ../wp-gpx-maps.php:467
|
||||
msgid "Altitude"
|
||||
msgstr "Высота"
|
||||
|
||||
#: ../wp-gpx-maps.php:468
|
||||
msgid "Current Position"
|
||||
msgstr "Текущая позиция"
|
||||
|
||||
#: ../wp-gpx-maps.php:469
|
||||
msgid "Speed"
|
||||
msgstr "Скорость"
|
||||
|
||||
#: ../wp-gpx-maps.php:470
|
||||
msgid "Heart rate"
|
||||
msgstr "Пульс"
|
||||
|
||||
#: ../wp-gpx-maps.php:471
|
||||
msgid "Cadence"
|
||||
msgstr "Каденс"
|
||||
|
||||
#: ../wp-gpx-maps.php:472
|
||||
msgid "Go Full Screen"
|
||||
msgstr "На весь экран"
|
||||
|
||||
#: ../wp-gpx-maps.php:473
|
||||
msgid "Exit Full Screen"
|
||||
msgstr "Свернуть в окно"
|
||||
|
||||
#: ../wp-gpx-maps.php:474
|
||||
msgid "Hide Images"
|
||||
msgstr "Скрыть картинки"
|
||||
|
||||
#: ../wp-gpx-maps.php:475
|
||||
msgid "Show Images"
|
||||
msgstr "Показать картинки"
|
||||
|
||||
#: ../wp-gpx-maps.php:476
|
||||
msgid "Back to center"
|
||||
msgstr "По центру"
|
||||
|
||||
#: ../wp-gpx-maps.php:489
|
||||
msgid "Total distance"
|
||||
msgstr "Дистанция"
|
||||
|
||||
#: ../wp-gpx-maps.php:494
|
||||
msgid "Max elevation"
|
||||
msgstr "Максимальная высота"
|
||||
|
||||
#: ../wp-gpx-maps.php:496
|
||||
msgid "Min elevation"
|
||||
msgstr "Минимальная высота"
|
||||
|
||||
#: ../wp-gpx-maps.php:498
|
||||
msgid "Total climbing"
|
||||
msgstr "Подъём"
|
||||
|
||||
#: ../wp-gpx-maps.php:500
|
||||
msgid "Total descent"
|
||||
msgstr "Спуск"
|
||||
|
||||
#: ../wp-gpx-maps.php:504
|
||||
msgid "Average speed"
|
||||
msgstr "Средняя скорость"
|
||||
|
||||
#: ../wp-gpx-maps.php:509
|
||||
msgid "Total Time"
|
||||
msgstr "Время"
|
||||
|
||||
#: ../wp-gpx-maps.php:525
|
||||
msgid "Download"
|
||||
msgstr "Скачать"
|
||||
|
||||
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
|
||||
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
|
||||
#: ../wp-gpx-maps_admin_settings.php:364
|
||||
msgid "Save Changes"
|
||||
msgstr "Сохранить изменения"
|
||||
|
|
|
@ -1,93 +1,93 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wp-gpx-maps\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-10-30 14:41+0100\n"
|
||||
"PO-Revision-Date: 2012-10-30 14:41+0100\n"
|
||||
"Last-Translator: Per Bjälevik <per.bjalevik@tauzero.se>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Poedit-KeywordsList: __;_e\n"
|
||||
"X-Poedit-Basepath: .\n"
|
||||
"X-Poedit-SearchPath-0: ..\n"
|
||||
|
||||
#: ../wp-gpx-maps.php:467
|
||||
msgid "Altitude"
|
||||
msgstr "Höjd"
|
||||
|
||||
#: ../wp-gpx-maps.php:468
|
||||
msgid "Current Position"
|
||||
msgstr "Aktuell position"
|
||||
|
||||
#: ../wp-gpx-maps.php:469
|
||||
msgid "Speed"
|
||||
msgstr "Hastighet"
|
||||
|
||||
#: ../wp-gpx-maps.php:470
|
||||
msgid "Heart rate"
|
||||
msgstr "Hjärtfrekvens"
|
||||
|
||||
#: ../wp-gpx-maps.php:471
|
||||
msgid "Cadence"
|
||||
msgstr "Kadens"
|
||||
|
||||
#: ../wp-gpx-maps.php:472
|
||||
msgid "Go Full Screen"
|
||||
msgstr "Gå till fullskärm"
|
||||
|
||||
#: ../wp-gpx-maps.php:473
|
||||
msgid "Exit Full Screen"
|
||||
msgstr "Avsluta fullskärm"
|
||||
|
||||
#: ../wp-gpx-maps.php:474
|
||||
msgid "Hide Images"
|
||||
msgstr ""
|
||||
|
||||
#: ../wp-gpx-maps.php:475
|
||||
msgid "Show Images"
|
||||
msgstr ""
|
||||
|
||||
#: ../wp-gpx-maps.php:476
|
||||
msgid "Back to center"
|
||||
msgstr ""
|
||||
|
||||
#: ../wp-gpx-maps.php:489
|
||||
msgid "Total distance"
|
||||
msgstr "Total distans"
|
||||
|
||||
#: ../wp-gpx-maps.php:494
|
||||
msgid "Max elevation"
|
||||
msgstr "Max höjd"
|
||||
|
||||
#: ../wp-gpx-maps.php:496
|
||||
msgid "Min elevation"
|
||||
msgstr "Min höjd"
|
||||
|
||||
#: ../wp-gpx-maps.php:498
|
||||
msgid "Total climbing"
|
||||
msgstr "Höjdstigning"
|
||||
|
||||
#: ../wp-gpx-maps.php:500
|
||||
msgid "Total descent"
|
||||
msgstr "Höjdförlust"
|
||||
|
||||
#: ../wp-gpx-maps.php:504
|
||||
msgid "Average speed"
|
||||
msgstr "Medelhastighet"
|
||||
|
||||
#: ../wp-gpx-maps.php:509
|
||||
#, fuzzy
|
||||
msgid "Total Time"
|
||||
msgstr "Total distans"
|
||||
|
||||
#: ../wp-gpx-maps.php:525
|
||||
msgid "Download"
|
||||
msgstr "Ladda ner"
|
||||
|
||||
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
|
||||
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
|
||||
#: ../wp-gpx-maps_admin_settings.php:364
|
||||
msgid "Save Changes"
|
||||
msgstr "Spara ändringar"
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wp-gpx-maps\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-10-30 14:41+0100\n"
|
||||
"PO-Revision-Date: 2012-10-30 14:41+0100\n"
|
||||
"Last-Translator: Per Bjälevik <per.bjalevik@tauzero.se>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Poedit-KeywordsList: __;_e\n"
|
||||
"X-Poedit-Basepath: .\n"
|
||||
"X-Poedit-SearchPath-0: ..\n"
|
||||
|
||||
#: ../wp-gpx-maps.php:467
|
||||
msgid "Altitude"
|
||||
msgstr "Höjd"
|
||||
|
||||
#: ../wp-gpx-maps.php:468
|
||||
msgid "Current Position"
|
||||
msgstr "Aktuell position"
|
||||
|
||||
#: ../wp-gpx-maps.php:469
|
||||
msgid "Speed"
|
||||
msgstr "Hastighet"
|
||||
|
||||
#: ../wp-gpx-maps.php:470
|
||||
msgid "Heart rate"
|
||||
msgstr "Hjärtfrekvens"
|
||||
|
||||
#: ../wp-gpx-maps.php:471
|
||||
msgid "Cadence"
|
||||
msgstr "Kadens"
|
||||
|
||||
#: ../wp-gpx-maps.php:472
|
||||
msgid "Go Full Screen"
|
||||
msgstr "Gå till fullskärm"
|
||||
|
||||
#: ../wp-gpx-maps.php:473
|
||||
msgid "Exit Full Screen"
|
||||
msgstr "Avsluta fullskärm"
|
||||
|
||||
#: ../wp-gpx-maps.php:474
|
||||
msgid "Hide Images"
|
||||
msgstr ""
|
||||
|
||||
#: ../wp-gpx-maps.php:475
|
||||
msgid "Show Images"
|
||||
msgstr ""
|
||||
|
||||
#: ../wp-gpx-maps.php:476
|
||||
msgid "Back to center"
|
||||
msgstr ""
|
||||
|
||||
#: ../wp-gpx-maps.php:489
|
||||
msgid "Total distance"
|
||||
msgstr "Total distans"
|
||||
|
||||
#: ../wp-gpx-maps.php:494
|
||||
msgid "Max elevation"
|
||||
msgstr "Max höjd"
|
||||
|
||||
#: ../wp-gpx-maps.php:496
|
||||
msgid "Min elevation"
|
||||
msgstr "Min höjd"
|
||||
|
||||
#: ../wp-gpx-maps.php:498
|
||||
msgid "Total climbing"
|
||||
msgstr "Höjdstigning"
|
||||
|
||||
#: ../wp-gpx-maps.php:500
|
||||
msgid "Total descent"
|
||||
msgstr "Höjdförlust"
|
||||
|
||||
#: ../wp-gpx-maps.php:504
|
||||
msgid "Average speed"
|
||||
msgstr "Medelhastighet"
|
||||
|
||||
#: ../wp-gpx-maps.php:509
|
||||
#, fuzzy
|
||||
msgid "Total Time"
|
||||
msgstr "Total distans"
|
||||
|
||||
#: ../wp-gpx-maps.php:525
|
||||
msgid "Download"
|
||||
msgstr "Ladda ner"
|
||||
|
||||
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
|
||||
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
|
||||
#: ../wp-gpx-maps_admin_settings.php:364
|
||||
msgid "Save Changes"
|
||||
msgstr "Spara ändringar"
|
||||
|
|
|
@ -1,94 +1,94 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wp-gpx-maps\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-10-30 14:42+0100\n"
|
||||
"PO-Revision-Date: 2012-10-30 14:42+0100\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"Language: tr_TR\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Poedit-KeywordsList: __;_e\n"
|
||||
"X-Poedit-Basepath: .\n"
|
||||
"X-Generator: Poedit 1.5.4\n"
|
||||
"X-Poedit-SearchPath-0: ..\n"
|
||||
|
||||
#: ../wp-gpx-maps.php:467
|
||||
msgid "Altitude"
|
||||
msgstr "Rakım"
|
||||
|
||||
#: ../wp-gpx-maps.php:468
|
||||
msgid "Current Position"
|
||||
msgstr "Güncel Pozisyon"
|
||||
|
||||
#: ../wp-gpx-maps.php:469
|
||||
msgid "Speed"
|
||||
msgstr "Hız"
|
||||
|
||||
#: ../wp-gpx-maps.php:470
|
||||
msgid "Heart rate"
|
||||
msgstr "Nabız"
|
||||
|
||||
#: ../wp-gpx-maps.php:471
|
||||
msgid "Cadence"
|
||||
msgstr "Kadans"
|
||||
|
||||
#: ../wp-gpx-maps.php:472
|
||||
msgid "Go Full Screen"
|
||||
msgstr "Tam Ekran Gör"
|
||||
|
||||
#: ../wp-gpx-maps.php:473
|
||||
msgid "Exit Full Screen"
|
||||
msgstr "Tam Ekrandan Çık"
|
||||
|
||||
#: ../wp-gpx-maps.php:474
|
||||
msgid "Hide Images"
|
||||
msgstr ""
|
||||
|
||||
#: ../wp-gpx-maps.php:475
|
||||
msgid "Show Images"
|
||||
msgstr ""
|
||||
|
||||
#: ../wp-gpx-maps.php:476
|
||||
msgid "Back to center"
|
||||
msgstr ""
|
||||
|
||||
#: ../wp-gpx-maps.php:489
|
||||
msgid "Total distance"
|
||||
msgstr "Toplam Mesafe"
|
||||
|
||||
#: ../wp-gpx-maps.php:494
|
||||
msgid "Max elevation"
|
||||
msgstr "Maks. İrtifa"
|
||||
|
||||
#: ../wp-gpx-maps.php:496
|
||||
msgid "Min elevation"
|
||||
msgstr "Min. İrtifa"
|
||||
|
||||
#: ../wp-gpx-maps.php:498
|
||||
msgid "Total climbing"
|
||||
msgstr "Toplam Tırmanış"
|
||||
|
||||
#: ../wp-gpx-maps.php:500
|
||||
msgid "Total descent"
|
||||
msgstr "Toplam İniş"
|
||||
|
||||
#: ../wp-gpx-maps.php:504
|
||||
msgid "Average speed"
|
||||
msgstr "Ortalama Hız"
|
||||
|
||||
#: ../wp-gpx-maps.php:509
|
||||
msgid "Total Time"
|
||||
msgstr "Toplam Süre"
|
||||
|
||||
#: ../wp-gpx-maps.php:525
|
||||
msgid "Download"
|
||||
msgstr "İndir"
|
||||
|
||||
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
|
||||
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
|
||||
#: ../wp-gpx-maps_admin_settings.php:364
|
||||
msgid "Save Changes"
|
||||
msgstr "Değişiklikleri Kaydet"
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: wp-gpx-maps\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-10-30 14:42+0100\n"
|
||||
"PO-Revision-Date: 2012-10-30 14:42+0100\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"Language: tr_TR\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Poedit-KeywordsList: __;_e\n"
|
||||
"X-Poedit-Basepath: .\n"
|
||||
"X-Generator: Poedit 1.5.4\n"
|
||||
"X-Poedit-SearchPath-0: ..\n"
|
||||
|
||||
#: ../wp-gpx-maps.php:467
|
||||
msgid "Altitude"
|
||||
msgstr "Rakım"
|
||||
|
||||
#: ../wp-gpx-maps.php:468
|
||||
msgid "Current Position"
|
||||
msgstr "Güncel Pozisyon"
|
||||
|
||||
#: ../wp-gpx-maps.php:469
|
||||
msgid "Speed"
|
||||
msgstr "Hız"
|
||||
|
||||
#: ../wp-gpx-maps.php:470
|
||||
msgid "Heart rate"
|
||||
msgstr "Nabız"
|
||||
|
||||
#: ../wp-gpx-maps.php:471
|
||||
msgid "Cadence"
|
||||
msgstr "Kadans"
|
||||
|
||||
#: ../wp-gpx-maps.php:472
|
||||
msgid "Go Full Screen"
|
||||
msgstr "Tam Ekran Gör"
|
||||
|
||||
#: ../wp-gpx-maps.php:473
|
||||
msgid "Exit Full Screen"
|
||||
msgstr "Tam Ekrandan Çık"
|
||||
|
||||
#: ../wp-gpx-maps.php:474
|
||||
msgid "Hide Images"
|
||||
msgstr ""
|
||||
|
||||
#: ../wp-gpx-maps.php:475
|
||||
msgid "Show Images"
|
||||
msgstr ""
|
||||
|
||||
#: ../wp-gpx-maps.php:476
|
||||
msgid "Back to center"
|
||||
msgstr ""
|
||||
|
||||
#: ../wp-gpx-maps.php:489
|
||||
msgid "Total distance"
|
||||
msgstr "Toplam Mesafe"
|
||||
|
||||
#: ../wp-gpx-maps.php:494
|
||||
msgid "Max elevation"
|
||||
msgstr "Maks. İrtifa"
|
||||
|
||||
#: ../wp-gpx-maps.php:496
|
||||
msgid "Min elevation"
|
||||
msgstr "Min. İrtifa"
|
||||
|
||||
#: ../wp-gpx-maps.php:498
|
||||
msgid "Total climbing"
|
||||
msgstr "Toplam Tırmanış"
|
||||
|
||||
#: ../wp-gpx-maps.php:500
|
||||
msgid "Total descent"
|
||||
msgstr "Toplam İniş"
|
||||
|
||||
#: ../wp-gpx-maps.php:504
|
||||
msgid "Average speed"
|
||||
msgstr "Ortalama Hız"
|
||||
|
||||
#: ../wp-gpx-maps.php:509
|
||||
msgid "Total Time"
|
||||
msgstr "Toplam Süre"
|
||||
|
||||
#: ../wp-gpx-maps.php:525
|
||||
msgid "Download"
|
||||
msgstr "İndir"
|
||||
|
||||
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
|
||||
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
|
||||
#: ../wp-gpx-maps_admin_settings.php:364
|
||||
msgid "Save Changes"
|
||||
msgstr "Değişiklikleri Kaydet"
|
||||
|
|
|
@ -5,7 +5,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
|
|||
Tags: maps, gpx, gps, graph, chart, leaflet, track, garmin, image, nextgen-gallery, nextgen, exif, OpenStreetMap, OpenCycleMap, Hike&Bike, heart rate, heartrate, cadence
|
||||
Requires at least: 2.0.0
|
||||
Tested up to: 4.9.8
|
||||
Stable tag: 1.6.03
|
||||
Stable tag: 1.6.04
|
||||
|
||||
Draws a gpx track with altitude graph. You can also display your nextgen gallery images in the map.
|
||||
|
||||
|
@ -153,6 +153,11 @@ Yes!
|
|||
1. Altitude & Speed & Hearth rate
|
||||
|
||||
== Changelog ==
|
||||
= 1.6.04 =
|
||||
* NGG gallery is working
|
||||
* Getting HR, Cad and Temp working again (thanks to cyclinggeorgian)
|
||||
* Fix javascript errors
|
||||
* Fix multiple traks gpx
|
||||
= 1.6.03 =
|
||||
* Fix syntax error causing graph not to display (thanks to nickstabler)
|
||||
= 1.6.02 =
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* Plugin Name: WP-GPX-Maps
|
||||
* Plugin URI: http://www.devfarm.it/
|
||||
* Description: Draws a GPX track with altitude chart
|
||||
* Version: 1.6.03
|
||||
* Version: 1.6.04
|
||||
* Author: Bastianon Massimo
|
||||
* Author URI: http://www.devfarm.it/
|
||||
* Text Domain: wp-gpx-maps
|
||||
|
@ -64,33 +64,21 @@ function enqueue_WP_GPX_Maps_scripts_admin($hook)
|
|||
function enqueue_WP_GPX_Maps_scripts() {
|
||||
|
||||
/* leaflet */
|
||||
|
||||
wp_register_style( 'leaflet', plugins_url( '/ThirdParties/Leaflet_1.3.1/leaflet.css', __FILE__ ), array(), "1.3.1" );
|
||||
wp_enqueue_style( 'leaflet' );
|
||||
wp_enqueue_style( 'leaflet' ); wp_register_style( 'leaflet.markercluster', plugins_url( '/ThirdParties/Leaflet.markercluster-1.4.1/MarkerCluster.css', __FILE__ ), array(), "0" ); wp_enqueue_style( 'leaflet.markercluster' ); wp_register_style( 'leaflet.Photo', plugins_url( '/ThirdParties/Leaflet.Photo/Leaflet.Photo.css', __FILE__ ), array(), "0" ); wp_enqueue_style( 'leaflet.Photo' );
|
||||
|
||||
wp_register_style( 'leaflet.fullscreen', plugins_url( '/ThirdParties/leaflet.fullscreen-1.1.4/Control.FullScreen.css', __FILE__ ), array(), "1.3.1" );
|
||||
wp_enqueue_style( 'leaflet.fullscreen' );
|
||||
|
||||
wp_register_script('leaflet', plugins_url( '/ThirdParties/Leaflet_1.3.1/leaflet.js', __FILE__ ), array(), "1.3.1" );
|
||||
wp_register_script('leaflet.fullscreen', plugins_url( '/ThirdParties/leaflet.fullscreen-1.1.4/Control.FullScreen.js', __FILE__ ), array(), "1.1.4" );
|
||||
wp_register_script('leaflet', plugins_url( '/ThirdParties/Leaflet_1.3.1/leaflet.js', __FILE__ ), array(), "1.3.1" ); wp_register_script('leaflet.markercluster', plugins_url( '/ThirdParties/Leaflet.markercluster-1.4.1/leaflet.markercluster.js', __FILE__ ), array('leaflet'), "0" ); wp_register_script('leaflet.Photo', plugins_url( '/ThirdParties/Leaflet.Photo/Leaflet.Photo.js', __FILE__ ), array('leaflet','leaflet.markercluster'), "0" );
|
||||
wp_register_script('leaflet.fullscreen', plugins_url( '/ThirdParties/leaflet.fullscreen-1.1.4/Control.FullScreen.js', __FILE__ ), array('leaflet'), "1.1.4" );
|
||||
|
||||
/* chartjs */
|
||||
|
||||
wp_register_script('chartjs', plugins_url( '/js/Chart.min.js', __FILE__ ), array(), "2.7.2" );
|
||||
wp_register_script('WP-GPX-Maps', plugins_url( '/js/WP-GPX-Maps.js', __FILE__ ), array('jquery','leaflet','chartjs'), "1.6.03" );
|
||||
|
||||
wp_register_script('WP-GPX-Maps', plugins_url( '/js/WP-GPX-Maps.js', __FILE__ ), array('jquery','leaflet','chartjs'), "1.6.04" );
|
||||
|
||||
/*
|
||||
$wpgpxmaps_googlemapsv3_apikey = get_option('wpgpxmaps_googlemapsv3_apikey');
|
||||
|
||||
if ($wpgpxmaps_googlemapsv3_apikey) {
|
||||
wp_enqueue_script('googlemaps', '//maps.googleapis.com/maps/api/js?key='.$wpgpxmaps_googlemapsv3_apikey, null, null);
|
||||
}
|
||||
else {
|
||||
wp_enqueue_script('googlemaps', '//maps.googleapis.com/maps/api/js', null, null);
|
||||
}
|
||||
*/
|
||||
|
||||
wp_enqueue_script('leaflet');
|
||||
wp_enqueue_script('leaflet'); wp_enqueue_script('leaflet.markercluster'); wp_enqueue_script('leaflet.Photo');
|
||||
wp_enqueue_script('leaflet.fullscreen');
|
||||
wp_enqueue_script('jquery');
|
||||
wp_enqueue_script('chartjs');
|
||||
|
|
|
@ -1,159 +1,159 @@
|
|||
<?php
|
||||
|
||||
if ( is_admin() ){
|
||||
add_action('admin_menu', 'wpgpxmaps_admin_menu');
|
||||
}
|
||||
|
||||
function wpgpxmaps_admin_menu() {
|
||||
if ( current_user_can('manage_options') ){
|
||||
add_options_page('WP GPX Maps', 'WP GPX Maps', 'manage_options', 'WP-GPX-Maps', 'WP_GPX_Maps_html_page');
|
||||
}
|
||||
else if ( current_user_can('publish_posts') ) {
|
||||
add_menu_page('WP GPX Maps', 'WP GPX Maps', 'publish_posts', 'WP-GPX-Maps', 'WP_GPX_Maps_html_page');
|
||||
}
|
||||
}
|
||||
|
||||
function wpgpxmaps_ilc_admin_tabs( $current ) {
|
||||
|
||||
if (current_user_can('manage_options'))
|
||||
{
|
||||
$tabs = array( 'tracks' => 'Tracks', 'settings' => 'Settings', 'help' => "help" );
|
||||
}
|
||||
else if ( current_user_can('publish_posts') ) {
|
||||
$tabs = array( 'tracks' => 'Tracks', 'help' => "help" );
|
||||
}
|
||||
|
||||
echo '<h2 class="nav-tab-wrapper">';
|
||||
foreach( $tabs as $tab => $name ){
|
||||
$class = ( $tab == $current ) ? ' nav-tab-active' : '';
|
||||
echo "<a class='nav-tab$class' href='?page=WP-GPX-Maps&tab=$tab'>$name</a>";
|
||||
}
|
||||
echo '</h2>';
|
||||
}
|
||||
|
||||
function WP_GPX_Maps_html_page() {
|
||||
$realGpxPath = gpxFolderPath();
|
||||
$cacheGpxPath = gpxCacheFolderPath();
|
||||
$relativeGpxPath = relativeGpxFolderPath();
|
||||
$relativeGpxPath = str_replace("\\","/", $relativeGpxPath);
|
||||
|
||||
$tab = $_GET['tab'];
|
||||
|
||||
if ($tab == '')
|
||||
$tab = 'tracks';
|
||||
|
||||
?>
|
||||
<div id="icon-themes" class="icon32"><br></div>
|
||||
<h2>WP GPX Settings</h2>
|
||||
<?php
|
||||
|
||||
if(file_exists($realGpxPath) && is_dir($realGpxPath))
|
||||
{
|
||||
//dir exsist!
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!@mkdir($realGpxPath,0755,true)) {
|
||||
echo '<div class="error" style="padding:10px">
|
||||
Can\'t create <b>'.$realGpxPath.'</b> folder. Please create it and make it writable!<br />
|
||||
If not, you will must update the file manually!
|
||||
</div>';
|
||||
}
|
||||
}
|
||||
|
||||
if(file_exists($cacheGpxPath) && is_dir($cacheGpxPath))
|
||||
{
|
||||
//dir exsist!
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!@mkdir($cacheGpxPath,0755,true)) {
|
||||
echo '<div class="error" style="padding:10px">
|
||||
Can\'t create <b>'.$cacheGpxPath.'</b> folder. Please create it and make it writable!<br />
|
||||
If not, cache will not created and your site could be slower!
|
||||
</div>';
|
||||
}
|
||||
}
|
||||
|
||||
wpgpxmaps_ilc_admin_tabs($tab);
|
||||
|
||||
if ($tab == "tracks")
|
||||
{
|
||||
include 'wp-gpx-maps_admin_tracks.php';
|
||||
}
|
||||
else if ($tab == "settings")
|
||||
{
|
||||
include 'wp-gpx-maps_admin_settings.php';
|
||||
}
|
||||
else if ($tab == "help")
|
||||
{
|
||||
?>
|
||||
|
||||
<div style="padding:10px;">
|
||||
<b>The fastest way to use this plugin:</b><br /> upload the file using the uploader in the first tab, than copy the shortcode from the list and paste it in the pages/posts.
|
||||
<p>You can manually set the relative path to your gpx: <b>[sgpx gpx="<?php echo $relativeGpxPath; ?>< gpx file name >"]</b>.</p>
|
||||
<p>You can also use gpx from other sites: <b>[sgpx gpx="http://www.someone.com/somewhere/somefile.gpx"]</b></p>
|
||||
<hr />
|
||||
<p>
|
||||
<i>Full set of attributes:</i> <b>[sgpx gpx="<?php echo $relativeGpxPath; ?>< gpx file name >" </b>
|
||||
<em>>> read below all the optional attributes <<</em>
|
||||
<b>]</b>
|
||||
|
||||
<ul>
|
||||
<li><b>gpx</b>: relative path to gpx
|
||||
</li><li><b>width</b>: width in pixels
|
||||
</li><li><b>mheight</b>: map height
|
||||
</li><li><b>gheight</b>: graph height
|
||||
</li><li><b>mtype</b>: map available types are: HYBRID, ROADMAP, SATELLITE, TERRAIN, OSM1 (Open Street Map), OSM2 (Open Cycle Map), OSM3 (Hike & Bike), OSM4 (Open Cycle Map - Transport), OSM5 (Open Cycle Map - Landscape), OSM6 (MapToolKit - Terrain)
|
||||
</li><li><b>waypoints</b>: print the gpx waypoints inside the map (default is FALSE)
|
||||
</li><li><b>donotreducegpx</b>: print all the point without reduce it (default is FALSE)
|
||||
</li><li><b>pointsoffset</b>: skip points closer than XX meters(default is 10)
|
||||
</li><li><b>uom</b>: distance/altitude possible unit of measure are: 0, 1, 2, 3, 4, 5 (0 = meters, 1 = feet/miles, 2 = meters/kilometers, 3 = meters/nautical miles, 4 = meters/miles, 5 = feet/nautical miles)
|
||||
</li><li><b>mlinecolor</b>: map line color (default is #3366cc)
|
||||
</li><li><b>glinecolor</b>: altitude line color (default is #3366cc)
|
||||
</li><li><b>showspeed</b>: show speed inside the chart (default is FALSE)
|
||||
</li><li><b>showhr</b>: show heart rate inside the chart (default is FALSE)
|
||||
</li><li><b>showele</b>: show elevation data inside the chart (default is TRUE)
|
||||
</li><li><b>showcad</b>: show cadence inside the chart (default is FALSE)
|
||||
</li><li><b>showgrade</b>: show grade inside the chart (default is FALSE)
|
||||
</li><li><b>glinecolorspeed</b>: speed line color (default is #ff0000)
|
||||
</li><li><b>glinecolorhr</b>: heart rate line color (default is #ff77bd)
|
||||
</li><li><b>glinecolorcad</b>: cadence line color (default is #beecff)
|
||||
</li><li><b>glinecolorgrade</b>: grade line color (default is #beecff)
|
||||
</li><li><b>uomspeed</b>: unit of measure for speed are: 0, 1, 2, 3, 4, 5 (0 = m/s, 1 = km/h, 2 = miles/h, 3 = min/km, 4 = min/miles, 5 = Nautical Miles/Hour (Knots), 6 = min/100 meters)
|
||||
</li><li><b>chartFrom1</b>: minimun value for altitude chart
|
||||
</li><li><b>chartTo1</b>: maxumin value for altitude chart
|
||||
</li><li><b>chartFrom2</b>: minimun value for speed chart
|
||||
</li><li><b>chartTo2</b>: maxumin value for speed chart
|
||||
</li><li><b>startIcon</b>: Start track icon
|
||||
</li><li><b>endIcon</b>: End track icon
|
||||
</li><li><b>currentIcon</b>: Current position icon (when mouse hover)
|
||||
</li><li><b>waypointicon</b>: waypoint custom icon
|
||||
</li><li><b>nggalleries</b>: NextGen Gallery id or a list of Galleries id separated by a comma
|
||||
</li><li><b>ngimages</b>: NextGen Image id or a list of Images id separated by a comma
|
||||
</li><li><b>dtoffset</b>: the difference (in seconds) between your gpx tool date and your camera date
|
||||
</li><li><b>zoomonscrollwheel</b>: zoom on map when mouse scroll wheel
|
||||
</li><li><b>download</b>: Allow users to download your GPX file
|
||||
</li><li><b>skipcache</b>: Do not use cache. If TRUE might be very slow (default is FALSE)
|
||||
</li><li><b>summary</b>: Print summary details of your GPX (default is FALSE)
|
||||
</li><li><b>summarytotlen</b>: Print Total distance in summary table (default is FALSE)
|
||||
</li><li><b>summarymaxele</b>: Print Max Elevation in summary table (default is FALSE)
|
||||
</li><li><b>summaryminele</b>: Print Min Elevation in summary table (default is FALSE)
|
||||
</li><li><b>summaryeleup</b>: Print Total climbing in summary table (default is FALSE)
|
||||
</li><li><b>summaryeledown</b>: Print Total descent in summary table (default is FALSE)
|
||||
</li><li><b>summaryavgspeed</b>: Print Average Speed in summary table (default is FALSE)
|
||||
</li><li><b>summarytotaltime</b>: Print Total time in summary table (default is FALSE) </li>
|
||||
</ul>
|
||||
|
||||
<p>
|
||||
<a href="http://devfarm.it/forums/forum/wp-gpx-maps/">Bugs, problems, thanks and anything else here!</a>
|
||||
</p>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
}
|
||||
|
||||
}
|
||||
<?php
|
||||
|
||||
if ( is_admin() ){
|
||||
add_action('admin_menu', 'wpgpxmaps_admin_menu');
|
||||
}
|
||||
|
||||
function wpgpxmaps_admin_menu() {
|
||||
if ( current_user_can('manage_options') ){
|
||||
add_options_page('WP GPX Maps', 'WP GPX Maps', 'manage_options', 'WP-GPX-Maps', 'WP_GPX_Maps_html_page');
|
||||
}
|
||||
else if ( current_user_can('publish_posts') ) {
|
||||
add_menu_page('WP GPX Maps', 'WP GPX Maps', 'publish_posts', 'WP-GPX-Maps', 'WP_GPX_Maps_html_page');
|
||||
}
|
||||
}
|
||||
|
||||
function wpgpxmaps_ilc_admin_tabs( $current ) {
|
||||
|
||||
if (current_user_can('manage_options'))
|
||||
{
|
||||
$tabs = array( 'tracks' => 'Tracks', 'settings' => 'Settings', 'help' => "help" );
|
||||
}
|
||||
else if ( current_user_can('publish_posts') ) {
|
||||
$tabs = array( 'tracks' => 'Tracks', 'help' => "help" );
|
||||
}
|
||||
|
||||
echo '<h2 class="nav-tab-wrapper">';
|
||||
foreach( $tabs as $tab => $name ){
|
||||
$class = ( $tab == $current ) ? ' nav-tab-active' : '';
|
||||
echo "<a class='nav-tab$class' href='?page=WP-GPX-Maps&tab=$tab'>$name</a>";
|
||||
}
|
||||
echo '</h2>';
|
||||
}
|
||||
|
||||
function WP_GPX_Maps_html_page() {
|
||||
$realGpxPath = gpxFolderPath();
|
||||
$cacheGpxPath = gpxCacheFolderPath();
|
||||
$relativeGpxPath = relativeGpxFolderPath();
|
||||
$relativeGpxPath = str_replace("\\","/", $relativeGpxPath);
|
||||
|
||||
$tab = $_GET['tab'];
|
||||
|
||||
if ($tab == '')
|
||||
$tab = 'tracks';
|
||||
|
||||
?>
|
||||
<div id="icon-themes" class="icon32"><br></div>
|
||||
<h2>WP GPX Settings</h2>
|
||||
<?php
|
||||
|
||||
if(file_exists($realGpxPath) && is_dir($realGpxPath))
|
||||
{
|
||||
//dir exsist!
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!@mkdir($realGpxPath,0755,true)) {
|
||||
echo '<div class="error" style="padding:10px">
|
||||
Can\'t create <b>'.$realGpxPath.'</b> folder. Please create it and make it writable!<br />
|
||||
If not, you will must update the file manually!
|
||||
</div>';
|
||||
}
|
||||
}
|
||||
|
||||
if(file_exists($cacheGpxPath) && is_dir($cacheGpxPath))
|
||||
{
|
||||
//dir exsist!
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!@mkdir($cacheGpxPath,0755,true)) {
|
||||
echo '<div class="error" style="padding:10px">
|
||||
Can\'t create <b>'.$cacheGpxPath.'</b> folder. Please create it and make it writable!<br />
|
||||
If not, cache will not created and your site could be slower!
|
||||
</div>';
|
||||
}
|
||||
}
|
||||
|
||||
wpgpxmaps_ilc_admin_tabs($tab);
|
||||
|
||||
if ($tab == "tracks")
|
||||
{
|
||||
include 'wp-gpx-maps_admin_tracks.php';
|
||||
}
|
||||
else if ($tab == "settings")
|
||||
{
|
||||
include 'wp-gpx-maps_admin_settings.php';
|
||||
}
|
||||
else if ($tab == "help")
|
||||
{
|
||||
?>
|
||||
|
||||
<div style="padding:10px;">
|
||||
<b>The fastest way to use this plugin:</b><br /> upload the file using the uploader in the first tab, than copy the shortcode from the list and paste it in the pages/posts.
|
||||
<p>You can manually set the relative path to your gpx: <b>[sgpx gpx="<?php echo $relativeGpxPath; ?>< gpx file name >"]</b>.</p>
|
||||
<p>You can also use gpx from other sites: <b>[sgpx gpx="http://www.someone.com/somewhere/somefile.gpx"]</b></p>
|
||||
<hr />
|
||||
<p>
|
||||
<i>Full set of attributes:</i> <b>[sgpx gpx="<?php echo $relativeGpxPath; ?>< gpx file name >" </b>
|
||||
<em>>> read below all the optional attributes <<</em>
|
||||
<b>]</b>
|
||||
|
||||
<ul>
|
||||
<li><b>gpx</b>: relative path to gpx
|
||||
</li><li><b>width</b>: width in pixels
|
||||
</li><li><b>mheight</b>: map height
|
||||
</li><li><b>gheight</b>: graph height
|
||||
</li><li><b>mtype</b>: map available types are: HYBRID, ROADMAP, SATELLITE, TERRAIN, OSM1 (Open Street Map), OSM2 (Open Cycle Map), OSM3 (Hike & Bike), OSM4 (Open Cycle Map - Transport), OSM5 (Open Cycle Map - Landscape), OSM6 (MapToolKit - Terrain)
|
||||
</li><li><b>waypoints</b>: print the gpx waypoints inside the map (default is FALSE)
|
||||
</li><li><b>donotreducegpx</b>: print all the point without reduce it (default is FALSE)
|
||||
</li><li><b>pointsoffset</b>: skip points closer than XX meters(default is 10)
|
||||
</li><li><b>uom</b>: distance/altitude possible unit of measure are: 0, 1, 2, 3, 4, 5 (0 = meters, 1 = feet/miles, 2 = meters/kilometers, 3 = meters/nautical miles, 4 = meters/miles, 5 = feet/nautical miles)
|
||||
</li><li><b>mlinecolor</b>: map line color (default is #3366cc)
|
||||
</li><li><b>glinecolor</b>: altitude line color (default is #3366cc)
|
||||
</li><li><b>showspeed</b>: show speed inside the chart (default is FALSE)
|
||||
</li><li><b>showhr</b>: show heart rate inside the chart (default is FALSE)
|
||||
</li><li><b>showele</b>: show elevation data inside the chart (default is TRUE)
|
||||
</li><li><b>showcad</b>: show cadence inside the chart (default is FALSE)
|
||||
</li><li><b>showgrade</b>: show grade inside the chart (default is FALSE)
|
||||
</li><li><b>glinecolorspeed</b>: speed line color (default is #ff0000)
|
||||
</li><li><b>glinecolorhr</b>: heart rate line color (default is #ff77bd)
|
||||
</li><li><b>glinecolorcad</b>: cadence line color (default is #beecff)
|
||||
</li><li><b>glinecolorgrade</b>: grade line color (default is #beecff)
|
||||
</li><li><b>uomspeed</b>: unit of measure for speed are: 0, 1, 2, 3, 4, 5 (0 = m/s, 1 = km/h, 2 = miles/h, 3 = min/km, 4 = min/miles, 5 = Nautical Miles/Hour (Knots), 6 = min/100 meters)
|
||||
</li><li><b>chartFrom1</b>: minimun value for altitude chart
|
||||
</li><li><b>chartTo1</b>: maxumin value for altitude chart
|
||||
</li><li><b>chartFrom2</b>: minimun value for speed chart
|
||||
</li><li><b>chartTo2</b>: maxumin value for speed chart
|
||||
</li><li><b>startIcon</b>: Start track icon
|
||||
</li><li><b>endIcon</b>: End track icon
|
||||
</li><li><b>currentIcon</b>: Current position icon (when mouse hover)
|
||||
</li><li><b>waypointicon</b>: waypoint custom icon
|
||||
</li><li><b>nggalleries</b>: NextGen Gallery id or a list of Galleries id separated by a comma
|
||||
</li><li><b>ngimages</b>: NextGen Image id or a list of Images id separated by a comma
|
||||
</li><li><b>dtoffset</b>: the difference (in seconds) between your gpx tool date and your camera date
|
||||
</li><li><b>zoomonscrollwheel</b>: zoom on map when mouse scroll wheel
|
||||
</li><li><b>download</b>: Allow users to download your GPX file
|
||||
</li><li><b>skipcache</b>: Do not use cache. If TRUE might be very slow (default is FALSE)
|
||||
</li><li><b>summary</b>: Print summary details of your GPX (default is FALSE)
|
||||
</li><li><b>summarytotlen</b>: Print Total distance in summary table (default is FALSE)
|
||||
</li><li><b>summarymaxele</b>: Print Max Elevation in summary table (default is FALSE)
|
||||
</li><li><b>summaryminele</b>: Print Min Elevation in summary table (default is FALSE)
|
||||
</li><li><b>summaryeleup</b>: Print Total climbing in summary table (default is FALSE)
|
||||
</li><li><b>summaryeledown</b>: Print Total descent in summary table (default is FALSE)
|
||||
</li><li><b>summaryavgspeed</b>: Print Average Speed in summary table (default is FALSE)
|
||||
</li><li><b>summarytotaltime</b>: Print Total time in summary table (default is FALSE) </li>
|
||||
</ul>
|
||||
|
||||
<p>
|
||||
<a href="http://devfarm.it/forums/forum/wp-gpx-maps/">Bugs, problems, thanks and anything else here!</a>
|
||||
</p>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
|
@ -1,459 +1,459 @@
|
|||
<?php
|
||||
|
||||
if ( !current_user_can('manage_options') )
|
||||
return;
|
||||
|
||||
$po = get_option('wpgpxmaps_pointsoffset');
|
||||
$showW = get_option("wpgpxmaps_show_waypoint");
|
||||
$donotreducegpx = get_option("wpgpxmaps_donotreducegpx");
|
||||
$t = get_option('wpgpxmaps_map_type');
|
||||
$uom = get_option('wpgpxmaps_unit_of_measure');
|
||||
$uomSpeed = get_option('wpgpxmaps_unit_of_measure_speed');
|
||||
$showEle = get_option("wpgpxmaps_show_elevation");
|
||||
$showSpeed = get_option('wpgpxmaps_show_speed');
|
||||
$showHr = get_option('wpgpxmaps_show_hr');
|
||||
$showAtemp = get_option('wpgpxmaps_show_atemp');
|
||||
|
||||
$showCad = get_option('wpgpxmaps_show_cadence');
|
||||
$showGrade = get_option('wpgpxmaps_show_grade');
|
||||
$zoomonscrollwheel = get_option("wpgpxmaps_zoomonscrollwheel");
|
||||
$download = get_option("wpgpxmaps_download");
|
||||
$skipcache = get_option("wpgpxmaps_skipcache");
|
||||
|
||||
$summary = get_option("wpgpxmaps_summary");
|
||||
$tot_len = get_option("wpgpxmaps_summary_tot_len");
|
||||
$min_ele = get_option("wpgpxmaps_summary_min_ele");
|
||||
$max_ele = get_option("wpgpxmaps_summary_max_ele");
|
||||
$total_ele_up = get_option("wpgpxmaps_summary_total_ele_up");
|
||||
$total_ele_down = get_option("wpgpxmaps_summary_total_ele_down");
|
||||
$avg_speed = get_option("wpgpxmaps_summary_avg_speed");
|
||||
$total_time = get_option("wpgpxmaps_summary_total_time");
|
||||
|
||||
$usegpsposition = get_option("wpgpxmaps_usegpsposition");
|
||||
$distanceType = get_option("wpgpxmaps_distance_type");
|
||||
|
||||
if (empty($showEle))
|
||||
$showEle = "true";
|
||||
|
||||
if (!($t))
|
||||
$t = 'HYBRID';
|
||||
if (!($po))
|
||||
$po = 10;
|
||||
|
||||
?>
|
||||
|
||||
<form method="post" action="options.php">
|
||||
|
||||
<?php wp_nonce_field('update-options') ?>
|
||||
|
||||
<h3 class="title">General</h3>
|
||||
|
||||
<table class="form-table">
|
||||
<tr>
|
||||
<th scope="row">Width:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_width" type="text" id="wpgpxmaps_width" value="<?php echo get_option('wpgpxmaps_width'); ?>" style="width:50px;" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Map Height:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_height" type="text" id="wpgpxmaps_height" value="<?php echo get_option('wpgpxmaps_height'); ?>" style="width:50px;" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Graph Height:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_graph_height" type="text" id="wpgpxmaps_graph_height" value="<?php echo get_option('wpgpxmaps_graph_height'); ?>" style="width:50px;" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Distance type:</th>
|
||||
<td>
|
||||
<select name='wpgpxmaps_distance_type'>
|
||||
<option value="0" <?php if ($distanceType == '0' || $distanceType == '') echo 'selected'; ?>>Normal (default)</option>
|
||||
<option value="1" <?php if ($distanceType == '1') echo 'selected'; ?>>Flat → (Only flat distance, don't take care of altitude)</option>
|
||||
<option value="2" <?php if ($distanceType == '2') echo 'selected'; ?>>Climb ↑ (Only climb distance)</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th scope="row">Cache:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_skipcache" type="checkbox" value="true" <?php if($skipcache == true){echo('checked');} ?> onchange="this.value = (this.checked)" /> <i>Do not use cache</i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">GPX Download:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_download" type="checkbox" value="true" <?php if($download == true){echo('checked');} ?> onchange="this.value = (this.checked)" /> <i>Allow users to download your GPX file</i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Use browser GPS position:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_usegpsposition" type="checkbox" value="true" <?php if($usegpsposition == true){echo('checked');} ?> onchange="this.value = (this.checked)" /> <i>Allow users to use browser GPS in order to display their current position on map</i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Google maps api key:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_googlemapsv3_apikey" type="text" id="wpgpxmaps_googlemapsv3_apikey" value="<?php echo get_option('wpgpxmaps_googlemapsv3_apikey'); ?>" style="width:400px" /> <em> Go to the <a href="https://developers.google.com/maps/documentation/javascript/" target="_blank">Google API Console</a> and click ‘Get A Key’ </em>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Thunderforest api key (Open Cycle Map):</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_openstreetmap_apikey" type="text" id="wpgpxmaps_openstreetmap_apikey" value="<?php echo get_option('wpgpxmaps_openstreetmap_apikey'); ?>" style="width:400px" /> <em> Go to <a href="http://www.thunderforest.com/docs/apikeys/" target="_blank">Thunderforest API Keys</a> and click ‘signing in to your Thunderforest account’ </em>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p class="submit">
|
||||
<input type="hidden" name="action" value="update" />
|
||||
<input name="page_options" type="hidden" value="wpgpxmaps_height,wpgpxmaps_graph_height,wpgpxmaps_width,wpgpxmaps_download,wpgpxmaps_skipcache,wpgpxmaps_distance_type,wpgpxmaps_usegpsposition,wpgpxmaps_googlemapsv3_apikey,wpgpxmaps_openstreetmap_apikey" />
|
||||
<input type="submit" class="button-primary" value="<?php _e('Save Changes', "wp_gpx_maps") ?>" />
|
||||
</p>
|
||||
|
||||
</form>
|
||||
|
||||
<hr />
|
||||
|
||||
<form method="post" action="options.php">
|
||||
|
||||
<?php wp_nonce_field('update-options') ?>
|
||||
|
||||
<h3 class="title">Summary table</h3>
|
||||
|
||||
<table class="form-table">
|
||||
<tr>
|
||||
<th scope="row">Summary table:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_summary" type="checkbox" value="true" <?php if($summary == true){echo('checked');} ?> onchange="this.value = (this.checked)" /> <i>Print summary table</i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Total distance:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_summary_tot_len" type="checkbox" value="true" <?php if($tot_len == true){echo('checked');} ?> onchange="this.value = (this.checked)" /> <i>Print Total distance</i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Max Elevation:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_summary_max_ele" type="checkbox" value="true" <?php if($max_ele == true){echo('checked');} ?> onchange="this.value = (this.checked)" /> <i>Print Max Elevation</i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Min Elevation:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_summary_min_ele" type="checkbox" value="true" <?php if($min_ele == true){echo('checked');} ?> onchange="this.value = (this.checked)" /> <i>Print Min Elevation</i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Min Elevation:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_summary_total_ele_up" type="checkbox" value="true" <?php if($total_ele_up == true){echo('checked');} ?> onchange="this.value = (this.checked)" /> <i>Print Total climbing</i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Min Elevation:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_summary_total_ele_down" type="checkbox" value="true" <?php if($total_ele_down == true){echo('checked');} ?> onchange="this.value = (this.checked)" /> <i>Print Total descent</i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Min Elevation:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_summary_avg_speed" type="checkbox" value="true" <?php if($avg_speed == true){echo('checked');} ?> onchange="this.value = (this.checked)" /> <i>Print Average Speed</i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Total time:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_summary_total_time" type="checkbox" value="true" <?php if($total_time == true){echo('checked');} ?> onchange="this.value = (this.checked)" /> <i>Print Total time</i>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
<p class="submit">
|
||||
<input type="hidden" name="action" value="update" />
|
||||
<input name="page_options" type="hidden" value="wpgpxmaps_summary,wpgpxmaps_summary_tot_len,wpgpxmaps_summary_max_ele,wpgpxmaps_summary_min_ele,wpgpxmaps_summary_total_ele_up,wpgpxmaps_summary_total_ele_down,wpgpxmaps_summary_avg_speed,wpgpxmaps_summary_total_time" />
|
||||
<input type="submit" class="button-primary" value="<?php _e('Save Changes', "wp_gpx_maps") ?>" />
|
||||
</p>
|
||||
|
||||
</form>
|
||||
|
||||
<hr />
|
||||
|
||||
<form method="post" action="options.php">
|
||||
|
||||
<?php wp_nonce_field('update-options') ?>
|
||||
|
||||
<h3 class="title">Map</h3>
|
||||
|
||||
<table class="form-table">
|
||||
<tr>
|
||||
<th scope="row">On mouse scroll wheel:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_zoomonscrollwheel" type="checkbox" value="true" <?php if($zoomonscrollwheel == true){echo('checked');} ?> onchange="this.value = (this.checked)" /> <i>Enable zoom</i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Waypoints Support:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_show_waypoint" type="checkbox" value="true" <?php if($showW == true){echo('checked');} ?> onchange="this.value = (this.checked)" /> <i>Show Waypoints</i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Map line color:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_map_line_color" type="color" data-hex="true" value="<?php echo get_option('wpgpxmaps_map_line_color'); ?>" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Default Map Type:</th>
|
||||
<td>
|
||||
<!--
|
||||
<input type="radio" name="wpgpxmaps_map_type" value="HYBRID" <?php if ($t == 'HYBRID') echo 'checked'; ?> > HYBRID: transparent layer of major streets on satellite images.<br />
|
||||
<input type="radio" name="wpgpxmaps_map_type" value="ROADMAP" <?php if ($t == 'ROADMAP') echo 'checked'; ?>> ROADMAP: normal street map.<br />
|
||||
<input type="radio" name="wpgpxmaps_map_type" value="SATELLITE" <?php if ($t == 'SATELLITE') echo 'checked'; ?>> SATELLITE: satellite images.<br />
|
||||
<input type="radio" name="wpgpxmaps_map_type" value="TERRAIN" <?php if ($t == 'TERRAIN') echo 'checked'; ?>> TERRAIN: maps with physical features such as terrain and vegetation.<br />
|
||||
-->
|
||||
<input type="radio" name="wpgpxmaps_map_type" value="OSM1" <?php if ($t == 'OSM1') echo 'checked'; ?>> Open Street Map<br />
|
||||
<input type="radio" name="wpgpxmaps_map_type" value="OSM2" <?php if ($t == 'OSM2') echo 'checked'; ?>> Open Cycle Map<br />
|
||||
<input type="radio" name="wpgpxmaps_map_type" value="OSM4" <?php if ($t == 'OSM4') echo 'checked'; ?>> Open Cycle Map - Transport<br />
|
||||
<input type="radio" name="wpgpxmaps_map_type" value="OSM5" <?php if ($t == 'OSM5') echo 'checked'; ?>> Open Cycle Map - Landscape<br />
|
||||
<input type="radio" name="wpgpxmaps_map_type" value="OSM3" <?php if ($t == 'OSM3') echo 'checked'; ?>> Hike & Bike<br />
|
||||
<input type="radio" name="wpgpxmaps_map_type" value="OSM6" <?php if ($t == 'OSM6') echo 'checked'; ?>> MapToolKit - Terrain<br />
|
||||
<input type="radio" name="wpgpxmaps_map_type" value="OSM7" <?php if ($t == 'OSM7') echo 'checked'; ?>> Open Street Map - Humanitarian map style<br />
|
||||
<!--
|
||||
<input type="radio" name="wpgpxmaps_map_type" value="OSM8" <?php if ($t == 'OSM8') echo 'checked'; ?>> Open Ski Map<br />
|
||||
-->
|
||||
<input type="radio" name="wpgpxmaps_map_type" value="OSM9" <?php if ($t == 'OSM9') echo 'checked'; ?>> Hike & Bike<br />
|
||||
<input type="radio" name="wpgpxmaps_map_type" value="OSM10" <?php if ($t == 'OSM10') echo 'checked'; ?>> Open Sea Map<br />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th scope="row">Start Icon:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_map_start_icon" value="<?php echo get_option('wpgpxmaps_map_start_icon'); ?>" style="width:400px" /> <em>(Url to image) Leave empty to hide</em>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th scope="row">End Icon:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_map_end_icon" value="<?php echo get_option('wpgpxmaps_map_end_icon'); ?>" style="width:400px" /> <em>(Url to image) Leave empty to hide</em>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th scope="row">Current Position Icon:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_map_current_icon" value="<?php echo get_option('wpgpxmaps_map_current_icon'); ?>" style="width:400px" /> <em>(Url to image) Leave empty for default</em>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th scope="row">Current GPS Position Icon:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_currentpositioncon" value="<?php echo get_option('wpgpxmaps_currentpositioncon'); ?>" style="width:400px" /> <em>(Url to image) Leave empty for default</em>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th scope="row">Custom Waypoint Icon:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_map_waypoint_icon" value="<?php echo get_option('wpgpxmaps_map_waypoint_icon'); ?>" style="width:400px" /> <em>(Url to image) Leave empty for default</em>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
<p class="submit">
|
||||
<input type="hidden" name="action" value="update" />
|
||||
<input name="page_options" type="hidden" value="wpgpxmaps_show_waypoint,wpgpxmaps_map_line_color,wpgpxmaps_map_type,wpgpxmaps_map_start_icon,wpgpxmaps_map_end_icon,wpgpxmaps_map_current_icon,wpgpxmaps_zoomonscrollwheel,wpgpxmaps_map_waypoint_icon,wpgpxmaps_currentpositioncon" />
|
||||
<input type="submit" class="button-primary" value="<?php _e('Save Changes', "wp_gpx_maps") ?>" />
|
||||
</p>
|
||||
|
||||
</form>
|
||||
<hr />
|
||||
<form method="post" action="options.php">
|
||||
|
||||
<?php wp_nonce_field('update-options') ?>
|
||||
|
||||
<h3 class="title">Chart</h3>
|
||||
|
||||
<table class="form-table">
|
||||
<tr>
|
||||
<th scope="row">Show altitude:</th>
|
||||
<td>
|
||||
<input type="checkbox" <?php if($showEle == "true"){echo('checked');} ?> onchange="wpgpxmaps_show_elevation.value = this.checked" onload="wpgpxmaps_show_elevation.value = this.checked" /> <i>Show Altitude</i>
|
||||
<input name="wpgpxmaps_show_elevation" type="hidden" value="<?php echo $showEle; ?>">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<tr>
|
||||
<th scope="row">Altitude line color:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_graph_line_color" type="color" data-hex="true" value="<?php echo get_option('wpgpxmaps_graph_line_color'); ?>" />
|
||||
</td>
|
||||
</tr>
|
||||
<th scope="row">Unit of measure:</th>
|
||||
<td>
|
||||
<select name='wpgpxmaps_unit_of_measure'>
|
||||
<option value="0" <?php if ($uom == '0') echo 'selected'; ?>>meters/meters</option>
|
||||
<option value="1" <?php if ($uom == '1') echo 'selected'; ?>>feet/miles</option>
|
||||
<option value="2" <?php if ($uom == '2') echo 'selected'; ?>>meters/kilometers</option>
|
||||
<option value="3" <?php if ($uom == '3') echo 'selected'; ?>>meters/nautical miles</option>
|
||||
<option value="4" <?php if ($uom == '4') echo 'selected'; ?>>meters/miles</option>
|
||||
<option value="5" <?php if ($uom == '5') echo 'selected'; ?>>feet/nautical miles</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Altitude display offset:</th>
|
||||
<td>
|
||||
From
|
||||
<input name="wpgpxmaps_graph_offset_from1" value="<?php echo get_option('wpgpxmaps_graph_offset_from1'); ?>" style="width:50px;" />
|
||||
To
|
||||
<input name="wpgpxmaps_graph_offset_to1" value="<?php echo get_option('wpgpxmaps_graph_offset_to1'); ?>" style="width:50px;" />
|
||||
<em>(leave empty for auto scale)</em>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Show speed:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_show_speed" type="checkbox" value="true" <?php if($showSpeed == true){echo('checked');} ?> onchange="this.value = (this.checked)" /> <i>Show Speed</i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Speed line color:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_graph_line_color_speed" type="color" data-hex="true" value="<?php echo get_option('wpgpxmaps_graph_line_color_speed'); ?>" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Speed unit of measure:</th>
|
||||
<td>
|
||||
<select name='wpgpxmaps_unit_of_measure_speed'>
|
||||
<option value="0" <?php if ($uomSpeed == '0') echo 'selected'; ?>>m/s</option>
|
||||
<option value="1" <?php if ($uomSpeed == '1') echo 'selected'; ?>>km/h</option>
|
||||
<option value="2" <?php if ($uomSpeed == '2') echo 'selected'; ?>>miles/h</option>
|
||||
<option value="3" <?php if ($uomSpeed == '3') echo 'selected'; ?>>min/km</option>
|
||||
<option value="4" <?php if ($uomSpeed == '4') echo 'selected'; ?>>min/miles</option>
|
||||
<option value="5" <?php if ($uomSpeed == '5') echo 'selected'; ?>>Nautical Miles/Hour (Knots)</option> <option value="6" <?php if ($uomSpeed == '6') echo 'selected'; ?>>min/100 meters</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Speed display offset:</th>
|
||||
<td>
|
||||
From
|
||||
<input name="wpgpxmaps_graph_offset_from2" value="<?php echo get_option('wpgpxmaps_graph_offset_from2'); ?>" style="width:50px;" />
|
||||
To
|
||||
<input name="wpgpxmaps_graph_offset_to2" value="<?php echo get_option('wpgpxmaps_graph_offset_to2'); ?>" style="width:50px;" />
|
||||
<em>(leave empty for auto scale)</em>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Show Heart Rate (where aviable):</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_show_hr" type="checkbox" value="true" <?php if($showHr == true){echo('checked');} ?> onchange="this.value = (this.checked)" /> <i>Show heart rate</i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Heart rate line color:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_graph_line_color_hr" type="color" data-hex="true" value="<?php echo get_option('wpgpxmaps_graph_line_color_hr'); ?>" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th scope="row">Show Temperature (where aviable):</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_show_atemp" type="checkbox" value="true" <?php if($showAtemp == true){echo('checked');} ?> onchange="this.value = (this.checked)" /> <i>Show Temperature</i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Temperature line color:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_graph_line_color_atemp" type="color" data-hex="true" value="<?php echo get_option('wpgpxmaps_graph_line_color_atemp'); ?>" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<th scope="row">Show Cadence (where aviable):</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_show_cadence" type="checkbox" value="true" <?php if($showCad == true){echo('checked');} ?> onchange="this.value = (this.checked)" /> <i>Show Cadence</i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Cadence line color:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_graph_line_color_cad" type="color" data-hex="true" value="<?php echo get_option('wpgpxmaps_graph_line_color_cad'); ?>" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<th scope="row">Show Grade:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_show_grade" type="checkbox" value="true" <?php if($showGrade == true){echo('checked');} ?> onchange="this.value = (this.checked)" /> <i>Show Grade - BETA</i>
|
||||
<br />
|
||||
<i>(Grade values depends on your gps accuracy. If you have a poor gps accuracy they might be totally wrong!)</i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Grade line color:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_graph_line_color_grade" type="color" data-hex="true" value="<?php echo get_option('wpgpxmaps_graph_line_color_grade'); ?>" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
<p class="submit">
|
||||
<input type="hidden" name="action" value="update" />
|
||||
<input name="page_options" type="hidden" value="wpgpxmaps_unit_of_measure,wpgpxmaps_graph_line_color,wpgpxmaps_show_elevation,wpgpxmaps_show_speed,wpgpxmaps_graph_line_color_speed,wpgpxmaps_show_hr,wpgpxmaps_graph_line_color_hr,wpgpxmaps_unit_of_measure_speed,wpgpxmaps_graph_offset_from1,wpgpxmaps_graph_offset_to1,wpgpxmaps_graph_offset_from2,wpgpxmaps_graph_offset_to2,wpgpxmaps_graph_line_color_cad,wpgpxmaps_show_cadence,wpgpxmaps_show_grade,wpgpxmaps_graph_line_color_grade,wpgpxmaps_show_atemp,wpgpxmaps_graph_line_color_atemp" />
|
||||
<input type="submit" class="button-primary" value="<?php _e('Save Changes', "wp_gpx_maps") ?>" />
|
||||
</p>
|
||||
|
||||
</form>
|
||||
<hr />
|
||||
<form method="post" action="options.php">
|
||||
|
||||
<?php wp_nonce_field('update-options') ?>
|
||||
|
||||
<h3 class="title">Advanced options <small>(Do not edit if you don't know what you are doing!)</small></h3>
|
||||
|
||||
|
||||
<table class="form-table">
|
||||
<tr>
|
||||
<th scope="row"></th>
|
||||
<td>
|
||||
<i>Skip points closer than </i> <input name="wpgpxmaps_pointsoffset" type="text" id="wpgpxmaps_pointsoffset" value="<?php echo $po ?>" style="width:50px;" /> <i>meters</i>.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"></th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_donotreducegpx" type="checkbox" value="true" <?php if($donotreducegpx == true){echo('checked');} ?> onchange="this.value = (this.checked)" /> <i>Do not reduce gpx</i>.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<input type="hidden" name="action" value="update" />
|
||||
<input name="page_options" type="hidden" value="wpgpxmaps_pointsoffset,wpgpxmaps_donotreducegpx" />
|
||||
|
||||
<p class="submit">
|
||||
<input type="submit" class="button-primary" value="<?php _e('Save Changes', "wp_gpx_maps") ?>" />
|
||||
</p>
|
||||
|
||||
</form>
|
||||
<?php
|
||||
|
||||
if ( !current_user_can('manage_options') )
|
||||
return;
|
||||
|
||||
$po = get_option('wpgpxmaps_pointsoffset');
|
||||
$showW = get_option("wpgpxmaps_show_waypoint");
|
||||
$donotreducegpx = get_option("wpgpxmaps_donotreducegpx");
|
||||
$t = get_option('wpgpxmaps_map_type');
|
||||
$uom = get_option('wpgpxmaps_unit_of_measure');
|
||||
$uomSpeed = get_option('wpgpxmaps_unit_of_measure_speed');
|
||||
$showEle = get_option("wpgpxmaps_show_elevation");
|
||||
$showSpeed = get_option('wpgpxmaps_show_speed');
|
||||
$showHr = get_option('wpgpxmaps_show_hr');
|
||||
$showAtemp = get_option('wpgpxmaps_show_atemp');
|
||||
|
||||
$showCad = get_option('wpgpxmaps_show_cadence');
|
||||
$showGrade = get_option('wpgpxmaps_show_grade');
|
||||
$zoomonscrollwheel = get_option("wpgpxmaps_zoomonscrollwheel");
|
||||
$download = get_option("wpgpxmaps_download");
|
||||
$skipcache = get_option("wpgpxmaps_skipcache");
|
||||
|
||||
$summary = get_option("wpgpxmaps_summary");
|
||||
$tot_len = get_option("wpgpxmaps_summary_tot_len");
|
||||
$min_ele = get_option("wpgpxmaps_summary_min_ele");
|
||||
$max_ele = get_option("wpgpxmaps_summary_max_ele");
|
||||
$total_ele_up = get_option("wpgpxmaps_summary_total_ele_up");
|
||||
$total_ele_down = get_option("wpgpxmaps_summary_total_ele_down");
|
||||
$avg_speed = get_option("wpgpxmaps_summary_avg_speed");
|
||||
$total_time = get_option("wpgpxmaps_summary_total_time");
|
||||
|
||||
$usegpsposition = get_option("wpgpxmaps_usegpsposition");
|
||||
$distanceType = get_option("wpgpxmaps_distance_type");
|
||||
|
||||
if (empty($showEle))
|
||||
$showEle = "true";
|
||||
|
||||
if (!($t))
|
||||
$t = 'HYBRID';
|
||||
if (!($po))
|
||||
$po = 10;
|
||||
|
||||
?>
|
||||
|
||||
<form method="post" action="options.php">
|
||||
|
||||
<?php wp_nonce_field('update-options') ?>
|
||||
|
||||
<h3 class="title">General</h3>
|
||||
|
||||
<table class="form-table">
|
||||
<tr>
|
||||
<th scope="row">Width:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_width" type="text" id="wpgpxmaps_width" value="<?php echo get_option('wpgpxmaps_width'); ?>" style="width:50px;" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Map Height:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_height" type="text" id="wpgpxmaps_height" value="<?php echo get_option('wpgpxmaps_height'); ?>" style="width:50px;" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Graph Height:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_graph_height" type="text" id="wpgpxmaps_graph_height" value="<?php echo get_option('wpgpxmaps_graph_height'); ?>" style="width:50px;" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Distance type:</th>
|
||||
<td>
|
||||
<select name='wpgpxmaps_distance_type'>
|
||||
<option value="0" <?php if ($distanceType == '0' || $distanceType == '') echo 'selected'; ?>>Normal (default)</option>
|
||||
<option value="1" <?php if ($distanceType == '1') echo 'selected'; ?>>Flat → (Only flat distance, don't take care of altitude)</option>
|
||||
<option value="2" <?php if ($distanceType == '2') echo 'selected'; ?>>Climb ↑ (Only climb distance)</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th scope="row">Cache:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_skipcache" type="checkbox" value="true" <?php if($skipcache == true){echo('checked');} ?> onchange="this.value = (this.checked)" /> <i>Do not use cache</i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">GPX Download:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_download" type="checkbox" value="true" <?php if($download == true){echo('checked');} ?> onchange="this.value = (this.checked)" /> <i>Allow users to download your GPX file</i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Use browser GPS position:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_usegpsposition" type="checkbox" value="true" <?php if($usegpsposition == true){echo('checked');} ?> onchange="this.value = (this.checked)" /> <i>Allow users to use browser GPS in order to display their current position on map</i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Google maps api key:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_googlemapsv3_apikey" type="text" id="wpgpxmaps_googlemapsv3_apikey" value="<?php echo get_option('wpgpxmaps_googlemapsv3_apikey'); ?>" style="width:400px" /> <em> Go to the <a href="https://developers.google.com/maps/documentation/javascript/" target="_blank">Google API Console</a> and click ‘Get A Key’ </em>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Thunderforest api key (Open Cycle Map):</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_openstreetmap_apikey" type="text" id="wpgpxmaps_openstreetmap_apikey" value="<?php echo get_option('wpgpxmaps_openstreetmap_apikey'); ?>" style="width:400px" /> <em> Go to <a href="http://www.thunderforest.com/docs/apikeys/" target="_blank">Thunderforest API Keys</a> and click ‘signing in to your Thunderforest account’ </em>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p class="submit">
|
||||
<input type="hidden" name="action" value="update" />
|
||||
<input name="page_options" type="hidden" value="wpgpxmaps_height,wpgpxmaps_graph_height,wpgpxmaps_width,wpgpxmaps_download,wpgpxmaps_skipcache,wpgpxmaps_distance_type,wpgpxmaps_usegpsposition,wpgpxmaps_googlemapsv3_apikey,wpgpxmaps_openstreetmap_apikey" />
|
||||
<input type="submit" class="button-primary" value="<?php _e('Save Changes', "wp_gpx_maps") ?>" />
|
||||
</p>
|
||||
|
||||
</form>
|
||||
|
||||
<hr />
|
||||
|
||||
<form method="post" action="options.php">
|
||||
|
||||
<?php wp_nonce_field('update-options') ?>
|
||||
|
||||
<h3 class="title">Summary table</h3>
|
||||
|
||||
<table class="form-table">
|
||||
<tr>
|
||||
<th scope="row">Summary table:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_summary" type="checkbox" value="true" <?php if($summary == true){echo('checked');} ?> onchange="this.value = (this.checked)" /> <i>Print summary table</i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Total distance:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_summary_tot_len" type="checkbox" value="true" <?php if($tot_len == true){echo('checked');} ?> onchange="this.value = (this.checked)" /> <i>Print Total distance</i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Max Elevation:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_summary_max_ele" type="checkbox" value="true" <?php if($max_ele == true){echo('checked');} ?> onchange="this.value = (this.checked)" /> <i>Print Max Elevation</i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Min Elevation:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_summary_min_ele" type="checkbox" value="true" <?php if($min_ele == true){echo('checked');} ?> onchange="this.value = (this.checked)" /> <i>Print Min Elevation</i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Min Elevation:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_summary_total_ele_up" type="checkbox" value="true" <?php if($total_ele_up == true){echo('checked');} ?> onchange="this.value = (this.checked)" /> <i>Print Total climbing</i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Min Elevation:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_summary_total_ele_down" type="checkbox" value="true" <?php if($total_ele_down == true){echo('checked');} ?> onchange="this.value = (this.checked)" /> <i>Print Total descent</i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Min Elevation:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_summary_avg_speed" type="checkbox" value="true" <?php if($avg_speed == true){echo('checked');} ?> onchange="this.value = (this.checked)" /> <i>Print Average Speed</i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Total time:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_summary_total_time" type="checkbox" value="true" <?php if($total_time == true){echo('checked');} ?> onchange="this.value = (this.checked)" /> <i>Print Total time</i>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
<p class="submit">
|
||||
<input type="hidden" name="action" value="update" />
|
||||
<input name="page_options" type="hidden" value="wpgpxmaps_summary,wpgpxmaps_summary_tot_len,wpgpxmaps_summary_max_ele,wpgpxmaps_summary_min_ele,wpgpxmaps_summary_total_ele_up,wpgpxmaps_summary_total_ele_down,wpgpxmaps_summary_avg_speed,wpgpxmaps_summary_total_time" />
|
||||
<input type="submit" class="button-primary" value="<?php _e('Save Changes', "wp_gpx_maps") ?>" />
|
||||
</p>
|
||||
|
||||
</form>
|
||||
|
||||
<hr />
|
||||
|
||||
<form method="post" action="options.php">
|
||||
|
||||
<?php wp_nonce_field('update-options') ?>
|
||||
|
||||
<h3 class="title">Map</h3>
|
||||
|
||||
<table class="form-table">
|
||||
<tr>
|
||||
<th scope="row">On mouse scroll wheel:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_zoomonscrollwheel" type="checkbox" value="true" <?php if($zoomonscrollwheel == true){echo('checked');} ?> onchange="this.value = (this.checked)" /> <i>Enable zoom</i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Waypoints Support:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_show_waypoint" type="checkbox" value="true" <?php if($showW == true){echo('checked');} ?> onchange="this.value = (this.checked)" /> <i>Show Waypoints</i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Map line color:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_map_line_color" type="color" data-hex="true" value="<?php echo get_option('wpgpxmaps_map_line_color'); ?>" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Default Map Type:</th>
|
||||
<td>
|
||||
<!--
|
||||
<input type="radio" name="wpgpxmaps_map_type" value="HYBRID" <?php if ($t == 'HYBRID') echo 'checked'; ?> > HYBRID: transparent layer of major streets on satellite images.<br />
|
||||
<input type="radio" name="wpgpxmaps_map_type" value="ROADMAP" <?php if ($t == 'ROADMAP') echo 'checked'; ?>> ROADMAP: normal street map.<br />
|
||||
<input type="radio" name="wpgpxmaps_map_type" value="SATELLITE" <?php if ($t == 'SATELLITE') echo 'checked'; ?>> SATELLITE: satellite images.<br />
|
||||
<input type="radio" name="wpgpxmaps_map_type" value="TERRAIN" <?php if ($t == 'TERRAIN') echo 'checked'; ?>> TERRAIN: maps with physical features such as terrain and vegetation.<br />
|
||||
-->
|
||||
<input type="radio" name="wpgpxmaps_map_type" value="OSM1" <?php if ($t == 'OSM1') echo 'checked'; ?>> Open Street Map<br />
|
||||
<input type="radio" name="wpgpxmaps_map_type" value="OSM2" <?php if ($t == 'OSM2') echo 'checked'; ?>> Open Cycle Map<br />
|
||||
<input type="radio" name="wpgpxmaps_map_type" value="OSM4" <?php if ($t == 'OSM4') echo 'checked'; ?>> Open Cycle Map - Transport<br />
|
||||
<input type="radio" name="wpgpxmaps_map_type" value="OSM5" <?php if ($t == 'OSM5') echo 'checked'; ?>> Open Cycle Map - Landscape<br />
|
||||
<input type="radio" name="wpgpxmaps_map_type" value="OSM3" <?php if ($t == 'OSM3') echo 'checked'; ?>> Hike & Bike<br />
|
||||
<input type="radio" name="wpgpxmaps_map_type" value="OSM6" <?php if ($t == 'OSM6') echo 'checked'; ?>> MapToolKit - Terrain<br />
|
||||
<input type="radio" name="wpgpxmaps_map_type" value="OSM7" <?php if ($t == 'OSM7') echo 'checked'; ?>> Open Street Map - Humanitarian map style<br />
|
||||
<!--
|
||||
<input type="radio" name="wpgpxmaps_map_type" value="OSM8" <?php if ($t == 'OSM8') echo 'checked'; ?>> Open Ski Map<br />
|
||||
-->
|
||||
<input type="radio" name="wpgpxmaps_map_type" value="OSM9" <?php if ($t == 'OSM9') echo 'checked'; ?>> Hike & Bike<br />
|
||||
<input type="radio" name="wpgpxmaps_map_type" value="OSM10" <?php if ($t == 'OSM10') echo 'checked'; ?>> Open Sea Map<br />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th scope="row">Start Icon:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_map_start_icon" value="<?php echo get_option('wpgpxmaps_map_start_icon'); ?>" style="width:400px" /> <em>(Url to image) Leave empty to hide</em>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th scope="row">End Icon:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_map_end_icon" value="<?php echo get_option('wpgpxmaps_map_end_icon'); ?>" style="width:400px" /> <em>(Url to image) Leave empty to hide</em>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th scope="row">Current Position Icon:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_map_current_icon" value="<?php echo get_option('wpgpxmaps_map_current_icon'); ?>" style="width:400px" /> <em>(Url to image) Leave empty for default</em>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th scope="row">Current GPS Position Icon:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_currentpositioncon" value="<?php echo get_option('wpgpxmaps_currentpositioncon'); ?>" style="width:400px" /> <em>(Url to image) Leave empty for default</em>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th scope="row">Custom Waypoint Icon:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_map_waypoint_icon" value="<?php echo get_option('wpgpxmaps_map_waypoint_icon'); ?>" style="width:400px" /> <em>(Url to image) Leave empty for default</em>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
<p class="submit">
|
||||
<input type="hidden" name="action" value="update" />
|
||||
<input name="page_options" type="hidden" value="wpgpxmaps_show_waypoint,wpgpxmaps_map_line_color,wpgpxmaps_map_type,wpgpxmaps_map_start_icon,wpgpxmaps_map_end_icon,wpgpxmaps_map_current_icon,wpgpxmaps_zoomonscrollwheel,wpgpxmaps_map_waypoint_icon,wpgpxmaps_currentpositioncon" />
|
||||
<input type="submit" class="button-primary" value="<?php _e('Save Changes', "wp_gpx_maps") ?>" />
|
||||
</p>
|
||||
|
||||
</form>
|
||||
<hr />
|
||||
<form method="post" action="options.php">
|
||||
|
||||
<?php wp_nonce_field('update-options') ?>
|
||||
|
||||
<h3 class="title">Chart</h3>
|
||||
|
||||
<table class="form-table">
|
||||
<tr>
|
||||
<th scope="row">Show altitude:</th>
|
||||
<td>
|
||||
<input type="checkbox" <?php if($showEle == "true"){echo('checked');} ?> onchange="wpgpxmaps_show_elevation.value = this.checked" onload="wpgpxmaps_show_elevation.value = this.checked" /> <i>Show Altitude</i>
|
||||
<input name="wpgpxmaps_show_elevation" type="hidden" value="<?php echo $showEle; ?>">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<tr>
|
||||
<th scope="row">Altitude line color:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_graph_line_color" type="color" data-hex="true" value="<?php echo get_option('wpgpxmaps_graph_line_color'); ?>" />
|
||||
</td>
|
||||
</tr>
|
||||
<th scope="row">Unit of measure:</th>
|
||||
<td>
|
||||
<select name='wpgpxmaps_unit_of_measure'>
|
||||
<option value="0" <?php if ($uom == '0') echo 'selected'; ?>>meters/meters</option>
|
||||
<option value="1" <?php if ($uom == '1') echo 'selected'; ?>>feet/miles</option>
|
||||
<option value="2" <?php if ($uom == '2') echo 'selected'; ?>>meters/kilometers</option>
|
||||
<option value="3" <?php if ($uom == '3') echo 'selected'; ?>>meters/nautical miles</option>
|
||||
<option value="4" <?php if ($uom == '4') echo 'selected'; ?>>meters/miles</option>
|
||||
<option value="5" <?php if ($uom == '5') echo 'selected'; ?>>feet/nautical miles</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Altitude display offset:</th>
|
||||
<td>
|
||||
From
|
||||
<input name="wpgpxmaps_graph_offset_from1" value="<?php echo get_option('wpgpxmaps_graph_offset_from1'); ?>" style="width:50px;" />
|
||||
To
|
||||
<input name="wpgpxmaps_graph_offset_to1" value="<?php echo get_option('wpgpxmaps_graph_offset_to1'); ?>" style="width:50px;" />
|
||||
<em>(leave empty for auto scale)</em>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Show speed:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_show_speed" type="checkbox" value="true" <?php if($showSpeed == true){echo('checked');} ?> onchange="this.value = (this.checked)" /> <i>Show Speed</i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Speed line color:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_graph_line_color_speed" type="color" data-hex="true" value="<?php echo get_option('wpgpxmaps_graph_line_color_speed'); ?>" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Speed unit of measure:</th>
|
||||
<td>
|
||||
<select name='wpgpxmaps_unit_of_measure_speed'>
|
||||
<option value="0" <?php if ($uomSpeed == '0') echo 'selected'; ?>>m/s</option>
|
||||
<option value="1" <?php if ($uomSpeed == '1') echo 'selected'; ?>>km/h</option>
|
||||
<option value="2" <?php if ($uomSpeed == '2') echo 'selected'; ?>>miles/h</option>
|
||||
<option value="3" <?php if ($uomSpeed == '3') echo 'selected'; ?>>min/km</option>
|
||||
<option value="4" <?php if ($uomSpeed == '4') echo 'selected'; ?>>min/miles</option>
|
||||
<option value="5" <?php if ($uomSpeed == '5') echo 'selected'; ?>>Nautical Miles/Hour (Knots)</option> <option value="6" <?php if ($uomSpeed == '6') echo 'selected'; ?>>min/100 meters</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Speed display offset:</th>
|
||||
<td>
|
||||
From
|
||||
<input name="wpgpxmaps_graph_offset_from2" value="<?php echo get_option('wpgpxmaps_graph_offset_from2'); ?>" style="width:50px;" />
|
||||
To
|
||||
<input name="wpgpxmaps_graph_offset_to2" value="<?php echo get_option('wpgpxmaps_graph_offset_to2'); ?>" style="width:50px;" />
|
||||
<em>(leave empty for auto scale)</em>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Show Heart Rate (where aviable):</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_show_hr" type="checkbox" value="true" <?php if($showHr == true){echo('checked');} ?> onchange="this.value = (this.checked)" /> <i>Show heart rate</i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Heart rate line color:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_graph_line_color_hr" type="color" data-hex="true" value="<?php echo get_option('wpgpxmaps_graph_line_color_hr'); ?>" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th scope="row">Show Temperature (where aviable):</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_show_atemp" type="checkbox" value="true" <?php if($showAtemp == true){echo('checked');} ?> onchange="this.value = (this.checked)" /> <i>Show Temperature</i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Temperature line color:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_graph_line_color_atemp" type="color" data-hex="true" value="<?php echo get_option('wpgpxmaps_graph_line_color_atemp'); ?>" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<th scope="row">Show Cadence (where aviable):</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_show_cadence" type="checkbox" value="true" <?php if($showCad == true){echo('checked');} ?> onchange="this.value = (this.checked)" /> <i>Show Cadence</i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Cadence line color:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_graph_line_color_cad" type="color" data-hex="true" value="<?php echo get_option('wpgpxmaps_graph_line_color_cad'); ?>" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<th scope="row">Show Grade:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_show_grade" type="checkbox" value="true" <?php if($showGrade == true){echo('checked');} ?> onchange="this.value = (this.checked)" /> <i>Show Grade - BETA</i>
|
||||
<br />
|
||||
<i>(Grade values depends on your gps accuracy. If you have a poor gps accuracy they might be totally wrong!)</i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Grade line color:</th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_graph_line_color_grade" type="color" data-hex="true" value="<?php echo get_option('wpgpxmaps_graph_line_color_grade'); ?>" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
<p class="submit">
|
||||
<input type="hidden" name="action" value="update" />
|
||||
<input name="page_options" type="hidden" value="wpgpxmaps_unit_of_measure,wpgpxmaps_graph_line_color,wpgpxmaps_show_elevation,wpgpxmaps_show_speed,wpgpxmaps_graph_line_color_speed,wpgpxmaps_show_hr,wpgpxmaps_graph_line_color_hr,wpgpxmaps_unit_of_measure_speed,wpgpxmaps_graph_offset_from1,wpgpxmaps_graph_offset_to1,wpgpxmaps_graph_offset_from2,wpgpxmaps_graph_offset_to2,wpgpxmaps_graph_line_color_cad,wpgpxmaps_show_cadence,wpgpxmaps_show_grade,wpgpxmaps_graph_line_color_grade,wpgpxmaps_show_atemp,wpgpxmaps_graph_line_color_atemp" />
|
||||
<input type="submit" class="button-primary" value="<?php _e('Save Changes', "wp_gpx_maps") ?>" />
|
||||
</p>
|
||||
|
||||
</form>
|
||||
<hr />
|
||||
<form method="post" action="options.php">
|
||||
|
||||
<?php wp_nonce_field('update-options') ?>
|
||||
|
||||
<h3 class="title">Advanced options <small>(Do not edit if you don't know what you are doing!)</small></h3>
|
||||
|
||||
|
||||
<table class="form-table">
|
||||
<tr>
|
||||
<th scope="row"></th>
|
||||
<td>
|
||||
<i>Skip points closer than </i> <input name="wpgpxmaps_pointsoffset" type="text" id="wpgpxmaps_pointsoffset" value="<?php echo $po ?>" style="width:50px;" /> <i>meters</i>.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"></th>
|
||||
<td>
|
||||
<input name="wpgpxmaps_donotreducegpx" type="checkbox" value="true" <?php if($donotreducegpx == true){echo('checked');} ?> onchange="this.value = (this.checked)" /> <i>Do not reduce gpx</i>.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<input type="hidden" name="action" value="update" />
|
||||
<input name="page_options" type="hidden" value="wpgpxmaps_pointsoffset,wpgpxmaps_donotreducegpx" />
|
||||
|
||||
<p class="submit">
|
||||
<input type="submit" class="button-primary" value="<?php _e('Save Changes', "wp_gpx_maps") ?>" />
|
||||
</p>
|
||||
|
||||
</form>
|
||||
<hr />
|
|
@ -1,206 +1,206 @@
|
|||
<?php
|
||||
|
||||
if ( !(is_admin()) )
|
||||
return;
|
||||
|
||||
$is_admin = current_user_can( 'manage_options' );
|
||||
|
||||
if ( $is_admin != 1 )
|
||||
return;
|
||||
|
||||
$gpxRegEx = '/.gpx$/i';
|
||||
|
||||
if ( isset($_POST['clearcache']) )
|
||||
{
|
||||
|
||||
if ( isset($_GET['_wpnonce'])
|
||||
&&
|
||||
wp_verify_nonce( $_GET['_wpnonce'], 'wpgpx_clearcache_nonce' . $entry )
|
||||
)
|
||||
{
|
||||
echo "Cache is now empty!";
|
||||
wpgpxmaps_recursive_remove_directory($cacheGpxPath, true);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if ( is_writable ( $realGpxPath ) ){
|
||||
|
||||
?>
|
||||
|
||||
<div class="tablenav top">
|
||||
<form enctype="multipart/form-data" method="POST" style="float:left; margin:5px 20px 0 0" action="/wp-admin/options-general.php?page=WP-GPX-Maps">
|
||||
Choose a file to upload: <input name="uploadedfile[]" type="file" onchange="submitgpx(this);" multiple />
|
||||
<?php
|
||||
if ( isset($_FILES['uploadedfile']) )
|
||||
{
|
||||
$total = count($_FILES['uploadedfile']['name']);
|
||||
for($i=0; $i<$total; $i++) {
|
||||
$uploadingFileName = basename( $_FILES['uploadedfile']['name'][$i]);
|
||||
$target_path = $realGpxPath ."/". $uploadingFileName;
|
||||
if (preg_match($gpxRegEx, $target_path))
|
||||
{
|
||||
if(move_uploaded_file($_FILES['uploadedfile']['tmp_name'][$i], $target_path)) {
|
||||
echo "<br />File <b>". $uploadingFileName . "</b> has been uploaded";
|
||||
} else{
|
||||
echo "<br />There was an error uploading the file, please try again!";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "file not supported!";
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
</form>
|
||||
|
||||
<form method="POST" style="float:left; margin:5px 20px 0 0" action="/wp-admin/options-general.php?page=WP-GPX-Maps&_wpnonce=<?php echo wp_create_nonce( 'wpgpx_clearcache_nonce' ) ?>" >
|
||||
<input type="submit" name="clearcache" value="Clear Cache" />
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
||||
<?php
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
?>
|
||||
<br />
|
||||
<br />
|
||||
<p style='font-size:2em;'>please make <b><?php echo $realGpxPath ?></b> folder writable. </p>
|
||||
<br />
|
||||
<br />
|
||||
|
||||
<?php
|
||||
}
|
||||
|
||||
$myGpxFileNames = array();
|
||||
if ( is_readable ( $realGpxPath ) && $handle = opendir($realGpxPath)) {
|
||||
while (false !== ($entry = readdir($handle))) {
|
||||
if (preg_match($gpxRegEx, $entry ))
|
||||
{
|
||||
|
||||
if ( isset($_GET['_wpnonce'])
|
||||
&&
|
||||
wp_verify_nonce( $_GET['_wpnonce'], 'wpgpx_deletefile_nonce_' . $entry )
|
||||
) {
|
||||
|
||||
if ( file_exists($realGpxPath ."/". $entry) )
|
||||
{
|
||||
unlink($realGpxPath ."/". $entry);
|
||||
echo "<br/><b>$entry has been deleted.</b>";
|
||||
}
|
||||
else {
|
||||
echo "<br/><b>Can't delete $entry.</b>";
|
||||
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$myFile = $realGpxPath . "/" . $entry;
|
||||
$myGpxFileNames[] = array(
|
||||
'name' => $entry,
|
||||
'size' => filesize( $myFile ),
|
||||
'lastedit' => filemtime( $myFile ),
|
||||
'nonce' => wp_create_nonce( 'wpgpx_deletefile_nonce_' . $entry ),
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
closedir($handle);
|
||||
}
|
||||
|
||||
if ( is_readable ( $realGpxPath ) && $handle = opendir($realGpxPath)) {
|
||||
while (false !== ($entry = readdir($handle))) {
|
||||
if (preg_match($gpxRegEx,$entry ))
|
||||
{
|
||||
$filenames[] = $realGpxPath . "/" . $entry;
|
||||
}
|
||||
}
|
||||
closedir($handle);
|
||||
}
|
||||
|
||||
$wpgpxmaps_gpxRelativePath = get_site_url(null, '/wp-content/uploads/gpx/');
|
||||
|
||||
?>
|
||||
|
||||
<table id="table" class="wp-list-table widefat plugins"></table>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
function submitgpx(el)
|
||||
{
|
||||
var newEl = document.createElement('span');
|
||||
newEl.innerHTML = 'Uploading file...';
|
||||
el.parentNode.insertBefore(newEl,el.nextSibling);
|
||||
el.parentNode.submit()
|
||||
}
|
||||
|
||||
jQuery('#table').bootstrapTable({
|
||||
columns: [{
|
||||
field: 'name',
|
||||
title: 'File',
|
||||
sortable: true,
|
||||
formatter: function(value, row, index) {
|
||||
|
||||
return [
|
||||
'<b>' + row.name + '</b><br />',
|
||||
'<a class="delete_gpx_row" href="/wp-admin/options-general.php?page=WP-GPX-Maps&_wpnonce=' + row.nonce + '" >Delete</a>',
|
||||
' | ',
|
||||
'<a href="<?php echo $wpgpxmaps_gpxRelativePath ?>' + row.name + '">Download</a>',
|
||||
' | ',
|
||||
'Shortcode: [sgpx gpx="<?php echo $relativeGpxPath ?>' + row.name + '"]',
|
||||
].join('')
|
||||
|
||||
}
|
||||
}, {
|
||||
field: 'lastedit',
|
||||
title: 'Last modified',
|
||||
sortable: true,
|
||||
formatter: function(value, row, index) {
|
||||
var d = new Date(value*1000);
|
||||
return d.toLocaleDateString() + " " + d.toLocaleTimeString();
|
||||
}
|
||||
}, {
|
||||
field: 'size',
|
||||
title: 'File size',
|
||||
sortable: true,
|
||||
formatter: function(value, row, index) { return humanFileSize(value); }
|
||||
}],
|
||||
sortName : 'lastedit',
|
||||
sortOrder : 'desc',
|
||||
data: <?php echo json_encode( $myGpxFileNames ) ?>
|
||||
});
|
||||
|
||||
jQuery('.delete_gpx_row').click(function(){
|
||||
return confirm("Are you sure you want to delete?");
|
||||
})
|
||||
|
||||
function humanFileSize(bytes, si) {
|
||||
var thresh = si ? 1000 : 1024;
|
||||
if(Math.abs(bytes) < thresh) {
|
||||
return bytes + ' B';
|
||||
}
|
||||
var units = si
|
||||
? ['kB','MB','GB','TB','PB','EB','ZB','YB']
|
||||
: ['KiB','MiB','GiB','TiB','PiB','EiB','ZiB','YiB'];
|
||||
var u = -1;
|
||||
do {
|
||||
bytes /= thresh;
|
||||
++u;
|
||||
} while(Math.abs(bytes) >= thresh && u < units.length - 1);
|
||||
return bytes.toFixed(1)+' '+units[u];
|
||||
}
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
<style>
|
||||
#table tr:hover {
|
||||
background:#eeeeee;
|
||||
}
|
||||
<?php
|
||||
|
||||
if ( !(is_admin()) )
|
||||
return;
|
||||
|
||||
$is_admin = current_user_can( 'manage_options' );
|
||||
|
||||
if ( $is_admin != 1 )
|
||||
return;
|
||||
|
||||
$gpxRegEx = '/.gpx$/i';
|
||||
|
||||
if ( isset($_POST['clearcache']) )
|
||||
{
|
||||
|
||||
if ( isset($_GET['_wpnonce'])
|
||||
&&
|
||||
wp_verify_nonce( $_GET['_wpnonce'], 'wpgpx_clearcache_nonce' . $entry )
|
||||
)
|
||||
{
|
||||
echo "Cache is now empty!";
|
||||
wpgpxmaps_recursive_remove_directory($cacheGpxPath, true);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if ( is_writable ( $realGpxPath ) ){
|
||||
|
||||
?>
|
||||
|
||||
<div class="tablenav top">
|
||||
<form enctype="multipart/form-data" method="POST" style="float:left; margin:5px 20px 0 0" action="/wp-admin/options-general.php?page=WP-GPX-Maps">
|
||||
Choose a file to upload: <input name="uploadedfile[]" type="file" onchange="submitgpx(this);" multiple />
|
||||
<?php
|
||||
if ( isset($_FILES['uploadedfile']) )
|
||||
{
|
||||
$total = count($_FILES['uploadedfile']['name']);
|
||||
for($i=0; $i<$total; $i++) {
|
||||
$uploadingFileName = basename( $_FILES['uploadedfile']['name'][$i]);
|
||||
$target_path = $realGpxPath ."/". $uploadingFileName;
|
||||
if (preg_match($gpxRegEx, $target_path))
|
||||
{
|
||||
if(move_uploaded_file($_FILES['uploadedfile']['tmp_name'][$i], $target_path)) {
|
||||
echo "<br />File <b>". $uploadingFileName . "</b> has been uploaded";
|
||||
} else{
|
||||
echo "<br />There was an error uploading the file, please try again!";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "file not supported!";
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
</form>
|
||||
|
||||
<form method="POST" style="float:left; margin:5px 20px 0 0" action="/wp-admin/options-general.php?page=WP-GPX-Maps&_wpnonce=<?php echo wp_create_nonce( 'wpgpx_clearcache_nonce' ) ?>" >
|
||||
<input type="submit" name="clearcache" value="Clear Cache" />
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
||||
<?php
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
?>
|
||||
<br />
|
||||
<br />
|
||||
<p style='font-size:2em;'>please make <b><?php echo $realGpxPath ?></b> folder writable. </p>
|
||||
<br />
|
||||
<br />
|
||||
|
||||
<?php
|
||||
}
|
||||
|
||||
$myGpxFileNames = array();
|
||||
if ( is_readable ( $realGpxPath ) && $handle = opendir($realGpxPath)) {
|
||||
while (false !== ($entry = readdir($handle))) {
|
||||
if (preg_match($gpxRegEx, $entry ))
|
||||
{
|
||||
|
||||
if ( isset($_GET['_wpnonce'])
|
||||
&&
|
||||
wp_verify_nonce( $_GET['_wpnonce'], 'wpgpx_deletefile_nonce_' . $entry )
|
||||
) {
|
||||
|
||||
if ( file_exists($realGpxPath ."/". $entry) )
|
||||
{
|
||||
unlink($realGpxPath ."/". $entry);
|
||||
echo "<br/><b>$entry has been deleted.</b>";
|
||||
}
|
||||
else {
|
||||
echo "<br/><b>Can't delete $entry.</b>";
|
||||
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$myFile = $realGpxPath . "/" . $entry;
|
||||
$myGpxFileNames[] = array(
|
||||
'name' => $entry,
|
||||
'size' => filesize( $myFile ),
|
||||
'lastedit' => filemtime( $myFile ),
|
||||
'nonce' => wp_create_nonce( 'wpgpx_deletefile_nonce_' . $entry ),
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
closedir($handle);
|
||||
}
|
||||
|
||||
if ( is_readable ( $realGpxPath ) && $handle = opendir($realGpxPath)) {
|
||||
while (false !== ($entry = readdir($handle))) {
|
||||
if (preg_match($gpxRegEx,$entry ))
|
||||
{
|
||||
$filenames[] = $realGpxPath . "/" . $entry;
|
||||
}
|
||||
}
|
||||
closedir($handle);
|
||||
}
|
||||
|
||||
$wpgpxmaps_gpxRelativePath = get_site_url(null, '/wp-content/uploads/gpx/');
|
||||
|
||||
?>
|
||||
|
||||
<table id="table" class="wp-list-table widefat plugins"></table>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
function submitgpx(el)
|
||||
{
|
||||
var newEl = document.createElement('span');
|
||||
newEl.innerHTML = 'Uploading file...';
|
||||
el.parentNode.insertBefore(newEl,el.nextSibling);
|
||||
el.parentNode.submit()
|
||||
}
|
||||
|
||||
jQuery('#table').bootstrapTable({
|
||||
columns: [{
|
||||
field: 'name',
|
||||
title: 'File',
|
||||
sortable: true,
|
||||
formatter: function(value, row, index) {
|
||||
|
||||
return [
|
||||
'<b>' + row.name + '</b><br />',
|
||||
'<a class="delete_gpx_row" href="/wp-admin/options-general.php?page=WP-GPX-Maps&_wpnonce=' + row.nonce + '" >Delete</a>',
|
||||
' | ',
|
||||
'<a href="<?php echo $wpgpxmaps_gpxRelativePath ?>' + row.name + '">Download</a>',
|
||||
' | ',
|
||||
'Shortcode: [sgpx gpx="<?php echo $relativeGpxPath ?>' + row.name + '"]',
|
||||
].join('')
|
||||
|
||||
}
|
||||
}, {
|
||||
field: 'lastedit',
|
||||
title: 'Last modified',
|
||||
sortable: true,
|
||||
formatter: function(value, row, index) {
|
||||
var d = new Date(value*1000);
|
||||
return d.toLocaleDateString() + " " + d.toLocaleTimeString();
|
||||
}
|
||||
}, {
|
||||
field: 'size',
|
||||
title: 'File size',
|
||||
sortable: true,
|
||||
formatter: function(value, row, index) { return humanFileSize(value); }
|
||||
}],
|
||||
sortName : 'lastedit',
|
||||
sortOrder : 'desc',
|
||||
data: <?php echo json_encode( $myGpxFileNames ) ?>
|
||||
});
|
||||
|
||||
jQuery('.delete_gpx_row').click(function(){
|
||||
return confirm("Are you sure you want to delete?");
|
||||
})
|
||||
|
||||
function humanFileSize(bytes, si) {
|
||||
var thresh = si ? 1000 : 1024;
|
||||
if(Math.abs(bytes) < thresh) {
|
||||
return bytes + ' B';
|
||||
}
|
||||
var units = si
|
||||
? ['kB','MB','GB','TB','PB','EB','ZB','YB']
|
||||
: ['KiB','MiB','GiB','TiB','PiB','EiB','ZiB','YiB'];
|
||||
var u = -1;
|
||||
do {
|
||||
bytes /= thresh;
|
||||
++u;
|
||||
} while(Math.abs(bytes) >= thresh && u < units.length - 1);
|
||||
return bytes.toFixed(1)+' '+units[u];
|
||||
}
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
<style>
|
||||
#table tr:hover {
|
||||
background:#eeeeee;
|
||||
}
|
||||
</style>
|
|
@ -220,7 +220,7 @@
|
|||
|
||||
$gpx->registerXPathNamespace('a', 'http://www.topografix.com/GPX/1/0');
|
||||
$gpx->registerXPathNamespace('b', 'http://www.topografix.com/GPX/1/1');
|
||||
$gpx->registerXPathNamespace('gpxtpx', 'http://www.garmin.com/xmlschemas/TrackPointExtension/v1');
|
||||
$gpx->registerXPathNamespace('ns3', 'http://www.garmin.com/xmlschemas/TrackPointExtension/v1');
|
||||
|
||||
$nodes = $gpx->xpath('//trk | //a:trk | //b:trk');
|
||||
//normal gpx
|
||||
|
@ -235,7 +235,7 @@
|
|||
|
||||
$trk->registerXPathNamespace('a', 'http://www.topografix.com/GPX/1/0');
|
||||
$trk->registerXPathNamespace('b', 'http://www.topografix.com/GPX/1/1');
|
||||
$trk->registerXPathNamespace('gpxtpx', 'http://www.garmin.com/xmlschemas/TrackPointExtension/v1');
|
||||
$trk->registerXPathNamespace('ns3', 'http://www.garmin.com/xmlschemas/TrackPointExtension/v1');
|
||||
|
||||
$trkpts = $trk->xpath('//trkpt | //a:trkpt | //b:trkpt');
|
||||
|
||||
|
@ -265,12 +265,12 @@
|
|||
|
||||
$arr = json_decode( json_encode($trkpt->extensions) , 1);
|
||||
|
||||
if (isset($arr['gpxtpx:TrackPointExtension']))
|
||||
if (isset($arr['ns3:TrackPointExtension']))
|
||||
{
|
||||
$tpe = $arr['gpxtpx:TrackPointExtension'];
|
||||
$hr = @$tpe["gpxtpx:hr"];
|
||||
$atemp = @$tpe["gpxtpx:atemp"];
|
||||
$cad = @$tpe["gpxtpx:cad"];
|
||||
$tpe = $arr['ns3:TrackPointExtension'];
|
||||
$hr = @$tpe["ns3:hr"];
|
||||
$atemp = @$tpe["ns3:atemp"];
|
||||
$cad = @$tpe["ns3:cad"];
|
||||
}
|
||||
else if (isset($arr['TrackPointExtension']))
|
||||
{
|
||||
|
|
|
@ -1,149 +1,149 @@
|
|||
<?php
|
||||
|
||||
function wpgpxmaps_isNGGalleryActive() {
|
||||
if (!function_exists('is_plugin_active')) {
|
||||
require_once(wp_gpx_maps_sitePath() . '/wp-admin/includes/plugin.php');
|
||||
}
|
||||
return is_plugin_active("nextgen-gallery/nggallery.php");
|
||||
}
|
||||
|
||||
function wpgpxmaps_isNGGalleryProActive() {
|
||||
if (!function_exists('is_plugin_active')) {
|
||||
require_once(wp_gpx_maps_sitePath() . '/wp-admin/includes/plugin.php');
|
||||
}
|
||||
return is_plugin_active("nextgen-gallery-pro/nggallery-pro.php");
|
||||
}
|
||||
|
||||
|
||||
function getNGGalleryImages($ngGalleries, $ngImages, $dt, $lat, $lon, $dtoffset, &$error)
|
||||
{
|
||||
|
||||
$result = array();
|
||||
$galids = explode(',', $ngGalleries);
|
||||
$imgids = explode(',', $ngImages);
|
||||
|
||||
if (!wpgpxmaps_isNGGalleryActive())
|
||||
return '';
|
||||
try {
|
||||
|
||||
$pictures = array();
|
||||
foreach ($galids as $g) {
|
||||
$pictures = array_merge($pictures, nggdb::get_gallery($g));
|
||||
}
|
||||
foreach ($imgids as $i) {
|
||||
array_push($pictures, nggdb::find_image($i));
|
||||
}
|
||||
|
||||
// print_r ($pictures);
|
||||
|
||||
foreach ($pictures as $p) {
|
||||
|
||||
$item = array();
|
||||
$item["data"] = $p->thumbHTML;
|
||||
|
||||
if (is_callable('exif_read_data'))
|
||||
{
|
||||
$exif = @exif_read_data($p->imagePath);
|
||||
if ($exif !== false)
|
||||
{
|
||||
$item["lon"] = getExifGps($exif["GPSLongitude"], $exif['GPSLongitudeRef']);
|
||||
$item["lat"] = getExifGps($exif["GPSLatitude"], $exif['GPSLatitudeRef']);
|
||||
if (($item["lat"] != 0) || ($item["lon"] != 0))
|
||||
{
|
||||
$result[] = $item;
|
||||
}
|
||||
else if (isset($p->imagedate))
|
||||
{
|
||||
$_dt = strtotime($p->imagedate) + $dtoffset;
|
||||
$_item = findItemCoordinate($_dt, $dt, $lat, $lon);
|
||||
if ($_item != null)
|
||||
{
|
||||
$item["lat"] = $_item["lat"];
|
||||
$item["lon"] = $_item["lon"];
|
||||
$result[] = $item;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$error .= "Sorry, <a href='http://php.net/manual/en/function.exif-read-data.php' target='_blank' >exif_read_data</a> function not found! check your hosting..<br />";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* START FIX NEXT GEN GALLERY 2.x */
|
||||
|
||||
if ( class_exists("C_Component_Registry") )
|
||||
{
|
||||
|
||||
$renderer = C_Component_Registry::get_instance()->get_utility('I_Displayed_Gallery_Renderer');
|
||||
$params['gallery_ids'] = $ngGalleries;
|
||||
$params['image_ids'] = $ngImages;
|
||||
$params['display_type'] = NEXTGEN_GALLERY_BASIC_THUMBNAILS;
|
||||
$params['images_per_page'] = 999;
|
||||
// also add js references to get the gallery working
|
||||
$dummy = $renderer->display_images($params, $inner_content);
|
||||
|
||||
/* START FIX NEXT GEN GALLERY PRO */
|
||||
|
||||
if (preg_match("/data-nplmodal-gallery-id=[\"'](.*?)[\"']/", $dummy, $m))
|
||||
{
|
||||
$galid = $m[1];
|
||||
if ($galid)
|
||||
{
|
||||
for($i = 0; $i < count($result); ++$i)
|
||||
{
|
||||
$result[$i]["data"] = str_replace("%PRO_LIGHTBOX_GALLERY_ID%", $galid, $result[$i]["data"]);
|
||||
}
|
||||
}
|
||||
}
|
||||
/* END FIX NEXT GEN GALLERY PRO */
|
||||
}
|
||||
|
||||
/* END FIX NEXT GEN GALLERY 2.x */
|
||||
|
||||
} catch (Exception $e) {
|
||||
$error .= 'Error When Retrieving NextGen Gallery galleries/images: $e <br />';
|
||||
}
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
function findItemCoordinate($imgdt, $dt, $lat, $lon)
|
||||
{
|
||||
foreach(array_keys($dt) as $i)
|
||||
{
|
||||
if ($i!=0 && $imgdt >= $dt[$i-1] && $imgdt <= $dt[$i])
|
||||
{
|
||||
if ($lat[$i] != 0 && $lon[$i] != 0)
|
||||
return array( "lat" => $lat[$i], "lon" => $lon[$i] );
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
function getExifGps($exifCoord, $hemi)
|
||||
{
|
||||
$degrees = count($exifCoord) > 0 ? gps2Num($exifCoord[0]) : 0;
|
||||
$minutes = count($exifCoord) > 1 ? gps2Num($exifCoord[1]) : 0;
|
||||
$seconds = count($exifCoord) > 2 ? gps2Num($exifCoord[2]) : 0;
|
||||
$flip = ($hemi == 'W' or $hemi == 'S') ? -1 : 1;
|
||||
return $flip * ($degrees + $minutes / 60 + $seconds / 3600);
|
||||
}
|
||||
|
||||
function gps2Num($coordPart)
|
||||
{
|
||||
$parts = explode('/', $coordPart);
|
||||
if (count($parts) <= 0)
|
||||
return 0;
|
||||
if (count($parts) == 1)
|
||||
return $parts[0];
|
||||
$lat = floatval($parts[0]);
|
||||
$lon = floatval($parts[1]);
|
||||
if ($lon == 0)
|
||||
return $lat;
|
||||
return $lat / $lon;
|
||||
}
|
||||
|
||||
<?php
|
||||
|
||||
function wpgpxmaps_isNGGalleryActive() {
|
||||
if (!function_exists('is_plugin_active')) {
|
||||
require_once(wp_gpx_maps_sitePath() . '/wp-admin/includes/plugin.php');
|
||||
}
|
||||
return is_plugin_active("nextgen-gallery/nggallery.php");
|
||||
}
|
||||
|
||||
function wpgpxmaps_isNGGalleryProActive() {
|
||||
if (!function_exists('is_plugin_active')) {
|
||||
require_once(wp_gpx_maps_sitePath() . '/wp-admin/includes/plugin.php');
|
||||
}
|
||||
return is_plugin_active("nextgen-gallery-pro/nggallery-pro.php");
|
||||
}
|
||||
|
||||
|
||||
function getNGGalleryImages($ngGalleries, $ngImages, $dt, $lat, $lon, $dtoffset, &$error)
|
||||
{
|
||||
|
||||
$result = array();
|
||||
$galids = explode(',', $ngGalleries);
|
||||
$imgids = explode(',', $ngImages);
|
||||
|
||||
if (!wpgpxmaps_isNGGalleryActive())
|
||||
return '';
|
||||
try {
|
||||
|
||||
$pictures = array();
|
||||
foreach ($galids as $g) {
|
||||
$pictures = array_merge($pictures, nggdb::get_gallery($g));
|
||||
}
|
||||
foreach ($imgids as $i) {
|
||||
array_push($pictures, nggdb::find_image($i));
|
||||
}
|
||||
|
||||
// print_r ($pictures);
|
||||
|
||||
foreach ($pictures as $p) {
|
||||
|
||||
$item = array();
|
||||
$item["data"] = $p->thumbHTML;
|
||||
|
||||
if (is_callable('exif_read_data'))
|
||||
{
|
||||
$exif = @exif_read_data($p->imagePath);
|
||||
if ($exif !== false)
|
||||
{
|
||||
$item["lon"] = getExifGps($exif["GPSLongitude"], $exif['GPSLongitudeRef']);
|
||||
$item["lat"] = getExifGps($exif["GPSLatitude"], $exif['GPSLatitudeRef']);
|
||||
if (($item["lat"] != 0) || ($item["lon"] != 0))
|
||||
{
|
||||
$result[] = $item;
|
||||
}
|
||||
else if (isset($p->imagedate))
|
||||
{
|
||||
$_dt = strtotime($p->imagedate) + $dtoffset;
|
||||
$_item = findItemCoordinate($_dt, $dt, $lat, $lon);
|
||||
if ($_item != null)
|
||||
{
|
||||
$item["lat"] = $_item["lat"];
|
||||
$item["lon"] = $_item["lon"];
|
||||
$result[] = $item;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$error .= "Sorry, <a href='http://php.net/manual/en/function.exif-read-data.php' target='_blank' >exif_read_data</a> function not found! check your hosting..<br />";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* START FIX NEXT GEN GALLERY 2.x */
|
||||
|
||||
if ( class_exists("C_Component_Registry") )
|
||||
{
|
||||
|
||||
$renderer = C_Component_Registry::get_instance()->get_utility('I_Displayed_Gallery_Renderer');
|
||||
$params['gallery_ids'] = $ngGalleries;
|
||||
$params['image_ids'] = $ngImages;
|
||||
$params['display_type'] = NEXTGEN_GALLERY_BASIC_THUMBNAILS;
|
||||
$params['images_per_page'] = 999;
|
||||
// also add js references to get the gallery working
|
||||
$dummy = $renderer->display_images($params, $inner_content);
|
||||
|
||||
/* START FIX NEXT GEN GALLERY PRO */
|
||||
|
||||
if (preg_match("/data-nplmodal-gallery-id=[\"'](.*?)[\"']/", $dummy, $m))
|
||||
{
|
||||
$galid = $m[1];
|
||||
if ($galid)
|
||||
{
|
||||
for($i = 0; $i < count($result); ++$i)
|
||||
{
|
||||
$result[$i]["data"] = str_replace("%PRO_LIGHTBOX_GALLERY_ID%", $galid, $result[$i]["data"]);
|
||||
}
|
||||
}
|
||||
}
|
||||
/* END FIX NEXT GEN GALLERY PRO */
|
||||
}
|
||||
|
||||
/* END FIX NEXT GEN GALLERY 2.x */
|
||||
|
||||
} catch (Exception $e) {
|
||||
$error .= 'Error When Retrieving NextGen Gallery galleries/images: $e <br />';
|
||||
}
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
function findItemCoordinate($imgdt, $dt, $lat, $lon)
|
||||
{
|
||||
foreach(array_keys($dt) as $i)
|
||||
{
|
||||
if ($i!=0 && $imgdt >= $dt[$i-1] && $imgdt <= $dt[$i])
|
||||
{
|
||||
if ($lat[$i] != 0 && $lon[$i] != 0)
|
||||
return array( "lat" => $lat[$i], "lon" => $lon[$i] );
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
function getExifGps($exifCoord, $hemi)
|
||||
{
|
||||
$degrees = count($exifCoord) > 0 ? gps2Num($exifCoord[0]) : 0;
|
||||
$minutes = count($exifCoord) > 1 ? gps2Num($exifCoord[1]) : 0;
|
||||
$seconds = count($exifCoord) > 2 ? gps2Num($exifCoord[2]) : 0;
|
||||
$flip = ($hemi == 'W' or $hemi == 'S') ? -1 : 1;
|
||||
return $flip * ($degrees + $minutes / 60 + $seconds / 3600);
|
||||
}
|
||||
|
||||
function gps2Num($coordPart)
|
||||
{
|
||||
$parts = explode('/', $coordPart);
|
||||
if (count($parts) <= 0)
|
||||
return 0;
|
||||
if (count($parts) == 1)
|
||||
return $parts[0];
|
||||
$lat = floatval($parts[0]);
|
||||
$lon = floatval($parts[1]);
|
||||
if ($lon == 0)
|
||||
return $lat;
|
||||
return $lat / $lon;
|
||||
}
|
||||
|
||||
?>
|
Loading…
Reference in New Issue