1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-11 17:14:07 +02:00

Display foreign keys from other schemas in PostgreSQL (thanks to Ondrej Letocha)

This commit is contained in:
Jakub Vrana
2011-07-12 16:03:39 +02:00
parent 33c4623345
commit 9e0e161253
5 changed files with 10 additions and 7 deletions

View File

@@ -49,7 +49,7 @@ foreach (table_status() as $name => $table_status) {
<form action="" method="post">
<p>
<?php if ($row["db"] == "") { ?>
<?php if ($row["db"] == "" && $row["ns"] == "") { ?>
<?php echo lang('Target table'); ?>:
<?php echo html_select("table", $referencable, $row["table"], "this.form['change-js'].value = '1'; if (!ajaxForm(this.form)) this.form.submit();"); ?>
<input type="hidden" name="change-js" value="">