From 6e278744e4d27e20e7619fb8067d2e4f1964d2e3 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 13 Dec 2008 13:35:26 +0100 Subject: [PATCH] filter dialog UI tweaks --- modules/popup-dialog.php | 9 +++++---- modules/pref-filters.php | 22 ++++++++++++++++++++-- 2 files changed, 25 insertions(+), 6 deletions(-) diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php index 90e537e9..a39ea0ef 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 1bd08b19..10a974a9 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 "
"; -- 2.39.5