summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-08-22 05:52:46 +0100
committerAndrew Dolgov <[email protected]>2007-08-22 05:52:46 +0100
commit028155556b7c28f234f51a0d749425d0e2548022 (patch)
treeca238b7dc51d1d95572843b5486d75c80334baeb /functions.php
parent8be83f424aafbcb652ae26354e3725f8f10b55d7 (diff)
truncate feed title in subtoolbar, vfeed display
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php5
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>&nbsp;</td>";
+ truncate_string($line["feed_title"],30)."</a>&nbsp;</td>";
} else {
print "<td class='hlContent' valign='middle'>";