diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php index 90e537e91..a39ea0efa 100644 --- a/modules/popup-dialog.php +++ b/modules/popup-dialog.php @@ -359,9 +359,10 @@ print "
"; print ""; + print __("Date") . " "; print " "; print ""; - print ""; + print ""; print " "; + value=\"".__('Check it')."\">"; print ""; print "
" . __("on field") . " "; diff --git a/modules/pref-filters.php b/modules/pref-filters.php index 1bd08b19a..10a974a99 100644 --- a/modules/pref-filters.php +++ b/modules/pref-filters.php @@ -42,13 +42,31 @@ print "
"; + if ($filter_type != 5) { + $date_ops_invisible = 'style=\"display : none\"'; + } + + print ""; + print __("Date") . " "; + print " "; + print ""; - print " " . __("on field") . " "; - print_select_hash("filter_type", $filter_type, $filter_types); + print ""; + print " "; + print ""; + + print "
" . __("on field") . " "; + print_select_hash("filter_type", $filter_type, $filter_types, + 'onchange="filterDlgCheckType(this)"'); print "
";