summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-04-08 15:45:39 +0400
committerAndrew Dolgov <[email protected]>2011-04-08 15:45:39 +0400
commit50b284b19665329fe7f81876105705db4a2e6340 (patch)
tree2285e0582998a4ab2d7e3ebc6303d86b7c985a92 /modules
parente57e73ef29e050fd33223b009397c5d6c13d38e9 (diff)
feed editor: show last update error near URL
Diffstat (limited to 'modules')
-rw-r--r--modules/pref-feeds.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php
index 48ad88e53..c95e039cd 100644
--- a/modules/pref-feeds.php
+++ b/modules/pref-feeds.php
@@ -299,6 +299,14 @@
regExp='^(http|https)://.*' style=\"width : 20em\"
name=\"feed_url\" value=\"$feed_url\">";
+ $last_error = db_fetch_result($result, 0, "last_error");
+
+ if ($last_error) {
+ print "&nbsp;<span title=\"".htmlspecialchars($last_error)."\"
+ class=\"feed_error\">(error)</span>";
+
+ }
+
/* Category */
if (get_pref($link, 'ENABLE_FEED_CATS')) {