subtoolbar: layout fix, shorten max feed title length

This commit is contained in:
Andrew Dolgov 2014-02-02 19:56:51 +04:00
parent 6e93e96d11
commit 66684d8149
1 changed files with 3 additions and 3 deletions

View File

@ -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