diff options
author | Andrew Dolgov <[email protected]> | 2006-05-18 03:48:33 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2006-05-18 03:48:33 +0100 |
commit | 7b5c6012d12c35f900dc8f20fdc103cc14959f3a (patch) | |
tree | ea12e90acb8c81451e1737fd17acaac08c6cb65a /backend.php | |
parent | 84025daba804347a86ee2cf6996620779d08fd3d (diff) |
unify create filter interface
Diffstat (limited to 'backend.php')
-rw-r--r-- | backend.php | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/backend.php b/backend.php index 3a62fe684..c9d86ee0b 100644 --- a/backend.php +++ b/backend.php @@ -2233,6 +2233,8 @@ if ($quiet) return; + print "<div id=\"infoBoxShadow\"><div id=\"infoBox\">PLACEHOLDER</div></div>"; + $result = db_query($link, "SELECT description FROM ttrss_filter_types ORDER BY description"); @@ -2242,7 +2244,7 @@ array_push($filter_types, $line["description"]); } - print "<div class=\"prefGenericAddBox\"> +/* print "<div class=\"prefGenericAddBox\"> <input id=\"fadd_regexp\" size=\"40\"> "; print_select("fadd_match", "Title", $filter_types); @@ -2282,11 +2284,16 @@ class=\"button\" onclick=\"javascript:testFilter()\" value=\"Test filter\"> "; */ - print "<input type=\"submit\" +/* print "<input type=\"submit\" class=\"button\" onclick=\"javascript:addFilter()\" - value=\"Create filter\">"; + value=\"Create filter\">"; */ - print "</div>"; + print "<input type=\"submit\" + class=\"button\" + onclick=\"javascript:displayDlg('quickAddFilter', false)\" + value=\"Create filter\">"; + +// print "</div>"; $result = db_query($link, "SELECT ttrss_filters.id AS id,reg_exp, @@ -2743,6 +2750,8 @@ $id = $_GET["id"]; $param = $_GET["param"]; + print "<div class=\"infoBoxContents\">"; + if ($id == "quickAddFeed") { print " Feed URL: <input @@ -2895,6 +2904,9 @@ print "</td></tr></table>"; } + + print "</div>"; + } // update feeds of all users, may be used anonymously |