Changeset 986832
- Timestamp:
- 09/10/2014 10:21:36 PM (12 years ago)
- Location:
- easy-maps/trunk
- Files:
-
- 2 edited
-
easy-maps.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
easy-maps/trunk/easy-maps.php
r986826 r986832 7 7 * Description: Enhance your posts with Google Maps. Use the Trippy Easy Maps plugin to easily create more dynamic content. 8 8 * Plugin URI: 9 * Version: 1.0. 89 * Version: 1.0.9 10 10 * Author: Team Trippy 11 11 * Author URI: http://www.trippy.com … … 159 159 } 160 160 161 162 if ($currentLayoutMode != "bottom") { 163 $content_width = round($content_width/2); 164 } 165 161 166 if ($content_width < 250) { 162 167 $content_width = 250; 163 168 } 164 169 165 if ($currentLayoutMode != "bottom") {166 $content_width = round($content_width/2);167 }168 169 170 $mapWidth = $isAdminMode ? 250 : round($content_width); 170 171 … … 245 246 $pluginUrl = $trippy_base_url . "/tools/wordpress-easy-maps-plugin"; 246 247 if ($currentLayoutMode != "bottom") { 247 $inline_style = $content_width."px";248 $inline_style = "width:".$content_width."px"; 248 249 } else { 249 $inline_style = " 100%";250 } 251 252 return "<div style=\" width:".$inline_style."\" class=\"trippy-map-panel-preview-container trippy-map-panel-preview-container-" . $currentLayoutMode . "\"><div class=\"trippy-map-panel-title\">Mentioned in this post</div><a href=\"". $trippyMapDetailUrl . "\" target=\"_blank\"><img src=\"" . $trippyStaticMapUrl . "\" class=\"trippy-map-panel-preview-map-img\"><!--</a>-->". $trippyPlacesList. " <div class=\"trippy-map-panel-preview-container-header\">" . ($isAdminMode || is_preview() ? "" : "<img src=\"" . $trippyTrackingUrl. "\" width=\"1\" height=\"1\" style=\"float:left;\">"). "<span class=\"trippy-map-panel-preview-container-header-contents\"><a href=\"http://www.trippy.com\" target=\"_blank\">powered by <strong>trippy</strong></a> | <a href=\"". $pluginUrl . "\" target=\"_blank\">get the wordpress map plugin</a></span></div></div>";250 $inline_style = ""; 251 } 252 253 return "<div style=\"".$inline_style."\" class=\"trippy-map-panel-preview-container trippy-map-panel-preview-container-" . $currentLayoutMode . "\"><div class=\"trippy-map-panel-title\">Mentioned in this post</div><a href=\"". $trippyMapDetailUrl . "\" target=\"_blank\"><img src=\"" . $trippyStaticMapUrl . "\" class=\"trippy-map-panel-preview-map-img\"><!--</a>-->". $trippyPlacesList. " <div class=\"trippy-map-panel-preview-container-header\">" . ($isAdminMode || is_preview() ? "" : "<img src=\"" . $trippyTrackingUrl. "\" width=\"1\" height=\"1\" style=\"float:left;\">"). "<span class=\"trippy-map-panel-preview-container-header-contents\"><a href=\"http://www.trippy.com\" target=\"_blank\">powered by <strong>trippy</strong></a> | <a href=\"". $pluginUrl . "\" target=\"_blank\">get the wordpress map plugin</a></span></div></div>"; 253 254 } else { 254 255 return ""; -
easy-maps/trunk/readme.txt
r986826 r986832 43 43 44 44 == Changelog == 45 = 1.0.9 = 46 * Map CSS updates 47 45 48 = 1.0.8 = 46 49 * Added support for Wordpress 4.0
Note: See TracChangeset
for help on using the changeset viewer.