1
0
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:
jakubvrana
2009-06-07 23:24:37 +00:00
parent d5a4d14e96
commit 0abe5a5060

View File

@@ -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>