Plugin Directory

Changeset 986832


Ignore:
Timestamp:
09/10/2014 10:21:36 PM (12 years ago)
Author:
awerhane74
Message:

[TAG 1.0.9]

Location:
easy-maps/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • easy-maps/trunk/easy-maps.php

    r986826 r986832  
    77 * Description: Enhance your posts with Google Maps.  Use the Trippy Easy Maps plugin to easily create more dynamic content.
    88 * Plugin URI:
    9  * Version:     1.0.8
     9 * Version:     1.0.9
    1010 * Author:      Team Trippy
    1111 * Author URI:  http://www.trippy.com
     
    159159    }
    160160   
     161   
     162    if ($currentLayoutMode != "bottom") {
     163        $content_width = round($content_width/2);
     164    }
     165
    161166    if ($content_width < 250) {
    162167        $content_width = 250;
    163168    }
    164169   
    165     if ($currentLayoutMode != "bottom") {
    166         $content_width = round($content_width/2);
    167     }
    168 
    169170    $mapWidth = $isAdminMode ? 250 : round($content_width);
    170171   
     
    245246        $pluginUrl = $trippy_base_url . "/tools/wordpress-easy-maps-plugin";
    246247        if ($currentLayoutMode != "bottom") {
    247           $inline_style = $content_width."px";
     248          $inline_style = "width:".$content_width."px";
    248249        } 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> &nbsp;|&nbsp; <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> &nbsp;|&nbsp; <a href=\"". $pluginUrl . "\" target=\"_blank\">get the wordpress map plugin</a></span></div></div>"; 
    253254    } else {
    254255        return "";
  • easy-maps/trunk/readme.txt

    r986826 r986832  
    4343
    4444== Changelog ==
     45= 1.0.9 =
     46* Map CSS updates
     47
    4548= 1.0.8 =
    4649* Added support for Wordpress 4.0
Note: See TracChangeset for help on using the changeset viewer.