summaryrefslogtreecommitdiff
path: root/modules/popup-dialog.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-12-13 12:57:53 +0100
committerAndrew Dolgov <[email protected]>2008-12-13 12:57:53 +0100
commitd0da85c27c2a97173dd997f7f2a29f09556698ed (patch)
tree839608b369dc33c8b84bc15fecae1aa0447b614c /modules/popup-dialog.php
parent75fa1e31266b55ea502876dae9b14474bd58bf9a (diff)
preliminary UI work on date checking filter (refs #225)
Diffstat (limited to 'modules/popup-dialog.php')
-rw-r--r--modules/popup-dialog.php17
1 files changed, 15 insertions, 2 deletions
diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php
index f86dd3db0..ea74eb583 100644
--- a/modules/popup-dialog.php
+++ b/modules/popup-dialog.php
@@ -358,13 +358,26 @@
print "<div class=\"dlgSecCont\">";
+ print "<span id=\"filter_dlg_date_mod_box\" style=\"display : none\">";
+ print "<select name=\"filter_date_modifier\">";
+ print "<option name=\"before\">".__('Before')."</option>";
+ print "<option name=\"after\">".__('After')."</option>";
+ print "</select>&nbsp;</span>";
+
print "<input onkeypress=\"return filterCR(event, createFilter)\"
onkeyup=\"toggleSubmitNotEmpty(this, 'infobox_submit')\"
onchange=\"toggleSubmitNotEmpty(this, 'infobox_submit')\"
name=\"reg_exp\" size=\"30\" value=\"$reg_exp\">";
- print " " . __("on field") . " ";
- print_select_hash("filter_type", 1, $filter_types);
+ print "<span id=\"filter_dlg_date_chk_box\" style=\"display : none\">";
+ print "&nbsp;<input class=\"button\"
+ type=\"submit\" onclick=\"return filterDlgCheckDate()\"
+ value=\"".__('Check Date')."\">";
+ print "</span>";
+
+ print "<br/> " . __("on field") . " ";
+ print_select_hash("filter_type", 1, $filter_types,
+ 'onchange="filterDlgCheckType(this)"');
print "<br/>";