X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=plugins%2Ffunction.display_phones.php;h=64284bc40548ac98c9897d11d2ee9611d6f812a4;hb=refs%2Ftags%2Fxorg%2F1.1.0;hp=8e4a4938e98c6fba8e847ac161c7cd82ca5ef4d5;hpb=00ca0ad5370df5be4a0272364fb16a4385ffabfe;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 .= "