subtoolbar: layout fix, shorten max feed title length
This commit is contained in:
parent
6e93e96d11
commit
66684d8149
|
@ -62,15 +62,13 @@ class Feeds extends Handler_Protected {
|
||||||
# $reply .= "<span>";
|
# $reply .= "<span>";
|
||||||
$reply .= "<span id='feed_title' class='$error_class'>";
|
$reply .= "<span id='feed_title' class='$error_class'>";
|
||||||
|
|
||||||
$reply .= "</span>";
|
|
||||||
|
|
||||||
if ($feed_site_url) {
|
if ($feed_site_url) {
|
||||||
$last_updated = T_sprintf("Last updated: %s",
|
$last_updated = T_sprintf("Last updated: %s",
|
||||||
$feed_last_updated);
|
$feed_last_updated);
|
||||||
|
|
||||||
$target = "target=\"_blank\"";
|
$target = "target=\"_blank\"";
|
||||||
$reply .= "<a title=\"$last_updated\" $target href=\"$feed_site_url\">".
|
$reply .= "<a title=\"$last_updated\" $target href=\"$feed_site_url\">".
|
||||||
truncate_string($feed_title,30)."</a>";
|
truncate_string($feed_title, 20)."</a>";
|
||||||
|
|
||||||
if ($error) {
|
if ($error) {
|
||||||
$error = htmlspecialchars($error);
|
$error = htmlspecialchars($error);
|
||||||
|
@ -83,6 +81,8 @@ class Feeds extends Handler_Protected {
|
||||||
|
|
||||||
$reply .= "</span>";
|
$reply .= "</span>";
|
||||||
|
|
||||||
|
$reply .= "</span>";
|
||||||
|
|
||||||
# $reply .= "</span>";
|
# $reply .= "</span>";
|
||||||
|
|
||||||
// left part
|
// left part
|
||||||
|
|
Loading…
Reference in New Issue