Skip to content
Browse files

Change HTML to SQL

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@660 7c3ca157-0c34-0410-bff1-cbf682f78f5c
  • Loading branch information...
1 parent d5a4d14 commit 0abe5a5060af8d17190fd5d4e2ae32e2c0121459 jakubvrana committed
Showing with 9 additions and 5 deletions.
  1. +9 −5 edit.inc.php
View
14 edit.inc.php
@@ -94,10 +94,14 @@
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>

0 comments on commit 0abe5a5

Please sign in to comment.
Something went wrong with that request. Please try again.