Affiche tous les pdf relatifs
This commit is contained in:
parent
1b9656641f
commit
a674a48a05
@ -632,6 +632,10 @@ if ($_GET["propalid"])
|
|||||||
|
|
||||||
print '<table class="border" width="100%" cellspacing="0" cellpadding="3">';
|
print '<table class="border" width="100%" cellspacing="0" cellpadding="3">';
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
$file = PROPALE_OUTPUTDIR . "/$propal->ref/$propal->ref.pdf";
|
$file = PROPALE_OUTPUTDIR . "/$propal->ref/$propal->ref.pdf";
|
||||||
if (file_exists($file))
|
if (file_exists($file))
|
||||||
{
|
{
|
||||||
@ -640,6 +644,19 @@ if ($_GET["propalid"])
|
|||||||
print '<td align="right">'.filesize($file). ' bytes</td>';
|
print '<td align="right">'.filesize($file). ' bytes</td>';
|
||||||
print '<td align="right">'.strftime("%d %b %Y %H:%M:%S",filemtime($file)).'</td></tr>';
|
print '<td align="right">'.strftime("%d %b %Y %H:%M:%S",filemtime($file)).'</td></tr>';
|
||||||
}
|
}
|
||||||
|
$file = PROPALE_OUTPUTDIR . "/$propal->ref/$propal->ref-entete.pdf";
|
||||||
|
if (file_exists($file))
|
||||||
|
{
|
||||||
|
print "<tr $bc[0]><td>PDF</td>";
|
||||||
|
print '<td><a href="'.PROPALE_OUTPUT_URL.'/'.$propal->ref.'/'.$propal->ref.'-entete.pdf">'.$propal->ref.'-entete.pdf</a></td>';
|
||||||
|
print '<td align="right">'.filesize($file). ' bytes</td>';
|
||||||
|
print '<td align="right">'.strftime("%d %b %Y %H:%M:%S",filemtime($file)).'</td></tr>';
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
if ($propal->brouillon == 1)
|
if ($propal->brouillon == 1)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user