]> git.joonet.de Git - adminer.git/commitdiff
Change HTML to SQL
authorjakubvrana <jakubvrana@7c3ca157-0c34-0410-bff1-cbf682f78f5c>
Sun, 7 Jun 2009 23:24:37 +0000 (23:24 +0000)
committerjakubvrana <jakubvrana@7c3ca157-0c34-0410-bff1-cbf682f78f5c>
Sun, 7 Jun 2009 23:24:37 +0000 (23:24 +0000)
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@660 7c3ca157-0c34-0410-bff1-cbf682f78f5c

edit.inc.php

index 017750905ce85957898917a6755bde0973d4423c..367f017ffc4b164e5070ba0334930f1b40ce9e48 100644 (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>