bug 863713

This commit is contained in:
Marc Delisle
2003-12-22 19:40:41 +00:00
parent 8d9c3876bc
commit 36465d978b
2 changed files with 4 additions and 3 deletions

View File

@@ -7,6 +7,7 @@ $Source$
2003-12-23 Marc Delisle <lem9@users.sourceforge.net> 2003-12-23 Marc Delisle <lem9@users.sourceforge.net>
* css/phpmyadmin.css.php: Patch 864334, preserve white-space between quotes * css/phpmyadmin.css.php: Patch 864334, preserve white-space between quotes
* db_datadict.php, db_printview.php: bug 863713: printing on non-IE browser
2003-12-21 Marc Delisle <lem9@users.sourceforge.net> 2003-12-21 Marc Delisle <lem9@users.sourceforge.net>
* lang/norwegian: Updated, thanks to Sven-Erik Andersen (sven-erik). * lang/norwegian: Updated, thanks to Sven-Erik Andersen (sven-erik).

View File

@@ -293,17 +293,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');
?> ?>