X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=plugins%2Ffunction.display_phones.php;h=64284bc40548ac98c9897d11d2ee9611d6f812a4;hb=71ebd57d64102a39896d47873514a42a26c7201e;hp=4d80f95c1332d7be94ed0c413af3ca06c7071357;hpb=34465ab035104f739a54ec62660f04f874448627;p=platal.git diff --git a/plugins/function.display_phones.php b/plugins/function.display_phones.php index 4d80f95..64284bc 100644 --- a/plugins/function.display_phones.php +++ b/plugins/function.display_phones.php @@ -1,6 +1,6 @@ \n" . $tel_type . " : \n" . $tel['tel'] . "\n"; + $tel_type .= $tel->displayType(true); + $txthtml .= "
\n" . $tel_type . " : \n" . $tel->display . "\n"; $comment = ""; - if ($tel['comment'] != "") { - $commentHtml = str_replace(array('&', '"'), array('&', '"'), $tel['comment']); + if ($tel->comment != "") { + $commentHtml = str_replace(array('&', '"'), array('&', '"'), $tel->comment); $commentJs = str_replace(array('\\', '\''), array('\\\\', '\\\''), $commentHtml); $txthtml .= "