Suppression impression pdf pour les pages de recherche

This commit is contained in:
Michael RICOIS 2009-08-27 08:56:08 +00:00
parent d704bf9037
commit 7f5f193d76

View File

@ -20,7 +20,7 @@ if ($_SESSION['tabInfo']['login']=='mricois'
if (isset($_SESSION['list_pre']) || $_SESSION['list_pre']!=''){ ?>
<a href="/?page=recherche&vue=list_pre">Derni&egrave;re recherche</a>
<?php
if(count($_SESSION['recherche']['list']) && ( $_SESSION['tabInfo']['idClient']==1 || $_SESSION['tabInfo']['idClient']==2 ) ){
if( count($_SESSION['recherche']['list'])>1 && ( $_SESSION['tabInfo']['idClient']==1 || $_SESSION['tabInfo']['idClient']==2 ) ){
?>
<a href="/?page=recherche&vue=histo">Liste des dernières recherches</a>
<?php
@ -260,8 +260,13 @@ if ($page=='recherche'){
?>
<a href="/?<?=$printUrl;?>&sortie=prt" title="Impression" target="_blank">
<img src="./img/exporticones/printer.png"" alt="Impression"/></a>&nbsp;
<?php
if($page!='recherche')
{
?>
<a href="./?<?=$_SERVER['QUERY_STRING'];?>&sortie=pdf" target="_blank" title="PDF"><img src="./img/exporticones/pdf.png" alt="PDF"></a>&nbsp;
<?php
}
if ($page=='identite' || $page=='etablissements' || $page=='liens' || $page=='evenements' || $page=='dirigeants'){
?>
<a href="./exportcsv.php?<?=$_SERVER['QUERY_STRING'];?>" target="_blank" title="CSV"><img src="./img/exporticones/csv.png" alt="CSV"></a>&nbsp;