X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=plugins%2Ffunction.display_phones.php;h=64284bc40548ac98c9897d11d2ee9611d6f812a4;hb=469879188dbc7158e5f0c56dd83a8939c2355484;hp=8e4a4938e98c6fba8e847ac161c7cd82ca5ef4d5;hpb=93d42b4fcc6f055a428c9b63e386ac62c918d08a;p=platal.git diff --git a/plugins/function.display_phones.php b/plugins/function.display_phones.php index 8e4a493..64284bc 100644 --- a/plugins/function.display_phones.php +++ b/plugins/function.display_phones.php @@ -1,6 +1,6 @@ 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; - } + $tel_type .= $tel->displayType(true); $txthtml .= "
\n" . $tel_type . " : \n" . $tel->display . "\n"; $comment = ""; if ($tel->comment != "") {