diff options
author | Andrew Dolgov <[email protected]> | 2007-08-22 05:52:46 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2007-08-22 05:52:46 +0100 |
commit | 028155556b7c28f234f51a0d749425d0e2548022 (patch) | |
tree | ca238b7dc51d1d95572843b5486d75c80334baeb /functions.php | |
parent | 8be83f424aafbcb652ae26354e3725f8f10b55d7 (diff) |
truncate feed title in subtoolbar, vfeed display
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/functions.php b/functions.php index d9ae31ab7..8a8601761 100644 --- a/functions.php +++ b/functions.php @@ -3255,7 +3255,8 @@ if (!$bottom) { $target = "target=\"_new\""; } - print "<a $target href=\"$feed_site_url\">$feed_title</a>"; + print "<a $target href=\"$feed_site_url\">". + truncate_string($feed_title,30)."</a>"; } else { print $feed_title; } @@ -4131,7 +4132,7 @@ print "<td class='hlContent'>$content_link</td>"; print "<td class='hlFeed'> <a href=\"javascript:viewfeed($feed_id, '', false)\">". - $line["feed_title"]."</a> </td>"; + truncate_string($line["feed_title"],30)."</a> </td>"; } else { print "<td class='hlContent' valign='middle'>"; |