diff --git a/functions.php b/functions.php
index d4d6ba5fd..7a19a79a7 100644
--- a/functions.php
+++ b/functions.php
@@ -2721,46 +2721,63 @@
# $r_offset = $offset + 1;
# $next_page_link = "[$r_offset] >>";
+ $catchup_page_link = "catchupPage()";
+ $catchup_feed_link = "catchupCurrentFeed()";
+
if (!get_pref($link, 'COMBINED_DISPLAY_MODE')) {
- print "
".
- _('Select:')."
- All,
- Unread,
- None
- ".
- _('Toggle:')." Unread,
- Starred
- ".
- _('Mark as read:')."
- Page,
- Feed";
- print " | ";
+ $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)";
- if ($search && $feed_id >= 0 && get_pref($link, 'ENABLE_LABELS') && GLOBAL_ENABLE_LABELS) {
- print "
-
- "._('Convert to Label')." | ";
- }
+ $tog_unread_link = "javascript:selectionToggleUnread()";
+ $tog_marked_link = "javascript:selectionToggleMarked()";
} else {
- print "".
- _('Select:')."
- "._('All').",
- "._('Unread').",
- "._('None')."
- ".
- _('Toggle:')." "._('Unread').",
- "._('Starred')."
- ".
- _('Mark as read:').
- ""._('Page').",
- "._('Feed')."";
-
- print " | ";
+ $sel_all_link = "javascript:cdmSelectArticles('all')";
+ $sel_unread_link = "javascript:cdmSelectArticles('unread')";
+ $sel_none_link = "javascript:cdmSelectArticles('none')";
+ $tog_unread_link = "javascript:selectionToggleUnread(true)";
+ $tog_marked_link = "javascript:selectionToggleMarked(true)";
+
+ }
+
+/* print "
+
+ | "; */
+
+ print "".
+ _('Select:')."
+ All,
+ Unread,
+ None
+ ".
+ _('Toggle:')." Unread,
+ Starred
+ ".
+ _('Mark as read:')."
+ Page,
+ Feed";
+ print " | ";
+
+ if ($search && $feed_id >= 0 && get_pref($link, 'ENABLE_LABELS') && GLOBAL_ENABLE_LABELS) {
+ print "
+
+ "._('Convert to Label')." | ";
}
print "";
diff --git a/tt-rss.css b/tt-rss.css
index 3f40fb619..c005ed83e 100644
--- a/tt-rss.css
+++ b/tt-rss.css
@@ -1343,3 +1343,50 @@ a.feedUpdErrLink {
.catCtrNoUnread {
display : none;
}
+
+ul.headlineDropdownMenu {
+ list-style-type : none;
+ margin : 0px;
+ padding : 0px;
+}
+
+ul.headlineDropdownMenu li.top {
+ float : left;
+ width : 130px;
+ background-image : url("images/down_arrow.png");
+ background-position : center right;
+ background-repeat : no-repeat;
+ margin-right : 10px;
+ cursor : pointer;
+}
+
+ul.headlineDropdownMenu li.top:hover {
+ color : black;
+ cursor : pointer;
+}
+
+ul.headlineDropdownMenu li.top:hover ul {
+ display : block;
+}
+
+ul.headlineDropdownMenu ul {
+ list-style-type : none;
+ position : absolute;
+ float : none;
+ margin : 0px;
+ padding : 0px;
+ display : none;
+ background-color : white;
+ border-width : 0px 1px 1px 1px;
+ border-color : #c0c0c0;
+ border-style : solid;
+ width : 130px;
+ z-index : 3;
+ top : auto;
+ left : auto;
+}
+
+ul.headlineDropdownMenu ul li {
+ float: none;
+ margin : 2px 2px 0px 2px;
+}
|