From a674a48a05fffc02c4dd744c3a96490817550385 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Tue, 27 Apr 2004 14:02:52 +0000 Subject: [PATCH] Affiche tous les pdf relatifs --- htdocs/comm/propal.php | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/htdocs/comm/propal.php b/htdocs/comm/propal.php index 947d3f3cc19..977464eefad 100644 --- a/htdocs/comm/propal.php +++ b/htdocs/comm/propal.php @@ -632,6 +632,10 @@ if ($_GET["propalid"]) print ''; + /* + * + */ + $file = PROPALE_OUTPUTDIR . "/$propal->ref/$propal->ref.pdf"; if (file_exists($file)) { @@ -640,7 +644,20 @@ if ($_GET["propalid"]) print ''; print ''; } - + $file = PROPALE_OUTPUTDIR . "/$propal->ref/$propal->ref-entete.pdf"; + if (file_exists($file)) + { + print ""; + print ''; + print ''; + print ''; + } + /* + * + * + */ + + if ($propal->brouillon == 1) { print "
'.filesize($file). ' bytes'.strftime("%d %b %Y %H:%M:%S",filemtime($file)).'
PDF'.$propal->ref.'-entete.pdf'.filesize($file). ' bytes'.strftime("%d %b %Y %H:%M:%S",filemtime($file)).'
Modèle";