diff options
author | Andrew Dolgov <[email protected]> | 2007-01-19 10:38:16 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2007-01-19 10:38:16 +0100 |
commit | 203de776e0185414049441ef831063a5a198fd5b (patch) | |
tree | 4ac8f10afde2b54be0765ba369c03252ce58d47b /functions.php | |
parent | c1a0b534154e75829c8ae0fa08b1c659acff9b5f (diff) |
implement (disabled) support for page skipping in headline view
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 12 |
1 files changed, 10 insertions, 2 deletions
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 = "<a title=\"Previous Page\" href=\"javascript:viewFeedGoPage(-1)\"><<</a>"; +# } else { +# $prev_page_link = "<<"; +# } +# $r_offset = $offset + 1; +# $next_page_link = "[$r_offset] <a title=\"Next Page\" href=\"javascript:viewFeedGoPage(1)\">>></a>"; + if (!get_pref($link, 'COMBINED_DISPLAY_MODE')) { print "<td class=\"headlineActions$rtl_cpart\">". |