From: Nicolas Boisselier Date: Sat, 30 Dec 2017 04:17:53 +0000 (+0000) Subject: lib/php/db/table.php X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=acbf2aa6178af1a6120bab6aceeb46fd144c7281;p=nb.git lib/php/db/table.php --- diff --git a/lib/php/db/table.php b/lib/php/db/table.php index 02afb3c8..3702fb1a 100644 --- a/lib/php/db/table.php +++ b/lib/php/db/table.php @@ -2035,14 +2035,6 @@ Class Table extends nb { $r .= '
'; - // Hiddens - if ($this->show_hidden_params) - $r .= ''#.print_r(self::$params,true) - .self::form_hidden(['db','table','format','limit','download']) - // Embed for no html format (rent) - .''; - ; - // Tables - see default.js if you change class $tables = array_keys($this->db()->tables()); if (count($tables)>1) { @@ -2106,6 +2098,14 @@ Class Table extends nb { $r .= ''; */ + // Hiddens + $form_hidden = ['db','table','format','limit','download']; + if ($this->show_hidden_params) $r .= ''#.print_r(self::$params,true) + .self::form_hidden($form_hidden) + // Embed for no html format (rent) + .''; + ; + $r .= '
'; # < Options }