}
function print_headline_subtoolbar($link, $feed_site_url, $feed_title,
- $bottom = false) {
+ $bottom = false, $rtl_content = false) {
if (!$bottom) {
$class = "headlinesSubToolbar";
print "<table class=\"$class\" id=\"$tid\"
width=\"100%\" cellspacing=\"0\" cellpadding=\"0\"><tr>";
+ if ($rtl_content) {
+ $rtl_cpart = "RTL";
+ } else {
+ $rtl_cpart = "";
+ }
+
if (!get_pref($link, 'COMBINED_DISPLAY_MODE')) {
- print "<td class=\"headlineActions\">
+ print "<td class=\"headlineActions$rtl_cpart\">
Select:
<a href='#' onclick=\"javascript:selectTableRowsByIdPrefix('headlinesList', 'RROW-', 'RCHK-', true, '', true)\">All</a>,
<a href='#' onclick=\"javascript:selectTableRowsByIdPrefix('headlinesList', 'RROW-', 'RCHK-', true, 'Unread', true)\">Unread</a>,
} else {
- print "<td class=\"headlineActions\">
+ print "<td class=\"headlineActions$rtl_cpart\">
Select:
<a href=\"#\" onclick=\"javascript:cdmSelectArticles('all')\">All</a>,
<a href=\"#\" onclick=\"javascript:cdmSelectArticles('unread')\">Unread</a>,
}
- print "<td class=\"headlineTitle\">";
+ print "<td class=\"headlineTitle$rtl_cpart\">";
if ($feed_site_url) {
if (!$bottom) {
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 "<table class=\"headlinesList\" id=\"headlinesList\"
padding : 5px 0px 5px 5px;
}
+table.headlinesSubToolbar td.headlineActionsRTL {
+ font-size : x-small;
+ color : gray;
+ padding : 5px 5px 5px 0px;
+}
+
table.headlinesSubToolbar td.headlineTitle {
font-size : x-small;
color : gray;
text-align : right;
}
+table.headlinesSubToolbar td.headlineTitleRTL {
+ font-size : x-small;
+ color : gray;
+ padding : 5px 0px 5px 5px;
+ text-align : left;
+}
+
span.contentPreview {
font-size : x-small;
color : gray;