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>
|
Tous droits réservés - <a href="<?=SITEINST_URL2?>mentions.htm" target="_blank">Mentions légales</a>
|
||||||
<?
|
<?
|
||||||
if ($sortie!='prt') {
|
if ($sortie!='prt') {
|
||||||
$params = "&";
|
if ($page='recherche.php'){
|
||||||
//Paramètres nécessaires pour la recherche
|
$_SERVER['REQUEST_URI'] = str_replace('vue=list', 'vue=list_pre', $_SERVER['REQUEST_URI']);
|
||||||
if($_REQUEST['action']=='rechercher' && isset($_REQUEST['formR'])){
|
}
|
||||||
foreach($_REQUEST['formR'] as $key => $value){
|
|
||||||
$params .= 'formR['.$key.']='.urlencode($value).'&';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
$params .= 'sortie=prt';
|
|
||||||
?>
|
?>
|
||||||
- <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>
|
- <a href="./exportpdf.php?<?=$_SERVER['QUERY_STRING']?>" target="_blank"><img src="./img/icone_pdf.gif"/></a>
|
||||||
<?php } ?>
|
<?php
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
</font>
|
</font>
|
||||||
</center>
|
</center>
|
||||||
<?php
|
<?php
|
||||||
require_once('menu.php');
|
if ($sortie!='pdf' && $sortie!='prt') {
|
||||||
|
require_once('menu.php');
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue
Block a user