From fbc95c5b7055da76ae6f0ba373b686309859ddde Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 12 Nov 2010 22:17:57 +0300 Subject: [PATCH] truncate title in feedlist --- functions.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/functions.php b/functions.php index d60ec0ca..47991570 100644 --- a/functions.php +++ b/functions.php @@ -1696,6 +1696,8 @@ $link_title = "Updated: $last_updated"; } + $feed_title = truncate_string($feed_title, 30); + $feed = "$feed_title"; @@ -2872,7 +2874,7 @@ $cv["xmsg"] = getFeedArticles($link, $id)." ".__("total"); if ($active_feed && $id == $active_feed) - $cv["title"] = $line["title"]; + $cv["title"] = truncate_string($line["title"], 30); array_push($ret_arr, $cv); -- 2.39.5