mirror of
https://github.com/vrana/adminer.git
synced 2026-07-08 17:32:09 +02:00
Move error output to page_header()
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@386 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -11,11 +11,7 @@ if ($_POST && !$error) {
|
||||
}
|
||||
$error = $mysql->error;
|
||||
}
|
||||
page_header(lang('Process list'));
|
||||
|
||||
if ($error) {
|
||||
echo "<p class='error'>" . lang('Unable to kill process') . ": " . htmlspecialchars($error) . "</p>\n";
|
||||
}
|
||||
page_header(lang('Process list'), $error);
|
||||
?>
|
||||
|
||||
<form action="" method="post">
|
||||
|
||||
Reference in New Issue
Block a user