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