From 801dc3b10b3508c38a8085bca28503f88556e1d8 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Tue, 22 Nov 2005 18:26:28 +0000 Subject: [PATCH] Reduction du nom --- htdocs/telephonie/client/index.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/htdocs/telephonie/client/index.php b/htdocs/telephonie/client/index.php index df58339e892..3602e82c2c6 100644 --- a/htdocs/telephonie/client/index.php +++ b/htdocs/telephonie/client/index.php @@ -114,8 +114,11 @@ if ($resql) print ''; print img_file(); print ' '; + $nom = $obj->nom; + if (strlen($obj->nom) > 33) + $nom = substr($obj->nom,0,30)."..."; - print ''.stripslashes($obj->nom).''; + print ''.stripslashes($nom).''; print "\n"; $var=!$var;