code cleanup
This commit is contained in:
@@ -16,17 +16,18 @@ header("Expires: Sat, 11 Jan 1991 06:30:00 GMT"); // Date in the past
|
||||
// $GLOBALS["message"] is used for asking for an import message
|
||||
if (isset($GLOBALS["message"]) && $GLOBALS["message"]) {
|
||||
|
||||
header('Content-type: text/html');
|
||||
header('Content-type: text/html');
|
||||
|
||||
while ($_SESSION['Import_message']['message']==null) // wait until message is available
|
||||
usleep(250000); // 0.25 sec
|
||||
while ($_SESSION['Import_message']['message'] == null) { // wait until message is available
|
||||
usleep(250000); // 0.25 sec
|
||||
}
|
||||
|
||||
echo $_SESSION['Import_message']['message'];
|
||||
echo '<fieldset class="tblFooters">'."\n";
|
||||
echo ' [ <a href="'.$_SESSION['Import_message']['go_back_url'].'">'.$GLOBALS["strBack"].'</a> ]' ."\n";
|
||||
echo '</fieldset>'."\n";
|
||||
echo $_SESSION['Import_message']['message'];
|
||||
echo '<fieldset class="tblFooters">' . "\n";
|
||||
echo ' [ <a href="' . $_SESSION['Import_message']['go_back_url'] . '">' . $GLOBALS["strBack"] . '</a> ]' . "\n";
|
||||
echo '</fieldset>'."\n";
|
||||
|
||||
} else {
|
||||
PMA_importAjaxStatus($GLOBALS["id"]);
|
||||
PMA_importAjaxStatus($GLOBALS["id"]);
|
||||
}
|
||||
?>
|
||||
|
Reference in New Issue
Block a user