summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-05-23 05:16:32 +0100
committerAndrew Dolgov <[email protected]>2006-05-23 05:16:32 +0100
commit757e8a2dae047c5624d868a4c36abe8418cc1711 (patch)
tree29b728025fd85b1e6c5be98403a520de78f6f80a /backend.php
parent1e107b0fce48e8f5286c16571af6f6500790c98c (diff)
create filter dialog preselects active feed
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/backend.php b/backend.php
index 2ffbea3d1..bad5253c9 100644
--- a/backend.php
+++ b/backend.php
@@ -2762,6 +2762,8 @@
if ($id == "quickAddFilter") {
+ $active_feed_id = db_escape_string($_GET["param"]);
+
print "<div id=\"infoBoxTitle\">Create filter</div>";
print "<div class=\"infoBoxContents\">";
@@ -2772,7 +2774,7 @@
print "<input type=\"hidden\" name=\"subop\" value=\"add\">";
// print "<div class=\"notice\"><b>Note:</b> filter will only apply to new articles.</div>";
-
+
$result = db_query($link, "SELECT id,description
FROM ttrss_filter_types ORDER BY description");
@@ -2796,7 +2798,7 @@
print "</td></tr>";
print "<tr><td>Feed:</td><td colspan='2'>";
- print_feed_select($link, "feed_id");
+ print_feed_select($link, "feed_id", $active_feed_id);
print "</td></tr>";