Are you sure?

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@264 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
jakubvrana
2007-07-26 11:16:17 +00:00
parent 33bf3b32a9
commit 7a2cac6487
7 changed files with 7 additions and 6 deletions

View File

@@ -44,6 +44,6 @@ if ($_POST) {
<p>
<input type="hidden" name="token" value="<?php echo $token; ?>" />
<input type="submit" value="<?php echo lang('Save'); ?>" />
<?php if (strlen($_GET["name"])) { ?><input type="submit" name="drop" value="<?php echo lang('Drop'); ?>" /><?php } ?>
<?php if (strlen($_GET["name"])) { ?><input type="submit" name="drop" value="<?php echo lang('Drop'); ?>" onclick="return confirm('<?php echo lang('Are you sure?'); ?>');" /><?php } ?>
</p>
</form>