";
- echo "| ";
- echo " | ";
+ echo " | " . html_select("source[" . intval($key) . "]", array(-1 => "") + $source, $val, ($j == count($row["source"]) - 1 ? "foreign_add_row(this);" : 1));
+ echo " | " . html_select("target[" . intval($key) . "]", $target, $row["target"][$key]);
$j++;
}
?>
-:
-:
+: "") + $on_actions, $row["on_delete"]); ?>
+ : "") + $on_actions, $row["on_update"]); ?>
diff --git a/adminer/include/adminer.inc.php b/adminer/include/adminer.inc.php
index 03e10362..bea74651 100644
--- a/adminer/include/adminer.inc.php
+++ b/adminer/include/adminer.inc.php
@@ -162,11 +162,11 @@ class Adminer {
$fun_group = array(lang('Functions') => $this->functions, lang('Aggregation') => $this->grouping);
foreach ($select as $key => $val) {
$val = $_GET["columns"][$key];
- echo " ";
+ echo " " . html_select("columns[$i][fun]", array(-1 => "") + $fun_group, $val["fun"]);
echo " \n";
$i++;
}
- echo " ";
+ echo " " . html_select("columns[$i][fun]", array(-1 => "") + $fun_group, "", "this.nextSibling.onchange();");
echo " \n";
echo " \n";
}
@@ -191,13 +191,13 @@ class Adminer {
foreach ((array) $_GET["where"] as $val) {
if (strlen("$val[col]$val[val]") && in_array($val["op"], $this->operators)) {
echo " ";
- echo "";
+ echo html_select("where[$i][op]", $this->operators, $val["op"]);
echo " \n";
$i++;
}
}
echo " ";
- echo "";
+ echo html_select("where[$i][op]", $this->operators);
echo " \n";
echo " \n";
}
@@ -482,11 +482,7 @@ class Adminer {
">
-
-
-
-
-
+ "(" . lang('database') . ")") + $databases, DB, "this.form.submit();") : ''); ?>
diff --git a/adminer/include/editing.inc.php b/adminer/include/editing.inc.php
index 6b22e0a6..ffc4d3b8 100644
--- a/adminer/include/editing.inc.php
+++ b/adminer/include/editing.inc.php
@@ -97,7 +97,7 @@ function referencable_primary($self) {
function edit_type($key, $field, $collations, $foreign_keys = array()) {
global $structured_types, $unsigned, $inout;
?>
- |
+ |
| " size="3">
| |