visually bind the Add x fields dialog to its submit button

This commit is contained in:
Marc Delisle
2005-06-12 09:14:01 +00:00
parent d0897c9875
commit 07dffb75b6
2 changed files with 8 additions and 1 deletions

View File

@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
$Id$
$Source$
2005-06-12 Marc Delisle <lem9@users.sourceforge.net>
* tbl_properties.inc.php: visually bind the Add x fields dialog to its
submit button
2005-06-11 Marc Delisle <lem9@users.sourceforge.net>
* tbl_properties_export.php: bug #1169791, exporting results from queries
with limit keyword

View File

@@ -697,8 +697,11 @@ echo "\n";
<?php
if ($action == 'tbl_create.php' || $action == 'tbl_addfield.php') {
echo '<div class="tblHeaders" style="width: 30%; text-align: left; padding: 3px;">' . "\n";
echo ' ' . sprintf($strAddFields, '<input type="text" name="added_fields" size="2" value="1" onfocus="this.select()" style="vertical-align: middle;" />') . "\n";
echo ' &nbsp;<input type="submit" name="submit_num_fields" value="' . $strGo . '" onclick="return checkFormElementInRange(this.form, \'added_fields\', 1)" style="vertical-align: middle;" />' . "\n<br />\n<br />\n";
echo ' &nbsp;<input type="submit" name="submit_num_fields" value="' . $strGo . '" onclick="return checkFormElementInRange(this.form, \'added_fields\', 1)" style="vertical-align: middle;" />' . "\n";
echo '</div>' . "\n";
echo "<br />\n";
}
?>