diff options
author | Andrew Dolgov <[email protected]> | 2006-03-22 08:41:20 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2006-03-22 08:41:20 +0100 |
commit | 9323147e6ee53a41477edad573ff4237b20e5b19 (patch) | |
tree | 355c9f5e43ebe26a5b45b6a3619cd0304454da72 /backend.php | |
parent | befc807f838f69f73fd07282ba389784fac499ab (diff) |
feedlist display fixes for RTL
Diffstat (limited to 'backend.php')
-rw-r--r-- | backend.php | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/backend.php b/backend.php index 4d333cbce..88de4e3c0 100644 --- a/backend.php +++ b/backend.php @@ -524,6 +524,14 @@ $total = $line["total"]; $unread = $line["unread"]; + $rtl_content = sql_bool_to_bool($line["rtl_content"]); + + if ($rtl_content) { + $rtl_tag = "dir=\"RTL\""; + } else { + $rtl_tag = ""; + } + $tmp_result = db_query($link, "SELECT id,COUNT(unread) AS unread FROM ttrss_feeds LEFT JOIN ttrss_user_entries @@ -614,7 +622,7 @@ } printFeedEntry($feed_id, $class, $feed, $unread, - "icons/$feed_id.ico", $link); + "icons/$feed_id.ico", $link, $rtl_content); ++$lnum; } @@ -2849,6 +2857,10 @@ print "</select> "; +/* print "<input type=\"submit\" + class=\"button\" onclick=\"javascript:testFilter()\" + value=\"Test filter\"> "; */ + print "<input type=\"submit\" class=\"button\" onclick=\"javascript:addFilter()\" value=\"Add filter\">"; |