bug 863713

This commit is contained in:
Marc Delisle
2003-12-22 19:35:28 +00:00
parent ba0616f216
commit 8d9c3876bc

View File

@@ -305,17 +305,17 @@ echo "\n";
<!-- <!--
function printPage() function printPage()
{ {
document.all.print.style.visibility = 'hidden'; document.getElementById('print').style.visibility = 'hidden';
// Do print the page // Do print the page
if (typeof(window.print) != 'undefined') { if (typeof(window.print) != 'undefined') {
window.print(); window.print();
} }
document.all.print.style.visibility = ''; document.getElementById('print').style.visibility = '';
} }
//--> //-->
</script> </script>
<?php <?php
echo '<br /><br />&nbsp;<input type="button" style="visibility: ; width: 100px; height: 25px" name="print" value="' . $strPrint . '" onclick="printPage()">' . "\n"; echo '<br /><br />&nbsp;<input type="button" style="visibility: ; width: 100px; height: 25px" id="print" value="' . $strPrint . '" onclick="printPage()">' . "\n";
require_once('./footer.inc.php'); require_once('./footer.inc.php');
?> ?>