diff --git a/classes/dlg.php b/classes/dlg.php
index c540214a6..0e5eef224 100644
--- a/classes/dlg.php
+++ b/classes/dlg.php
@@ -444,132 +444,6 @@ class Dlg extends Handler_Protected {
";
}
- function quickAddFilter() {
- $active_feed_id = (int) db_escape_string($_REQUEST["feed"]);
- $cat_filter = db_escape_string($_REQUEST["is_cat"]) == "true";
-
- print "";
- print "";
- print "";
- print "";
-
- $result = db_query($this->link, "SELECT id,description
- FROM ttrss_filter_types ORDER BY description");
-
- $filter_types = array();
-
- while ($line = db_fetch_assoc($result)) {
- //array_push($filter_types, $line["description"]);
- $filter_types[$line["id"]] = __($line["description"]);
- }
-
- print "
".__("Match")."
";
-
- print "";
-
- print "";
-
- $filter_params = array(
- "before" => __("before"),
- "after" => __("after"));
-
- print_select_hash("filter_date_modifier", "before",
- $filter_params, 'dojoType="dijit.form.Select"');
-
- print " ";
-
- print "";
-
- print "";
- print " ";
- print "";
-
- print "
" . __("on field") . " ";
- print_select_hash("filter_type", 1, $filter_types,
- 'onchange="filterDlgCheckType(this)" dojoType="dijit.form.Select"');
-
- print "
";
-
- print __("in") . " ";
-
- print "";
- print_feed_select($this->link, "feed_id",
- $cat_filter ? "CAT:$active_feed_id" : $active_feed_id,
- 'dojoType="dijit.form.FilteringSelect"');
- print "";
-
- print "";
- print_feed_cat_select($this->link, "cat_id", $active_cat_id,
- 'dojoType="dijit.form.FilteringSelect"');
- print "";
-
- print "";
-
- print "".__("Perform Action")."
";
-
- print "";
-
- print "";
-
- print "";
- print " " . __("with parameters:") . " ";
- print "";
-
- print_label_select($this->link, "action_param_label", $action_param,
- 'id="filterDlg_actionParamLabel" dojoType="dijit.form.Select"');
-
- print "";
-
- print " "; // tiny layout hack
-
- print "
";
-
- print "".__("Options")."
";
- print "";
-
- print "
-
";
-
- print "
-
";
-
-# print "
-#
";
-
-
- print "";
-
- print "";
-
- print " ";
-
- print " ";
-
- print "";
-
- print "
";
- }
-
function inactiveFeeds() {
if (DB_TYPE == "pgsql") {
diff --git a/classes/opml.php b/classes/opml.php
index 8683fb73a..60d0d40e0 100644
--- a/classes/opml.php
+++ b/classes/opml.php
@@ -159,7 +159,7 @@ class Opml extends Handler_Protected {
$out .= "";
- $out .= "";
+/* $out .= "";
$result = db_query($this->link, "SELECT filter_type,
reg_exp,
@@ -191,7 +191,7 @@ class Opml extends Handler_Protected {
}
- $out .= "";
+ $out .= ""; */
}
$out .= "