diff --git a/ChangeLog b/ChangeLog index 67aae9e34..c8c239831 100755 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,7 @@ $Source$ 2006-08-13 Marc Delisle * libraries/display_tbl.lib.php: bug #1519799, imagelink error + * tbl_select.php: feature #1520222, calendar in Search 2006-08-12 Marc Delisle * libraries/sqlparser.data.php: bug #1492772, parsing EXTRACT YEAR_MONTH diff --git a/tbl_select.php b/tbl_select.php index a984663c6..0ab6e10b0 100644 --- a/tbl_select.php +++ b/tbl_select.php @@ -192,6 +192,9 @@ while (list($operator) = each($GLOBALS['cfg']['UnaryOperators'])) { + + @@ -276,9 +279,18 @@ while (list($operator) = each($GLOBALS['cfg']['UnaryOperators'])) { } else { // o t h e r c a s e s echo ' ' . "\n"; - } - + .' size="40" class="textfield" id="field_' . $i . '" />' . "\n"; + }; + $type = $fields_type[$i]; + if ($type == 'date' || $type == 'datetime' || substr($type, 0, 9) == 'timestamp') { + ?> + +