diff --git a/index.php b/index.php index 1d01c21..cf9a213 100755 --- a/index.php +++ b/index.php @@ -168,7 +168,8 @@ if ($variable !=''){ $set =$v[1]; /// s= SET DE DATOS $embebido = "1"; - $onload = "".consultar_contenido_formulario("$set",'',"",'listado','',"$plantilla").""; + if(isset($_REQUEST['print'])) { $print = "window.print()";} + $onload = "".consultar_contenido_formulario("$set",'',"",'listado','',"$plantilla")." "; } elseif($v[0] =='I') {