Amélioration bug impression recherche
This commit is contained in:
parent
d834378f0d
commit
7ad80454e1
@ -62,23 +62,22 @@ if ($sortie<>'pdf' && $sortie<>'prt') {
|
||||
Tous droits réservés - <a href="<?=SITEINST_URL2?>mentions.htm" target="_blank">Mentions lé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>
|
Loading…
Reference in New Issue
Block a user