From a6c78e0a650817abbbf7ba276d7129a889b4836f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 9 Oct 2009 13:25:58 +0400 Subject: [PATCH] feed editor: truncate linked-to feed title --- modules/pref-feeds.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 "";