From c1c9df00e163463de0f6ee738fcf6f85be62f7af Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 22 Mar 2006 08:49:21 +0100 Subject: [PATCH] headline display fixes for RTL --- backend.php | 17 ++++++++++++----- tt-rss.css | 13 +++++++++++++ 2 files changed, 25 insertions(+), 5 deletions(-) diff --git a/backend.php b/backend.php index 88de4e3c..b49c0aaa 100644 --- a/backend.php +++ b/backend.php @@ -1550,7 +1550,7 @@ } function print_headline_subtoolbar($link, $feed_site_url, $feed_title, - $bottom = false) { + $bottom = false, $rtl_content = false) { if (!$bottom) { $class = "headlinesSubToolbar"; @@ -1563,9 +1563,15 @@ print ""; + if ($rtl_content) { + $rtl_cpart = "RTL"; + } else { + $rtl_cpart = ""; + } + if (!get_pref($link, 'COMBINED_DISPLAY_MODE')) { - print "
+ print " Select: All, Unread, @@ -1577,7 +1583,7 @@ } else { - print " + print " Select: All, Unread, @@ -1590,7 +1596,7 @@ } - print ""; + print ""; if ($feed_site_url) { if (!$bottom) { @@ -1608,7 +1614,8 @@ if (db_num_rows($result) > 0) { - print_headline_subtoolbar($link, $feed_site_url, $feed_title); + print_headline_subtoolbar($link, $feed_site_url, $feed_title, false, + $rtl_content); if (!get_pref($link, 'COMBINED_DISPLAY_MODE')) { print "