From 78d5212c0a3225b6fae106fee13e22c5b3e8fb46 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 6 Jun 2006 07:51:00 +0100 Subject: optionally show last update time in feedlist (EXTENDED_FEEDLIST) (closes #55) --- functions.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'functions.php') diff --git a/functions.php b/functions.php index 6bcebe598..6de5c9eda 100644 --- a/functions.php +++ b/functions.php @@ -737,8 +737,11 @@ $rtl_tag = "dir=\"ltr\""; } + $error_notify_msg = ""; + if ($last_error) { $link_title = "Error: $last_error ($last_updated)"; + $error_notify_msg = "(Error)"; } else if ($last_updated) { $link_title = "Updated: $last_updated"; } @@ -760,7 +763,12 @@ print " ($unread)"; - + + if (get_pref($link, "EXTENDED_FEEDLIST")) { + print "
+ $last_updated $error_notify_msg
"; + } + print ""; } -- cgit v1.2.3