From 669ea343634285df4d90c9e1411ea6ec12816f30 Mon Sep 17 00:00:00 2001 From: bastianonm Date: Mon, 25 Jun 2012 12:59:57 +0000 Subject: [PATCH] --- readme.txt | 6 +++++- wp-gpx-maps.php | 8 ++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/readme.txt b/readme.txt index 3824867..1d7aeb7 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i Tags: maps, gpx, gps, graph, chart, google maps, highcharts, track, garmin, image, nextgen-gallery, nextgen, exif, OpenStreetMap, OpenCycleMap, Hike&Bike, heart rate, heartrate, cadence Requires at least: 2.0.0 Tested up to: 3.4 -Stable tag: 1.1.27 +Stable tag: 1.1.28 License: GPLv2 or later Draws a gpx track with altitude graph. You can also display your nextgen gallery images in the map. @@ -133,6 +133,10 @@ Yes! 1. Altitude & Speed & Hearth rate == Changelog == += 1.1.28 = +* Decimal and thousand separator derived from browser language +* Added summary table (see settings): Total distance, Max elevation, Min elevation, Total climbing, Total descent, Average speed +* Added 2 speed units of measure: minutes per mile and minutes per kilometer = 1.1.26 = * Multilanguage implementation (only front-end). I've implemented the italian one, I hope somebody will help me with other languages.. * Map Full screen mode (I'm sure it's not working in ie6. don't even ask!) diff --git a/wp-gpx-maps.php b/wp-gpx-maps.php index be3356a..a4f9759 100644 --- a/wp-gpx-maps.php +++ b/wp-gpx-maps.php @@ -3,7 +3,7 @@ Plugin Name: WP-GPX-Maps Plugin URI: http://www.darwinner.it/ Description: Draws a gpx track with altitude graph -Version: 1.1.27 +Version: 1.1.28 Author: Bastianon Massimo Author URI: http://www.pedemontanadelgrappa.it/ License: GPL @@ -51,7 +51,7 @@ function enqueue_WP_GPX_Maps_scripts() wp_enqueue_script( 'googleapis' ); wp_deregister_script( 'WP-GPX-Maps' ); - wp_register_script( 'WP-GPX-Maps', plugins_url('/WP-GPX-Maps.js', __FILE__), array('jquery'), "1.1.26"); + wp_register_script( 'WP-GPX-Maps', plugins_url('/WP-GPX-Maps.js', __FILE__), array('jquery'), "1.1.28"); wp_enqueue_script( 'WP-GPX-Maps' ); wp_deregister_script( 'highcharts' ); @@ -139,7 +139,7 @@ function handle_WP_GPX_Maps_Shortcodes($attr, $content='') $gpxurl = $gpx; - $cacheFileName = "$gpx,$w,$mh,$mt,$gh,$showW,$showHr,$showCad,$donotreducegpx,$pointsoffset,$showSpeed,$uomspeed,$uom,v1.1.28l"; + $cacheFileName = "$gpx,$w,$mh,$mt,$gh,$showW,$showHr,$showCad,$donotreducegpx,$pointsoffset,$showSpeed,$uomspeed,$uom,v1.1.28"; $cacheFileName = md5($cacheFileName); @@ -289,7 +289,7 @@ function handle_WP_GPX_Maps_Shortcodes($attr, $content='') } else { - // meters / kilometers + // meters / meters $tot_len = $tot_len ." m"; $max_ele = $max_ele ." m"; $min_ele = $min_ele ." m";