feed editor: truncate linked-to feed title

This commit is contained in:
Andrew Dolgov 2009-10-09 13:25:58 +04:00
parent 78935092b5
commit a6c78e0a65

View file

@ -224,8 +224,11 @@
} else {
$is_selected = "";
}
$title = truncate_string(htmlspecialchars($tmp_line["title"]), 40);
printf("<option $is_selected value='%d'>%s</option>",
$tmp_line["id"], $tmp_line["title"]);
$tmp_line["id"], $title);
}
print "</select>";