diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php
index c11ce2aa3..36ac7962e 100644
--- a/modules/pref-feeds.php
+++ b/modules/pref-feeds.php
@@ -838,10 +838,9 @@
}
print "
-
".__('Title')." |
- ".__('Feed')." |
- ".__('Last Article')." |
- ".__('Updated')." | ";
+ ".__('Title')." |
+ ".__('Last Article')." |
+ ".__('Updated')." | ";
}
$lnum = 0;
@@ -863,7 +862,9 @@
$last_updated = $line["last_updated"];
- if (get_pref($link, 'HEADLINES_SMART_DATE')) {
+ if (!$last_updated) {
+ $last_updated = "—";
+ } else if (get_pref($link, 'HEADLINES_SMART_DATE')) {
$last_updated = smart_date_time(strtotime($last_updated));
} else {
$short_date = get_pref($link, 'SHORT_DATE_FORMAT');
@@ -872,7 +873,9 @@
$last_article = $line["last_article"];
- if (get_pref($link, 'HEADLINES_SMART_DATE')) {
+ if (!$last_article) {
+ $last_article = "—";
+ } else if (get_pref($link, 'HEADLINES_SMART_DATE')) {
$last_article = smart_date_time(strtotime($last_article));
} else {
$short_date = get_pref($link, 'SHORT_DATE_FORMAT');
@@ -891,10 +894,9 @@
print " | ";
}
- print "".__('Title')." |
- ".__('Feed')." |
- ".__('Last Article')." |
- ".__('Updated')." | ";
+ print "".__('Title')." |
+ ".__('Last Article')." |
+ ".__('Updated')." | ";
$cur_cat_id = $cat_id;
}
@@ -937,11 +939,8 @@
print "" .
"$edit_title $parent_title" . " | ";
-
- print "" .
- $edit_link . " | ";
- print "" .
+ print " | " .
"$last_article | ";
print "" .
|