mirror of
https://github.com/vrana/adminer.git
synced 2025-08-12 17:44:07 +02:00
Create confirm function
This commit is contained in:
@@ -65,7 +65,7 @@ echo ($_POST["add_x"] || strpos($name, "\n")
|
||||
<input type="submit" value="<?php echo lang('Save'); ?>">
|
||||
<?php
|
||||
if (DB != "") {
|
||||
echo "<input type='submit' name='drop' value='" . lang('Drop') . "'$confirm>\n";
|
||||
echo "<input type='submit' name='drop' value='" . lang('Drop') . "'" . confirm() . ">\n";
|
||||
} elseif (!$_POST["add_x"] && $_GET["db"] == "") {
|
||||
echo "<input type='image' name='add' src='../adminer/static/plus.gif' alt='+' title='" . lang('Add next') . "'>\n";
|
||||
}
|
||||
|
Reference in New Issue
Block a user