From 033e47e09b44151c785636005cbe744c25f96d0e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 28 Oct 2005 07:51:34 +0100 Subject: [PATCH] extended search dialog placeholder, disabled for now --- backend.php | 21 ++++++++++++++++++++- tt-rss.css | 4 ++++ tt-rss.js | 14 +++++++++++--- tt-rss.php | 9 +++------ 4 files changed, 38 insertions(+), 10 deletions(-) diff --git a/backend.php b/backend.php index 07f6028ed..ed58fcea2 100644 --- a/backend.php +++ b/backend.php @@ -1320,7 +1320,9 @@ $param = $_GET["param"]; if ($id == "quickAddFeed") { - print "Feed URL: + print "Feed URL: + + + "; + + } + } db_close($link); diff --git a/tt-rss.css b/tt-rss.css index b2b5dc2f4..67c6b549c 100644 --- a/tt-rss.css +++ b/tt-rss.css @@ -402,3 +402,7 @@ pre { #qafInput { width : 300px; } + +input.extSearch { + width : 200px; +} diff --git a/tt-rss.js b/tt-rss.js index 637895dc9..bbd7b6955 100644 --- a/tt-rss.js +++ b/tt-rss.js @@ -201,6 +201,9 @@ function viewCurrentFeed(skip, subop) { if (getActiveFeedId()) { viewfeed(getActiveFeedId(), skip, subop); + } else { + disableContainerChildren("headlinesToolbar", false, document); + viewfeed(-1, skip, subop); // FIXME } } @@ -428,10 +431,15 @@ function quickMenuGo() { var opname = chooser[chooser.selectedIndex].text; - if (opname.match("Preferences")) { + if (opname == "Preferences") { gotoPreferences(); } + if (opname == "Extended search") { + displayDlg("search"); + return; + } + if (opname.match("Add new feed")) { displayDlg("quickAddFeed"); return; @@ -448,7 +456,6 @@ function quickMenuGo() { displayDlg("quickDelFeed", actid); return; } - } function qafAdd() { @@ -505,5 +512,6 @@ function qfdDelete(feed_id) { xmlhttp.open("GET", "backend.php?op=pref-feeds&subop=remove&ids=" + feed_id); xmlhttp.onreadystatechange=dlg_frefresh_callback; xmlhttp.send(null); - } + + diff --git a/tt-rss.php b/tt-rss.php index 52863c145..e4e9ec5ef 100644 --- a/tt-rss.php +++ b/tt-rss.php @@ -76,9 +76,6 @@ -
- -  View: +   + + View: