1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-05 01:09:15 +00:00

add updated view mode

This commit is contained in:
Andrew Dolgov
2009-01-19 04:52:33 +01:00
parent d2b1c99be6
commit 8b09eac8ab
2 changed files with 9 additions and 1 deletions

View File

@@ -3143,7 +3143,11 @@
if ($view_mode == "unread") {
$view_query_part = " unread = true AND ";
}
if ($view_mode == "updated") {
$view_query_part = " (last_read is null and unread = false) AND ";
}
if ($limit > 0) {
$limit_query_part = "LIMIT " . $limit;
}
@@ -5437,6 +5441,9 @@
case "unread":
$message = __("No unread articles found to display.");
break;
case "updated":
$message = __("No updated articles found to display.");
break;
case "marked":
$message = __("No starred articles found to display.");
break;