]> git.wh0rd.org Git - tt-rss.git/commitdiff
truncate feed title in subtoolbar, vfeed display
authorAndrew Dolgov <fox@madoka.spb.ru>
Wed, 22 Aug 2007 04:52:46 +0000 (05:52 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Wed, 22 Aug 2007 04:52:46 +0000 (05:52 +0100)
functions.php

index d9ae31ab75928a27a6a7f145ad754b306d3ff2a9..8a86017619d52877865cc4bdc2ae3838310e26d7 100644 (file)
                                if (!$bottom) {
                                        $target = "target=\"_new\"";
                                }
-                               print "<a $target href=\"$feed_site_url\">$feed_title</a>";
+                               print "<a $target href=\"$feed_site_url\">".
+                                       truncate_string($feed_title,30)."</a>";
                        } else {
                                print $feed_title;
                        }
                                                print "<td class='hlContent'>$content_link</td>";
                                                print "<td class='hlFeed'>
                                                        <a href=\"javascript:viewfeed($feed_id, '', false)\">".
-                                                               $line["feed_title"]."</a>&nbsp;</td>";
+                                                               truncate_string($line["feed_title"],30)."</a>&nbsp;</td>";
                                        } else {                        
                                                print "<td class='hlContent' valign='middle'>";