feed editor: truncate linked-to feed title
This commit is contained in:
parent
78935092b5
commit
a6c78e0a65
|
@ -224,8 +224,11 @@
|
||||||
} else {
|
} else {
|
||||||
$is_selected = "";
|
$is_selected = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$title = truncate_string(htmlspecialchars($tmp_line["title"]), 40);
|
||||||
|
|
||||||
printf("<option $is_selected value='%d'>%s</option>",
|
printf("<option $is_selected value='%d'>%s</option>",
|
||||||
$tmp_line["id"], $tmp_line["title"]);
|
$tmp_line["id"], $title);
|
||||||
}
|
}
|
||||||
|
|
||||||
print "</select>";
|
print "</select>";
|
||||||
|
|
Loading…
Reference in New Issue