summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-11-12 22:17:57 +0300
committerAndrew Dolgov <[email protected]>2010-11-12 22:17:57 +0300
commitfbc95c5b7055da76ae6f0ba373b686309859ddde (patch)
tree41db3fd3d55cc03fc6deb6b50df8263affe39142 /functions.php
parentaf32a59aefc17d1c88dfc9a18fa2e5382da2784a (diff)
truncate title in feedlist
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index d60ec0ca8..479915700 100644
--- a/functions.php
+++ b/functions.php
@@ -1696,6 +1696,8 @@
$link_title = "Updated: $last_updated";
}
+ $feed_title = truncate_string($feed_title, 30);
+
$feed = "<span class='feedlink' title=\"$link_title\" id=\"FEEDL-$feed_id\" href=\"#\"
onclick=\"viewfeed('$feed_id');\">$feed_title</span>";
@@ -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);