From 7a991cac30acd4cbf4cca474765250b186d5fde7 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 15 Nov 2005 11:18:01 +0100 Subject: option DISPLAY_FEEDLIST_ACTIONS, consolidate actions in one dropbox --- config.php-dist | 5 +++++ tt-rss.js | 16 ++++++++++++++++ tt-rss.php | 15 ++++++++++++--- 3 files changed, 33 insertions(+), 3 deletions(-) diff --git a/config.php-dist b/config.php-dist index 9d86bddb2..a879fddd4 100644 --- a/config.php-dist +++ b/config.php-dist @@ -61,5 +61,10 @@ // */30 * * * * /usr/bin/wget -O /dev/null -T 600 "http://username:password@www.your-site.xxx/tt-rss/backend.php?op=rpc&subop=updateAllFeeds&daemon=1" // + define(DISPLAY_FEEDLIST_ACTIONS, false); + // display actions dropbox in feedlist, if disabled these actions are + // available in the global actions dropbox + + ?> diff --git a/tt-rss.js b/tt-rss.js index 0fb61a117..1e8b2454c 100644 --- a/tt-rss.js +++ b/tt-rss.js @@ -467,6 +467,22 @@ function quickMenuGo() { displayDlg("quickDelFeed", actid); return; } + + if (opname.match("Update")) { + scheduleFeedUpdate(true); + return; + } + + if (opname.match("Mark as read")) { + catchupAllFeeds(); + return; + } + + if (opname.match("Toggle display read")) { + toggleDispRead(); + return; + } + } function qafAdd() { diff --git a/tt-rss.php b/tt-rss.php index 34639c64f..8a2154957 100644 --- a/tt-rss.php +++ b/tt-rss.php @@ -61,7 +61,9 @@ - + + +
All feeds: - - + + + + + + + -- cgit v1.2.3