From e75d70b5a8851bc0f95f0eb3026328fd5c951ea2 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 18 Aug 2008 07:21:35 +0100 Subject: [PATCH] add link to invert headline/article selection (closes #216) --- functions.php | 4 ++++ viewfeed.js | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/functions.php b/functions.php index e245d53f..3c21eda8 100644 --- a/functions.php +++ b/functions.php @@ -3918,6 +3918,7 @@ $sel_all_link = "javascript:selectTableRowsByIdPrefix('headlinesList', 'RROW-', 'RCHK-', true, '', true)"; $sel_unread_link = "javascript:selectTableRowsByIdPrefix('headlinesList', 'RROW-', 'RCHK-', true, 'Unread', true)"; $sel_none_link = "javascript:selectTableRowsByIdPrefix('headlinesList', 'RROW-', 'RCHK-', false)"; + $sel_inv_link = "javascript:invertHeadlineSelection()"; $tog_unread_link = "javascript:selectionToggleUnread()"; $tog_marked_link = "javascript:selectionToggleMarked()"; @@ -3929,6 +3930,8 @@ $sel_unread_link = "javascript:cdmSelectArticles('unread')"; $sel_none_link = "javascript:cdmSelectArticles('none')"; + $sel_inv_link = "javascript:invertHeadlineSelection()"; + $tog_unread_link = "javascript:selectionToggleUnread(true)"; $tog_marked_link = "javascript:selectionToggleMarked(true)"; $tog_published_link = "javascript:selectionTogglePublished(true)"; @@ -3945,6 +3948,7 @@ ".__('Select:')." ".__('All').", ".__('Unread').", + ".__('Invert').", ".__('None')."
  •  
  • ".__('Actions...')."