X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=plugins%2Ffunction.display_address.php;h=c69958924e52d22817f78b3f86586ff1a0d8558c;hb=cf81c359b80ad4280a0b3719e0a32c8adba2549d;hp=c498d9068993b1f5b30a9b1e29dcc782834a4125;hpb=6261a1b5739ef81724b29235f41065327f7da656;p=platal.git
diff --git a/plugins/function.display_address.php b/plugins/function.display_address.php
index c498d90..c699589 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 .= "