feed editor: show last update error near URL

This commit is contained in:
Andrew Dolgov 2011-04-08 15:45:39 +04:00
parent e57e73ef29
commit 50b284b196
1 changed files with 8 additions and 0 deletions

View File

@ -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')) {