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)).''; } /* *