]> git.wh0rd.org Git - tt-rss.git/commitdiff
truncate feed title length in vfeeds
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 27 Mar 2013 10:20:11 +0000 (14:20 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 27 Mar 2013 10:20:11 +0000 (14:20 +0400)
classes/feeds.php

index 2aa567fcd1e9e93a999e5f3c15e26c5b2bdc61b9..f38e621f734317808e970529544b6c10bbee47f6 100644 (file)
@@ -456,7 +456,7 @@ class Feeds extends Handler_Protected {
                                                if (@$line["feed_title"]) {
                                                        $reply['content'] .= "<div class=\"hlFeed\">
                                                                <a href=\"#\" onclick=\"viewfeed($feed_id)\">".
-                                                               $line["feed_title"]."</a>
+                                                               truncate_string($line["feed_title"],30)."</a>
                                                        </div>";
                                                }
                                        }
@@ -565,7 +565,7 @@ class Feeds extends Handler_Protected {
                                                if (@$line["feed_title"]) {
                                                        $reply['content'] .= "<div class=\"hlFeed\">
                                                                <a href=\"#\" onclick=\"viewfeed($feed_id)\">".
-                                                               $line["feed_title"]."</a>
+                                                               truncate_string($line["feed_title"],30)."</a>
                                                        </div>";
                                                }
                                        }