From a8b2d3563f6910d1aa77041336c9e9ba92fefe80 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Mon, 18 Apr 2005 09:10:11 +0000 Subject: [PATCH] =?UTF-8?q?Gestion=20des=20diff=E9rents=20type=20de=20fich?= =?UTF-8?q?iers?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/telephonie/ligne/commande/archives.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/htdocs/telephonie/ligne/commande/archives.php b/htdocs/telephonie/ligne/commande/archives.php index 42b38f36d1d..83445d9cb0e 100644 --- a/htdocs/telephonie/ligne/commande/archives.php +++ b/htdocs/telephonie/ligne/commande/archives.php @@ -87,7 +87,14 @@ if ($result) $dir = $conf->telephonie->dir_output . "/ligne/commande/"; $relativepath = urlencode("ligne/commande/".$obj->filename); - print ''.$obj->filename.''; + if (substr($obj->filename, -3) == 'txt') + { + print ''.$obj->filename.''; + } + else + { + print ''.$obj->filename.''; + } print "\n"; $i++;