From dc38e57065b45f5a9ff49b5b1b51a5a91870ffa0 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Mon, 12 Jul 2004 09:52:54 +0000 Subject: [PATCH] =?UTF-8?q?D=E9placement=20du=20fichier=20pdf=20g=E9n=E9r?= =?UTF-8?q?=E9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/comm/propal.php | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/htdocs/comm/propal.php b/htdocs/comm/propal.php index 977464eefad..ab3e6f4f1c6 100644 --- a/htdocs/comm/propal.php +++ b/htdocs/comm/propal.php @@ -640,17 +640,13 @@ if ($_GET["propalid"]) if (file_exists($file)) { print "PDF"; - print ''.$propal->ref.'.pdf'; + + $encfile = urlencode($file); + + print ''.$propal->ref.'.pdf'; + print ''.filesize($file). ' bytes'; - print ''.strftime("%d %b %Y %H:%M:%S",filemtime($file)).''; - } - $file = PROPALE_OUTPUTDIR . "/$propal->ref/$propal->ref-entete.pdf"; - if (file_exists($file)) - { - print "PDF"; - print ''.$propal->ref.'-entete.pdf'; - print ''.filesize($file). ' bytes'; - print ''.strftime("%d %b %Y %H:%M:%S",filemtime($file)).''; + print ''.strftime("%d %B %Y %H:%M:%S",filemtime($file)).''; } /* *