Link table names in SQL queries
This commit is contained in:
parent
5f9f6614c0
commit
b79a28f62b
|
@ -214,7 +214,7 @@ function edit_fields($fields, $collations, $type = "TABLE", $allowed = 0, $forei
|
||||||
<?php edit_type("fields[$i]", $field, $collations, $foreign_keys); ?>
|
<?php edit_type("fields[$i]", $field, $collations, $foreign_keys); ?>
|
||||||
<?php if ($type == "TABLE") { ?>
|
<?php if ($type == "TABLE") { ?>
|
||||||
<td><?php echo checkbox("fields[$i][null]", 1, $field["null"]); ?>
|
<td><?php echo checkbox("fields[$i][null]", 1, $field["null"]); ?>
|
||||||
<td><input type="radio" name="auto_increment_col" value="<?php echo $i; ?>"<?php if ($field["auto_increment"]) { ?> checked<?php } ?>>
|
<td><input type="radio" name="auto_increment_col" value="<?php echo $i; ?>"<?php if ($field["auto_increment"]) { ?> checked<?php } ?> onclick="var field = this.form['fields[' + this.value + '][field]']; if (!field.value) { field.value = 'id'; field.onchange(); }">
|
||||||
<td class="hidden"><?php echo checkbox("fields[$i][has_default]", 1, $field["has_default"]); ?><input name="fields[<?php echo $i; ?>][default]" value="<?php echo h($field["default"]); ?>" onchange="this.previousSibling.checked = true;">
|
<td class="hidden"><?php echo checkbox("fields[$i][has_default]", 1, $field["has_default"]); ?><input name="fields[<?php echo $i; ?>][default]" value="<?php echo h($field["default"]); ?>" onchange="this.previousSibling.checked = true;">
|
||||||
<?php echo (support("comment") ? "<td" . ($comments ? "" : " class='hidden'") . "><input name='fields[$i][comment]' value='" . h($field["comment"]) . "' maxlength='255'>" : ""); ?>
|
<?php echo (support("comment") ? "<td" . ($comments ? "" : " class='hidden'") . "><input name='fields[$i][comment]' value='" . h($field["comment"]) . "' maxlength='255'>" : ""); ?>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
|
@ -13,6 +13,7 @@ Autofocus username in login form
|
||||||
Disable spellchecking in SQL textareas
|
Disable spellchecking in SQL textareas
|
||||||
Display auto_increment value of inserted item
|
Display auto_increment value of inserted item
|
||||||
Allow disabling auto_increment value export
|
Allow disabling auto_increment value export
|
||||||
|
Prefill auto_increment column name
|
||||||
Link last page above data in select
|
Link last page above data in select
|
||||||
Link table names in SQL queries
|
Link table names in SQL queries
|
||||||
Japanese translation
|
Japanese translation
|
||||||
|
|
Loading…
Reference in a new issue