patch #2498350 (patch2.diff) for XHTML validity

This commit is contained in:
Marc Delisle
2009-03-03 15:19:48 +00:00
parent eceb0aa5bc
commit ef31a6c862

View File

@@ -111,13 +111,10 @@ function PMA_sqlQueryForm($query = true, $display_tab = false, $delimiter = ';')
?> ?>
<form method="post" id="sqlqueryform" target="frame_content" <form method="post" id="sqlqueryform" target="frame_content"
action="import.php"<?php echo $enctype; ?> name="sqlform" action="import.php"<?php echo $enctype; ?> name="sqlform"
onsubmit=" onsubmit="var save_name = window.opener.parent.frame_content.name;
// <![CDATA[
var save_name = window.opener.parent.frame_content.name;
window.opener.parent.frame_content.name = save_name + '<?php echo time(); ?>'; window.opener.parent.frame_content.name = save_name + '<?php echo time(); ?>';
this.target = window.opener.parent.frame_content.name; this.target = window.opener.parent.frame_content.name;
return checkSqlQuery(this); return checkSqlQuery(this)">
// ]]" >
<?php <?php
} else { } else {
echo '<form method="post" action="import.php" ' . $enctype . ' id="sqlqueryform"' echo '<form method="post" action="import.php" ' . $enctype . ' id="sqlqueryform"'