truncate feed title in subtoolbar, vfeed display

This commit is contained in:
Andrew Dolgov 2007-08-22 05:52:46 +01:00
parent 8be83f424a
commit 028155556b
1 changed files with 3 additions and 2 deletions

View File

@ -3255,7 +3255,8 @@
if (!$bottom) { if (!$bottom) {
$target = "target=\"_new\""; $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 { } else {
print $feed_title; print $feed_title;
} }
@ -4131,7 +4132,7 @@
print "<td class='hlContent'>$content_link</td>"; print "<td class='hlContent'>$content_link</td>";
print "<td class='hlFeed'> print "<td class='hlFeed'>
<a href=\"javascript:viewfeed($feed_id, '', false)\">". <a href=\"javascript:viewfeed($feed_id, '', false)\">".
$line["feed_title"]."</a>&nbsp;</td>"; truncate_string($line["feed_title"],30)."</a>&nbsp;</td>";
} else { } else {
print "<td class='hlContent' valign='middle'>"; print "<td class='hlContent' valign='middle'>";