diff options
author | Andrew Dolgov <[email protected]> | 2009-10-09 13:25:58 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2009-10-09 13:25:58 +0400 |
commit | a6c78e0a650817abbbf7ba276d7129a889b4836f (patch) | |
tree | 2d69196bd4666f1d55e578e6a153ad67f7a04c3f /modules/pref-feeds.php | |
parent | 78935092b540278e388749b7b0620fce62098fc9 (diff) |
feed editor: truncate linked-to feed title
Diffstat (limited to 'modules/pref-feeds.php')
-rw-r--r-- | modules/pref-feeds.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php index b0269243e..6b510bc9d 100644 --- a/modules/pref-feeds.php +++ b/modules/pref-feeds.php @@ -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>"; |