subtoolbar: layout fix, shorten max feed title length

master
Andrew Dolgov 11 years ago
parent 6e93e96d11
commit 66684d8149

@ -62,15 +62,13 @@ class Feeds extends Handler_Protected {
# $reply .= "<span>";
$reply .= "<span id='feed_title' class='$error_class'>";
$reply .= "</span>";
if ($feed_site_url) {
$last_updated = T_sprintf("Last updated: %s",
$feed_last_updated);
$target = "target=\"_blank\"";
$reply .= "<a title=\"$last_updated\" $target href=\"$feed_site_url\">".
truncate_string($feed_title,30)."</a>";
truncate_string($feed_title, 20)."</a>";
if ($error) {
$error = htmlspecialchars($error);
@ -83,6 +81,8 @@ class Feeds extends Handler_Protected {
$reply .= "</span>";
$reply .= "</span>";
# $reply .= "</span>";
// left part

Loading…
Cancel
Save