]> git.joonet.de Git - adminer.git/commitdiff
Print textarea as last field
authorJakub Vrana <jakub@vrana.cz>
Mon, 11 Oct 2010 19:10:58 +0000 (21:10 +0200)
committerJakub Vrana <jakub@vrana.cz>
Wed, 13 Oct 2010 19:13:21 +0000 (21:13 +0200)
adminer/procedure.inc.php
adminer/trigger.inc.php
adminer/view.inc.php

index bd03fd71fdfaf84f4bea6e84f0abbe83950be7bc..e9f5b3e3621805341eee968c2dc95e428a4a69bf 100644 (file)
@@ -39,6 +39,7 @@ if ($_POST) {
 ?>
 
 <form action="" method="post" id="form">
+<p><?php echo lang('Name'); ?>: <input name="name" value="<?php echo h($row["name"]); ?>" maxlength="64">
 <table cellspacing="0" class="nowrap">
 <?php
 edit_fields($row["fields"], $collations, $routine);
@@ -52,7 +53,6 @@ if (isset($_GET["function"])) {
 <p>
 <input type="hidden" name="token" value="<?php echo $token; ?>">
 <?php if ($dropped) { ?><input type="hidden" name="dropped" value="1"><?php } ?>
-<?php echo lang('Name'); ?>: <input name="name" value="<?php echo h($row["name"]); ?>" maxlength="64">
 <input type="submit" value="<?php echo lang('Save'); ?>">
 <?php if ($PROCEDURE != "") { ?><input type="submit" name="drop" value="<?php echo lang('Drop'); ?>"<?php echo $confirm; ?>><?php } ?>
 </form>
index cea7631b23be99f54d63ce775b2178bdbe3c2942..1f45a1be1e2bce2041d40f374e5bec3e8399630f 100644 (file)
@@ -34,11 +34,11 @@ if ($_POST) {
 <tr><th><?php echo lang('Event'); ?><td><?php echo html_select("Event", $trigger_event, $row["Event"], "this.form['Timing'].onchange();"); ?>
 <tr><th><?php echo lang('Type'); ?><td><?php echo html_select("Type", $trigger_options["Type"], $row["Type"]); ?>
 </table>
+<p><?php echo lang('Name'); ?>: <input name="Trigger" value="<?php echo h($row["Trigger"]); ?>" maxlength="64">
 <p><?php textarea("Statement", $row["Statement"]); ?>
 <p>
 <input type="hidden" name="token" value="<?php echo $token; ?>">
 <?php if ($dropped) { ?><input type="hidden" name="dropped" value="1"><?php } ?>
-<?php echo lang('Name'); ?>: <input name="Trigger" value="<?php echo h($row["Trigger"]); ?>" maxlength="64">
 <input type="submit" value="<?php echo lang('Save'); ?>">
 <?php if ($_GET["name"] != "") { ?><input type="submit" name="drop" value="<?php echo lang('Drop'); ?>"<?php echo $confirm; ?>><?php } ?>
 </form>
index 686f90bdc749f3f733a57943d22f846325fd5704..0d47b8c5504106b30f1409a3b7c8a3fe04447f05 100644 (file)
@@ -25,10 +25,10 @@ if ($_POST) {
 ?>
 
 <form action="" method="post">
+<p><?php echo lang('Name'); ?>: <input name="name" value="<?php echo h($row["name"]); ?>" maxlength="64">
 <p><?php textarea("select", $row["select"]); ?>
 <p>
 <input type="hidden" name="token" value="<?php echo $token; ?>">
 <?php if ($dropped) { // old view was dropped but new wasn't created ?><input type="hidden" name="dropped" value="1"><?php } ?>
-<?php echo lang('Name'); ?>: <input name="name" value="<?php echo h($row["name"]); ?>" maxlength="64">
 <input type="submit" value="<?php echo lang('Save'); ?>">
 </form>