From 10fa66154912a6b69252b7decf6a3426448be486 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 6 Aug 2008 07:47:56 +0100 Subject: rework filter and label edit/create dialog layouts --- modules/pref-filters.php | 74 ++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 72 insertions(+), 2 deletions(-) (limited to 'modules/pref-filters.php') diff --git a/modules/pref-filters.php b/modules/pref-filters.php index b7f29705e..49fed08b5 100644 --- a/modules/pref-filters.php +++ b/modules/pref-filters.php @@ -38,7 +38,7 @@ $filter_types[$line["id"]] = __($line["description"]); } - print ""; +/* print "
"; print "
".__('Match:')." "; - print "
"; + print "
"; */ + + print "
".__("Match")."
"; + + print "
"; + + print ""; + + print " " . __("on field") . " "; + print_select_hash("filter_type", $filter_type, $filter_types); + + print "
"; + + print __("in") . " "; + print_feed_select($link, "feed_id", $feed_id); + + print "
"; + + print "
".__("Perform action")."
"; + + print "
"; + + print ""; + + print " " . __("with params") . " "; + + $param_disabled = ($action_id == 4 || $action_id == 6) ? "" : "disabled"; + + print ""; + + print "
"; + + print "
".__("Options")."
"; + print "
"; + + if ($enabled) { + $checked = "checked"; + } else { + $checked = ""; + } + + print " +
"; + + if ($inverse) { + $checked = "checked"; + } else { + $checked = ""; + } + + print " + "; + + print "
"; + + print "
"; print "