mirror of
https://github.com/vrana/adminer.git
synced 2025-08-10 08:34:20 +02:00
Change HTML to SQL
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@660 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
14
edit.inc.php
14
edit.inc.php
@@ -94,10 +94,14 @@ if (isset($_GET["select"])) {
|
||||
echo "<input type='hidden' name='save' value='1' />\n";
|
||||
}
|
||||
if ($fields) {
|
||||
?>
|
||||
<input type="submit" value="<?php echo lang('Save'); ?>" />
|
||||
<?php if (!isset($_GET["default"]) && !isset($_GET["select"])) { ?><input type="submit" name="insert" value="<?php echo ($update ? lang('Save and continue edit') : lang('Save and insert next')); ?>" /><?php } ?>
|
||||
<?php } ?>
|
||||
<?php if ($update) { ?> <input type="submit" name="delete" value="<?php echo lang('Delete'); ?>"<?php echo $confirm; ?> /><?php } ?>
|
||||
echo '<input type="submit" value="' . lang('Save') . '" />';
|
||||
if (!isset($_GET["default"]) && !isset($_GET["select"])) {
|
||||
echo '<input type="submit" name="insert" value="' . ($update ? lang('Save and continue edit') : lang('Save and insert next')) . '" />';
|
||||
}
|
||||
}
|
||||
if ($update) {
|
||||
echo ' <input type="submit" name="delete" value="' . lang('Delete') . '"' . $confirm . '/>';
|
||||
}
|
||||
?>
|
||||
</p>
|
||||
</form>
|
||||
|
Reference in New Issue
Block a user