diff options
| author | Andrew Dolgov <fox@bah.org.ru> | 2009-10-09 13:45:48 +0400 |
|---|---|---|
| committer | Andrew Dolgov <fox@bah.org.ru> | 2009-10-09 13:45:48 +0400 |
| commit | f69281f7ebb030429a724621570524d3d03902cb (patch) | |
| tree | d428a3caafcb3496ff535e9c03ec7cf39b1f9012 /modules/pref-feeds.php | |
| parent | 584d3e035f616fe89df2a019cdae7ae1eb505719 (diff) | |
| parent | 3af75631670aa9823010adedb8354672a8273506 (diff) | |
Merge branch 'master' of /home/fox/public_html/testbox/tt-rss
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>"; |