article display fixes for RTL (2)

This commit is contained in:
Andrew Dolgov 2006-03-23 08:24:06 +01:00
parent 2ab29ac601
commit ed51e128fc
2 changed files with 9 additions and 1 deletions

View File

@ -946,8 +946,10 @@
if ($rtl_content) {
$rtl_tag = "dir=\"RTL\"";
$rtl_class = "RTL";
} else {
$rtl_tag = "";
$rtl_class = "";
}
$result = db_query($link, "UPDATE ttrss_user_entries
@ -1032,7 +1034,7 @@
$parsed_updated = date(get_pref($link, 'LONG_DATE_FORMAT'),
strtotime($line["updated"]));
print "<td class=\"postDate\">$parsed_updated</td>";
print "<td class=\"postDate$rtl_class\">$parsed_updated</td>";
print "</tr>";

View File

@ -840,6 +840,12 @@ div.postHeader td.postDate {
color : gray;
}
div.postHeader td.postDateRTL {
font-size : x-small;
text-align : left;
color : gray;
}
#feedUpdateErrors {
display : none;
}