]> git.wh0rd.org Git - tt-rss.git/commitdiff
article display fixes for RTL (2)
authorAndrew Dolgov <fox@madoka.spb.ru>
Thu, 23 Mar 2006 07:24:06 +0000 (08:24 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Thu, 23 Mar 2006 07:24:06 +0000 (08:24 +0100)
backend.php
tt-rss.css

index 7cc77c64fd66136a65fa2dcc04ebed4e34a26caa..fef7e9d611183b5379d9e3da9402442478b0f438 100644 (file)
 
                if ($rtl_content) {
                        $rtl_tag = "dir=\"RTL\"";
+                       $rtl_class = "RTL";
                } else {
                        $rtl_tag = "";
+                       $rtl_class = "";
                }
 
                $result = db_query($link, "UPDATE ttrss_user_entries 
                        $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>";
 
index 35434ab5a11d41f409a0e8764a33531b97e22459..b04f02eeb2b0fafec85548db4d22984b568140ca 100644 (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;
 }