change for HOOK_QUERY_HEADLINES. See example for details.
This commit is contained in:
parent
7171f32dc5
commit
0708046b4f
|
@ -363,13 +363,10 @@ class Feeds extends Handler_Protected {
|
||||||
$date_entered_fmt = T_sprintf("Imported at %s",
|
$date_entered_fmt = T_sprintf("Imported at %s",
|
||||||
make_local_datetime($line["date_entered"], false));
|
make_local_datetime($line["date_entered"], false));
|
||||||
|
|
||||||
# if (get_pref('SHOW_CONTENT_PREVIEW') ) {
|
|
||||||
# if(isset($line["modified_preview"]))
|
|
||||||
# $content_preview = strip_tags($line["content_preview"]);
|
|
||||||
# else
|
|
||||||
# $content_preview = truncate_string(strip_tags($line["content_preview"]),
|
|
||||||
# 250);
|
|
||||||
if (get_pref('SHOW_CONTENT_PREVIEW') ) {
|
if (get_pref('SHOW_CONTENT_PREVIEW') ) {
|
||||||
|
if(isset($line["modified_preview"]))
|
||||||
|
$content_preview = " — " . strip_tags($line["content_preview"]);
|
||||||
|
else
|
||||||
$content_preview = " — " . truncate_string(strip_tags($line["content_preview"]),
|
$content_preview = " — " . truncate_string(strip_tags($line["content_preview"]),
|
||||||
250);
|
250);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue