From 0.9.11 branch:
+ * Geoloc:
+ - #469: Google Maps link works for the USA -FRU
+
* Payment:
- #482: fix action in the form. -MC
!$param['adr']['fax'] &&
!$param['adr']['mobile']) return "";
- $lines = explode("\n",$txtad);
+ $lines = explode("\n", $txtad);
$txthtml = "";
- $map = "<a href=\"http://maps.google.fr/?q=".urlencode(implode(", ", $lines))."\"><img src=\"images/icons/map.gif\" title=\"Carte\"/></a>";
+ $map = "<a href=\"http://maps.google.fr/?q=".urlencode(str_replace('États-Unis d\'Amérique', 'USA', implode(", ", $lines)))."\"><img src=\"images/icons/map.gif\" title=\"Carte\"/></a>";
if ($param['titre'])
{
if ($param['titre_div'])