From: Andrew Dolgov Date: Fri, 12 Nov 2010 19:17:57 +0000 (+0300) Subject: truncate title in feedlist X-Git-Tag: 1.5.0~251 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=fbc95c5b7055da76ae6f0ba373b686309859ddde;p=tt-rss.git truncate title in feedlist --- 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);