$r .= '<div class="options">';
- // 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)
- .'<input type="'.($this->p('debug') ? 'text' : 'hidden').'" name="download" value="0"/>';
- ;
-
// Tables - see default.js if you change class
$tables = array_keys($this->db()->tables());
if (count($tables)>1) {
$r .= '</span>';
*/
+ // 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)
+ .'<input type="'.($this->p('debug') ? 'text' : 'hidden').'" name="download" value="0"/>';
+ ;
+
$r .= '</div>'; # < Options
}