forked from GNUsocial/gnu-social
Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.x
Conflicts: plugins/OpenID/openid.php
This commit is contained in:
@@ -125,8 +125,8 @@ class MapstractionPlugin extends Plugin
|
||||
$action->script('http://tile.cloudmade.com/wml/0.2/web-maps-lite.js');
|
||||
break;
|
||||
case 'google':
|
||||
$action->script(sprintf('http://maps.google.com/maps?file=api&v=2&sensor=false&key=%s',
|
||||
$this->apikey));
|
||||
$action->script(sprintf('http://maps.google.com/maps?file=api&v=2&sensor=false&key=%s',
|
||||
urlencode($this->apikey)));
|
||||
break;
|
||||
case 'microsoft':
|
||||
$action->script('http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6');
|
||||
@@ -137,7 +137,7 @@ class MapstractionPlugin extends Plugin
|
||||
break;
|
||||
case 'yahoo':
|
||||
$action->script(sprintf('http://api.maps.yahoo.com/ajaxymap?v=3.8&appid=%s',
|
||||
$this->apikey));
|
||||
urlencode($this->apikey)));
|
||||
break;
|
||||
case 'geocommons': // don't support this yet
|
||||
default:
|
||||
|
@@ -104,7 +104,7 @@ function showMapstraction(element, notices) {
|
||||
pt = new mxn.LatLonPoint(lat, lon);
|
||||
mkr = new mxn.Marker(pt);
|
||||
|
||||
mkr.setIcon(n['user']['profile_image_url']);
|
||||
mkr.setIcon(n['user']['profile_image_url'], [24, 24]);
|
||||
mkr.setInfoBubble('<a href="'+ n['user']['profile_url'] + '">' + n['user']['screen_name'] + '</a>' + ' ' + n['html'] +
|
||||
'<br/><a href="'+ n['url'] + '">'+ n['created_at'] + '</a>');
|
||||
|
||||
|
Reference in New Issue
Block a user