summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-11-27 17:16:08 +0100
committerAndrew Dolgov <[email protected]>2005-11-27 17:16:08 +0100
commit2e85e07be866aca2b03ce07c3253e3868c4c7c63 (patch)
tree1f778eca765aebb743b9f09ef42a3edff0f6bba4 /backend.php
parent7acf5208a466b008d59368529a3ec7c325baed28 (diff)
fix preview display in headlines
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/backend.php b/backend.php
index 7f594f8b1..554026963 100644
--- a/backend.php
+++ b/backend.php
@@ -966,7 +966,7 @@
SUBSTRING(last_read,1,19) as last_read_noms,
$vfeed_query_part
SUBSTRING(updated,1,19) as updated_noms,
- SUBSTRING(content,1,101) as content_preview
+ content as content_preview
FROM
ttrss_entries,ttrss_user_entries
WHERE
@@ -990,7 +990,7 @@
SUBSTRING(last_read,1,19) as last_read_noms,
$vfeed_query_part
SUBSTRING(updated,1,19) as updated_noms,
- SUBSTRING(content,1,101) as content_preview
+ content
FROM
ttrss_entries,ttrss_user_entries,ttrss_tags
WHERE
@@ -1068,7 +1068,8 @@
print "<td class='hlContent'>$content_link";
if (get_pref($link, 'SHOW_CONTENT_PREVIEW')) {
$content_preview = truncate_string(strip_tags($line["content_preview"]),
- 100);
+ 101);
+
print "<span class=\"contentPreview\"> - $content_preview</span>";
}
print "</td>";