truncate title in feedlist
This commit is contained in:
parent
af32a59aef
commit
fbc95c5b70
1 changed files with 3 additions and 1 deletions
|
@ -1696,6 +1696,8 @@
|
||||||
$link_title = "Updated: $last_updated";
|
$link_title = "Updated: $last_updated";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$feed_title = truncate_string($feed_title, 30);
|
||||||
|
|
||||||
$feed = "<span class='feedlink' title=\"$link_title\" id=\"FEEDL-$feed_id\" href=\"#\"
|
$feed = "<span class='feedlink' title=\"$link_title\" id=\"FEEDL-$feed_id\" href=\"#\"
|
||||||
onclick=\"viewfeed('$feed_id');\">$feed_title</span>";
|
onclick=\"viewfeed('$feed_id');\">$feed_title</span>";
|
||||||
|
|
||||||
|
@ -2872,7 +2874,7 @@
|
||||||
$cv["xmsg"] = getFeedArticles($link, $id)." ".__("total");
|
$cv["xmsg"] = getFeedArticles($link, $id)." ".__("total");
|
||||||
|
|
||||||
if ($active_feed && $id == $active_feed)
|
if ($active_feed && $id == $active_feed)
|
||||||
$cv["title"] = $line["title"];
|
$cv["title"] = truncate_string($line["title"], 30);
|
||||||
|
|
||||||
array_push($ret_arr, $cv);
|
array_push($ret_arr, $cv);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue