Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <michal@cihar.com>2005-12-05 02:14:41 +0300
committerMichal Čihař <michal@cihar.com>2005-12-05 02:14:41 +0300
commit75a16f45f864aa2bf8630070493faebc1f6f8bf3 (patch)
tree2a9456cff1f3e95e40cec9d45dd573c24436b6c4 /db_printview.php
parentd7c81e9c44bc2e7c83befea1fd3b3ca303278b29 (diff)
Use same script tag, use CDATA for scripts (RFE #995065).
Diffstat (limited to 'db_printview.php')
-rw-r--r--db_printview.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/db_printview.php b/db_printview.php
index c64bcb4611..09ac084bdc 100644
--- a/db_printview.php
+++ b/db_printview.php
@@ -287,8 +287,8 @@ else {
*/
echo "\n";
?>
-<script type="text/javascript" language="javascript1.2">
-<!--
+<script type="text/javascript" language="javascript">
+//<![CDATA[
function printPage()
{
// Do print the page
@@ -296,7 +296,7 @@ function printPage()
window.print();
}
}
-//-->
+//]]>
</script>
<?php
echo '<br /><br />&nbsp;<input type="button" class="print_ignore" style="width: 100px; height: 25px" id="print" value="' . $strPrint . '" onclick="printPage()" />' . "\n";