X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=plugins%2Ffunction.display_address.php;h=5d407373e2c86cba2b8a3fffcac72591c0b58717;hb=b00527ff4a4883f2bd8bdfcceb6d4123f19ef785;hp=07ce7c3c59c043aa3d931a060dacaa4ebd798345;hpb=756ff73fbb0cdd01cce2eda27ba18e1cc99bd735;p=platal.git
diff --git a/plugins/function.display_address.php b/plugins/function.display_address.php
index 07ce7c3..5d40737 100644
--- a/plugins/function.display_address.php
+++ b/plugins/function.display_address.php
@@ -1,6 +1,6 @@
";
+ $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 .= "