";
$comment = "";
if ($param['adr']['comment'] != "")
{
$commentHtml = str_replace(array('&', '"'), array('&', '"'), $param['adr']['comment']);
$commentJs = str_replace(array('\\', '\''), array('\\\\', '\\\''), $commentHtml);
$comment = "";
}
if ($restore) {
array_unshift($lines, $idt);
}
if ($param['titre'])
{
if ($param['titre_div'])
$txthtml .= "".pl_entity_decode($param['titre'])." ".$map.$comment."
\n";
else
$txthtml .= "".pl_entity_decode($param['titre'])." ".$map.$comment."
\n";
}
foreach ($lines as $line)
{
$txthtml .= "".$line."
\n";
}
if(isset($param['adr']['tels'])) {
require_once('function.display_phones.php');
$txthtml .= smarty_function_display_phones($param['adr'],$smarty);
}
if (!$param['nodiv']) {
$pos = $param['pos'] ? " style='float: " . $param['pos'] . "'" : '';
$txthtml = "\n".$txthtml."
\n";
}
return $txthtml;
}
// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8:
?>