From ff284aa0b824cd294f8806ce193b37b7e6009163 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 12 May 2008 09:26:29 +0100 Subject: [PATCH] compat theme: properly reflow container height --- functions.js | 8 ++++ functions.php | 85 ++--------------------------------------- themes/compat/theme.css | 7 +++- tt-rss.js | 5 +++ 4 files changed, 23 insertions(+), 82 deletions(-) diff --git a/functions.js b/functions.js index 088b986e..5bb559a7 100644 --- a/functions.js +++ b/functions.js @@ -261,6 +261,14 @@ function hotkey_handler(e) { if (new_feed) viewfeed(new_feed, ''); } + if (shift_key && (keycode == 78 || keycode == 40)) { // shift - n, down + return catchupRelativeToArticle(1); + } + + if (shift_key && (keycode == 80 || keycode == 38)) { // shift - p, up + return catchupRelativeToArticle(0); + } + if (keycode == 78 || keycode == 40) { // n, down if (typeof moveToPost != 'undefined') { return moveToPost('next'); diff --git a/functions.php b/functions.php index cb07c987..1b92f944 100644 --- a/functions.php +++ b/functions.php @@ -3870,7 +3870,6 @@
  • ".__('Mark as read:')."
  •   ".__('Selection')."
  • "; - /* if (!get_pref($link, 'COMBINED_DISPLAY_MODE')) { print " @@ -3900,62 +3899,10 @@ } print ""; - -/* print " - "; - } - - if ($search && $feed_id >= 0 && get_pref($link, 'ENABLE_LABELS') && GLOBAL_ENABLE_LABELS) { - print " -
  •  
  • -
  • - - ".__('Convert to label').""; - } */ - - print ""; + print ""; } else { - // old style subtoolbar: + // old style subtoolbar: print "". __('Select:')." @@ -3983,34 +3930,10 @@ } } else { // dashboard menu actions - print " - "; - - print ""; - + // not implemented + print ""; } -/* if ($search && $feed_id >= 0 && get_pref($link, 'ENABLE_LABELS') && GLOBAL_ENABLE_LABELS) { - print " - - ".__('Convert to Label').""; -} */ - print ""; print "