1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-16 19:44:00 +02:00

Drop view from alter

This commit is contained in:
Jakub Vrana
2011-03-25 23:59:27 +01:00
parent 8bda0b64ba
commit 52a67a9d7c
2 changed files with 2 additions and 1 deletions

View File

@@ -30,5 +30,6 @@ if ($_POST) {
<p>
<?php if ($dropped) { // old view was dropped but new wasn't created ?><input type="hidden" name="dropped" value="1"><?php } ?>
<input type="submit" value="<?php echo lang('Save'); ?>">
<?php if ($_GET["view"] != "") { ?><input type="submit" name="drop" value="<?php echo lang('Drop'); ?>"<?php echo confirm(); ?>><?php } ?>
<input type="hidden" name="token" value="<?php echo $token; ?>">
</form>