From 203de776e0185414049441ef831063a5a198fd5b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 19 Jan 2007 10:38:16 +0100 Subject: implement (disabled) support for page skipping in headline view --- functions.php | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'functions.php') diff --git a/functions.php b/functions.php index bbcfdce36..3811a9a19 100644 --- a/functions.php +++ b/functions.php @@ -2371,7 +2371,7 @@ } $content_query_part = "content as content_preview,"; - + $query = "SELECT guid, ttrss_entries.id,ttrss_entries.title, @@ -2694,7 +2694,7 @@ function print_headline_subtoolbar($link, $feed_site_url, $feed_title, $bottom = false, $rtl_content = false, $feed_id = 0, $is_cat = false, $search = false, $match_on = false, - $search_mode = false) { + $search_mode = false, $offset = 0) { if (!$bottom) { $class = "headlinesSubToolbar"; @@ -2713,6 +2713,14 @@ $rtl_cpart = ""; } +# if ($offset > 0) { +# $prev_page_link = "<<"; +# } else { +# $prev_page_link = "<<"; +# } +# $r_offset = $offset + 1; +# $next_page_link = "[$r_offset] >>"; + if (!get_pref($link, 'COMBINED_DISPLAY_MODE')) { print "". -- cgit v1.2.3