pref-feeds: do not truncate title now that we have more space

This commit is contained in:
Andrew Dolgov 2007-04-26 07:33:24 +01:00
parent 7d7e050970
commit 8db8faa565

View file

@ -853,7 +853,6 @@
$cat_id = $line["cat_id"];
$edit_title = htmlspecialchars(db_unescape_string($line["title"]));
$edit_link = htmlspecialchars(db_unescape_string($line["feed_url"]));
$edit_cat = htmlspecialchars(db_unescape_string($line["category"]));
$hidden = sql_bool_to_bool($line["hidden"]);
@ -921,12 +920,8 @@
print "<td class='feedIcon'>$feed_icon</td>";
}
$edit_title = truncate_string($edit_title, 40);
$edit_link = truncate_string($edit_link, 60);
if ($hidden) {
$edit_title = "<span class=\"insensitive\">$edit_title (Hidden)</span>";
$edit_link = "<span class=\"insensitive\">$edit_link</span>";
$last_updated = "<span class=\"insensitive\">$last_updated</span>";
$last_article = "<span class=\"insensitive\">$last_article</span>";
}