]> git.nbdom.net Git - nb.git/commitdiff
lib/php/db/table.php
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Sun, 4 Feb 2024 11:06:54 +0000 (12:06 +0100)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Sun, 4 Feb 2024 11:06:54 +0000 (12:06 +0100)
lib/php/db/table.php

index 3d19050ec5f4b083ea286b34270271c49a3d75fc..cb6d623f320c22ec7f911a121c25e81576081d63 100644 (file)
@@ -2144,10 +2144,6 @@ Class Table extends nb {
 
                $r = '<form id="db-menu-form" class="menu card d-table list-group-item form-inline" method="get" action="'.$this->request_uri().'">'.NB_EOL;
 
-               # See: http://html5doctor.com/html5-forms-input-types/
-               #$r .= '<input id="skill" type="range" min="1" max="100" value="0" />';
-               #$r .= '<input id="startdate" name="startdate" min="2012-01-01" max="2013-01-01" type="date" />';
-
                $options = (bool)($this->p('table-menu-options')!=='0');
                //
                // Options
@@ -2182,12 +2178,10 @@ Class Table extends nb {
 
                        // Format
                        $option_html .= '<span class="label form-group">';
-                       #debug($this->db()->formats);
                        $option_html .= '<label for="format">Format:</label>'.html_select_array($this->db()->formats,[
                                'html'       => 'class="format form-control mb-1 mr-1" name="format" id="format"',
                                'selected'   => $this->db()->format,
                                'prettyText' => true,
-# NB 26.12.16         'sort'       => 'natcasesort',
                        ]);
                        $option_html .= '</span>';