From: Andrew Dolgov Date: Fri, 9 Oct 2009 09:25:58 +0000 (+0400) Subject: feed editor: truncate linked-to feed title X-Git-Tag: 1.3.4~14 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=a6c78e0a650817abbbf7ba276d7129a889b4836f;p=tt-rss.git feed editor: truncate linked-to feed title --- diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php index b0269243..6b510bc9 100644 --- a/modules/pref-feeds.php +++ b/modules/pref-feeds.php @@ -224,8 +224,11 @@ } else { $is_selected = ""; } + + $title = truncate_string(htmlspecialchars($tmp_line["title"]), 40); + printf("", - $tmp_line["id"], $tmp_line["title"]); + $tmp_line["id"], $title); } print "";