Amélioration bug impression recherche

This commit is contained in:
Michael RICOIS 2009-03-06 16:20:20 +00:00
parent d834378f0d
commit 7ad80454e1

View File

@ -62,23 +62,22 @@ if ($sortie<>'pdf' && $sortie<>'prt') {
Tous droits r&eacute;serv&eacute;s - <a href="<?=SITEINST_URL2?>mentions.htm" target="_blank">Mentions l&eacute;gales</a>
<?
if ($sortie!='prt') {
$params = "&";
//Paramètres nécessaires pour la recherche
if($_REQUEST['action']=='rechercher' && isset($_REQUEST['formR'])){
foreach($_REQUEST['formR'] as $key => $value){
$params .= 'formR['.$key.']='.urlencode($value).'&';
}
}
$params .= 'sortie=prt';
if ($page='recherche.php'){
$_SERVER['REQUEST_URI'] = str_replace('vue=list', 'vue=list_pre', $_SERVER['REQUEST_URI']);
}
?>
- <a href="<?=$_SERVER['REQUEST_URI']?><?=$params?>" target="_blank"><img src="./img/icone_print.png"/></a>
- <a href="<?=$_SERVER['REQUEST_URI']?>&sortie=prt" target="_blank"><img src="./img/icone_print.png"/></a>
- <a href="./exportpdf.php?<?=$_SERVER['QUERY_STRING']?>" target="_blank"><img src="./img/icone_pdf.gif"/></a>
<?php } ?>
<?php
}
?>
</font>
</center>
<?php
require_once('menu.php');
if ($sortie!='pdf' && $sortie!='prt') {
require_once('menu.php');
}
?>
</body>
</html>