<?php
/***************************************************************************
- * Copyright (C) 2003-2007 Polytechnique.org *
+ * Copyright (C) 2003-2009 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
$txthtml = "";
$map = "<a href=\"http://maps.google.fr/?q="
- . urlencode(str_replace('États-Unis d\'Amérique', 'USA', implode(", ", $lines) . " ($idt)"))
+ . urlencode(implode(", ", $lines) . " ($idt)")
. "\"><img src=\"images/icons/map.gif\" alt=\"Google Maps\" title=\"Carte\"/></a>";
if ($restore) {
array_unshift($lines, $idt);
if ($param['titre'])
{
if ($param['titre_div'])
- $txthtml .= "<div class='titre'>".$param['titre'].$map."</div>\n";
+ $txthtml .= "<div class='titre'>".pl_entity_decode($param['titre'])." ".$map."</div>\n";
else
- $txthtml .= "<em>".$param['titre']."</em>".$map."<br />\n";
+ $txthtml .= "<em>".pl_entity_decode($param['titre'])." </em>".$map."<br />\n";
}
foreach ($lines as $line)
{