From d45bd5bbaf931df5c3b26595696d0dcdb2b98cbb Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sun, 13 Aug 2006 16:40:29 +0000 Subject: [PATCH] feature #1520222, calendar in Search --- ChangeLog | 1 + tbl_select.php | 18 +++++++++++++++--- 2 files changed, 16 insertions(+), 3 deletions(-) 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') { + ?> + +