type) { case Phone::TYPE_FIXED: $tel_type .= 'Tél'; break; case Phone::TYPE_FAX: $tel_type .= 'Fax'; break; case Phone::TYPE_MOBILE: $tel_type .= 'Mob'; break; default: $tel_type .= $tel->type; } $txthtml .= "
\n" . $tel_type . " : \n" . $tel->display . "\n"; $comment = ""; if ($tel->comment != "") { $commentHtml = str_replace(array('&', '"'), array('&', '"'), $tel->comment); $commentJs = str_replace(array('\\', '\''), array('\\\\', '\\\''), $commentHtml); $txthtml .= "\"Commentaire\"\n"; } $txthtml .= "
\n"; } } return $txthtml; } // vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8: ?>