]> git.wh0rd.org Git - tt-rss.git/commitdiff
tweak display of multi-feed headlines
authorAndrew Dolgov <fox@madoka.spb.ru>
Fri, 24 Aug 2007 06:39:57 +0000 (07:39 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Fri, 24 Aug 2007 06:39:57 +0000 (07:39 +0100)
functions.php
tt-rss.css

index 40abd41329128e9089fbdbd205c163561f00a27a..518239ea326120e5d6a43cc35823565874f9849a 100644 (file)
                                        print "<td class='hlMarkedPic'>$marked_pic</td>";
                                        print "<td class='hlMarkedPic'>$published_pic</td>";
 
-                                       if ($line["feed_title"]) {                      
-                                               print "<td class='hlContent'>$content_link</td>";
-                                               print "<td class='hlFeed'>
-                                                       <a href=\"javascript:viewfeed($feed_id, '', false)\">".
-                                                               truncate_string($line["feed_title"],30)."</a>&nbsp;</td>";
-                                       } else {                        
-                                               print "<td class='hlContent' valign='middle'>";
-
-                                               print "<a href=\"javascript:view($id,$feed_id);\">" .
-                                                       $line["title"];
-
-                                               if (get_pref($link, 'SHOW_CONTENT_PREVIEW')) {
-                                                       if ($content_preview) {
-                                                               print "<span class=\"contentPreview\"> - $content_preview</span>";
-                                                       }
+#                                      if ($line["feed_title"]) {                      
+#                                              print "<td class='hlContent'>$content_link</td>";
+#                                              print "<td class='hlFeed'>
+#                                                      <a href=\"javascript:viewfeed($feed_id, '', false)\">".
+#                                                              truncate_string($line["feed_title"],30)."</a>&nbsp;</td>";
+#                                      } else {                        
+
+                                       print "<td class='hlContent' valign='middle'>";
+
+                                       print "<a href=\"javascript:view($id,$feed_id);\">" .
+                                               $line["title"];
+
+                                       if (get_pref($link, 'SHOW_CONTENT_PREVIEW')) {
+                                               if ($content_preview) {
+                                                       print "<span class=\"contentPreview\"> - $content_preview</span>";
                                                }
-               
-                                               print "</a>";
-                                               print "</td>";
                                        }
+
+                                       print "</a>";
+
+#                                                      <a href=\"javascript:viewfeed($feed_id, '', false)\">".
+#                                                      $line["feed_title"]."</a>       
+
+                                       if ($line["feed_title"]) {                      
+                                               print "<span class=\"hlFeed\">
+                                                       (<a href=\"javascript:viewfeed($feed_id, '', false)\">".
+                                                       $line["feed_title"]."</a>)
+                                               </span>";
+                                       }
+
+
+                                       print "</td>";
+                                       
+#                                      }
                                        
                                        print "<td class=\"hlUpdated\"><nobr>$updated_fmt&nbsp;</nobr></td>";
                
index ba1d4070ee8a0b9cb6f783f64ea4a5c7ecd4570e..d02ca4f081c2df314f0af19e13ed80ac3458c1ce 100644 (file)
@@ -847,6 +847,15 @@ td.hlFeed {
        text-align : right;
 }
 
+span.hlFeed, span.hlFeed a {
+       font-size : 9pt;
+       color : gray;
+}
+
+span.hlFeed a:hover {
+       color : #4684ff;
+}
+
 /* div.cdmArticle:hover {
        background-color : white;
 } */