Changeset 1313005
- Timestamp:
- 12/20/2015 06:30:43 PM (10 years ago)
- Location:
- xmap/trunk
- Files:
-
- 3 edited
-
includes/shortcodes.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
xmap.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
xmap/trunk/includes/shortcodes.php
r896760 r1313005 22 22 'route' => '', 23 23 'user' => '', 24 'extended' => $options['extended'] == ' 1' ? 'true' : 'false',24 'extended' => $options['extended'] == 'true' ? 1 : 0, 25 25 'unit' => $options['unit'], 26 26 'width' => $options['width'], … … 41 41 42 42 $maptype = xmap_maptype_id($type); 43 $ext = $extended == "true" || $extended == 1 ? 1 : 0; 43 44 44 $src = "http://$domain/$dir/widget?width=$width&height=$height&extended=$ext ended&unit=$unit&redirect=no";45 $src = "http://$domain/$dir/widget?width=$width&height=$height&extended=$ext&unit=$unit"; 45 46 46 return xmap_print_map($src, (int) $width, $ext ended == 'true'? (int) $height + 105 : (int) $height);47 return xmap_print_map($src, (int) $width, $ext == 1 ? (int) $height + 105 : (int) $height); 47 48 } 48 49 -
xmap/trunk/readme.txt
r1312552 r1313005 4 4 Requires at least: 3.0 5 5 Tested up to: 4.5 6 Stable tag: 1. 26 Stable tag: 1.3 7 7 8 8 XMap lets you embed maptoolkit maps (like www.bikemap.net) into your WordPress blog. … … 60 60 == Changelog == 61 61 62 = 1.3 = 63 * Adapted code to a change in MapToolKit Widgets 64 62 65 = 1.2 = 63 66 * Fixed a problem with included file paths that prevented plugin from being activated -
xmap/trunk/xmap.php
r1312559 r1313005 3 3 Plugin Name: XMap 4 4 Description: Embed maps from the following domains into WordPress: <a href='http://www.bikemap.net'>bikemap.net</a>, <a href='http://www.runmap.net'>runmap.net</a>, <a href='http://www.inlinemap.net'>inlinemap.net</a>, <a href='http://www.wandermap.net'>wandermap.net</a>, <a href='http://www.mopedmap.net'>mopedmap.net</a> 5 Version: 1. 25 Version: 1.3 6 6 Text Domain: xmap 7 7 Author: Matthias Scheidl <dev@scheidl.name>
Note: See TracChangeset
for help on using the changeset viewer.