bug 863713
This commit is contained in:
@@ -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 /> <input type="button" style="visibility: ; width: 100px; height: 25px" name="print" value="' . $strPrint . '" onclick="printPage()">' . "\n";
|
echo '<br /><br /> <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');
|
||||||
?>
|
?>
|
||||||
|
Reference in New Issue
Block a user