]> git.wh0rd.org Git - tt-rss.git/commitdiff
allow selecting headlines in normal mode by clicking on hlContent or hlUpdated td
authorAndrew Dolgov <fox@bah.spb.su>
Fri, 16 May 2008 12:28:11 +0000 (13:28 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Fri, 16 May 2008 12:28:11 +0000 (13:28 +0100)
functions.php

index ac949dd497e122988226ef85b07e959950f75d72..6e6903d17c8cea81864f076c3e00a05c4399d002 100644 (file)
 #                                                              truncate_string($line["feed_title"],30)."</a>&nbsp;</td>";
 #                                      } else {                        
 
-                                       print "<td class='hlContent$hlc_suffix' valign='middle'>";
+                                       print "<td onclick='javascript:view($id,$feed_id)' class='hlContent$hlc_suffix' valign='middle'>";
 
                                        print "<a id=\"RTITLE-$id\" href=\"javascript:view($id,$feed_id);\">" .
                                                $line["title"];
                                        
 #                                      }
                                        
-                                       print "<td class=\"hlUpdated\"><nobr>$updated_fmt&nbsp;</nobr></td>";
+                                       print "<td class=\"hlUpdated\" onclick='javascript:view($id,$feed_id)'><nobr>$updated_fmt&nbsp;</nobr></td>";
 
                                        print "<td class='hlMarkedPic'>$score_pic</td>";